/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | keymaster_tags.h | 227 template <TagType tag_type, Tag tag, typename ValueT> 228 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value) { 232 accessTagValue(ttag, param) = std::forward<ValueT>(value); 281 template <typename ValueT> 283 using internal_t = std::conditional_t<std::is_lvalue_reference<ValueT>::value, 284 std::remove_reference_t<ValueT>*, ValueT>; 290 static ValueT init() { return ValueT(); } 293 static ValueT& deref(ValueT& v) { return v; } 298 using initializer_t = std::conditional_t<std::is_lvalue_reference<ValueT>::value || 299 std::is_pointer<ValueT>::value, [all …]
|
D | key_param_output.h | 60 template <typename ValueT> 61 ::std::ostream& operator<<(::std::ostream& os, const NullOr<ValueT>& value) {
|
D | authorization_set.h | 168 template <TagType tag_type, Tag tag, typename ValueT> 169 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const { in Contains() 172 if (entry.isOk() && static_cast<ValueT>(entry.value()) == value) return true; in Contains()
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
D | confirmationui_utils.h | 39 template <typename ValueT> 60 NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {} in NullOr() 66 const ValueT& value() const & { return value_; } in value() 67 ValueT& value() & { return value_; } in value() 68 ValueT&& value() && { return std::move(value_); } in value() 70 const std::remove_reference_t<ValueT>* operator->() const { return &value_; } 71 std::remove_reference_t<ValueT>* operator->() { return &value_; } 74 ValueT value_;
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_tags.h | 228 template <TagType tag_type, Tag tag, typename ValueT> 229 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value) { 233 accessTagValue(ttag, param) = std::forward<ValueT>(value); 275 template <typename ValueT> class NullOr { 295 NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {} 296 NullOr(ValueT&& value) : value_(std::forward<ValueT>(value)), null_(false) {} 300 const ValueT& value() const & { return value_; } 301 ValueT& value() & { return value_; } 302 ValueT&& value() && { return std::move(value_); } 305 ValueT value_;
|
D | key_param_output.h | 28 template <typename ValueT> 29 ::std::ostream& operator<<(::std::ostream& os, const NullOr<ValueT>& value) {
|
D | attestation_record.cpp | 145 typedef typename TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag() typedef 148 ttag, static_cast<ValueT>(ASN1_INTEGER_get(sk_ASN1_INTEGER_value(stack, i)))); in copyAuthTag() 155 typedef typename TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag() typedef 157 auth_list->push_back(ttag, static_cast<ValueT>(ASN1_INTEGER_get(asn1_int))); in copyAuthTag()
|
D | authorization_set.h | 166 template <TagType tag_type, Tag tag, typename ValueT> 167 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const { in Contains() 170 if (entry.isOk() && static_cast<ValueT>(entry.value()) == value) return true; in Contains()
|
D | keymaster_hidl_hal_test.cpp | 189 template <TagType tag_type, Tag tag, typename ValueT> 190 bool contains(hidl_vec<KeyParameter>& set, TypedTag<tag_type, tag> ttag, ValueT expected_value) { in contains() 858 template <TagType tag_type, Tag tag, typename ValueT> 859 void CheckKm0CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm0CryptoParam() 870 template <TagType tag_type, Tag tag, typename ValueT> 871 void CheckKm1CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm1CryptoParam() 882 template <TagType tag_type, Tag tag, typename ValueT> 883 void CheckKm2CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm2CryptoParam()
|
/hardware/interfaces/keymaster/4.0/support/ |
D | attestation_record.cpp | 160 typedef typename TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag() typedef 163 ttag, static_cast<ValueT>(ASN1_INTEGER_get(sk_ASN1_INTEGER_value(stack, i)))); in copyAuthTag() 170 typedef typename TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag() typedef 172 auth_list->push_back(ttag, static_cast<ValueT>(ASN1_INTEGER_get(asn1_int))); in copyAuthTag()
|
/hardware/interfaces/keymaster/4.1/support/ |
D | attestation_record.cpp | 177 typedef typename V4_0::TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag() typedef 180 ttag, static_cast<ValueT>(ASN1_INTEGER_get(sk_ASN1_INTEGER_value(stack, i)))); in copyAuthTag() 187 typedef typename V4_0::TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag() typedef 189 auth_list->push_back(ttag, static_cast<ValueT>(ASN1_INTEGER_get(asn1_int))); in copyAuthTag()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 79 template <TagType tag_type, Tag tag, typename ValueT> 80 bool contains(hidl_vec<KeyParameter>& set, TypedTag<tag_type, tag> ttag, ValueT expected_value) { in contains() 1847 template <TagType tag_type, Tag tag, typename ValueT> 1848 void CheckCryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckCryptoParam()
|