/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 | 191 template <TagType tag_type, Tag tag, typename ValueT> 192 bool contains(hidl_vec<KeyParameter>& set, TypedTag<tag_type, tag> ttag, ValueT expected_value) { in contains() 876 template <TagType tag_type, Tag tag, typename ValueT> 877 void CheckKm0CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm0CryptoParam() 888 template <TagType tag_type, Tag tag, typename ValueT> 889 void CheckKm1CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm1CryptoParam() 900 template <TagType tag_type, Tag tag, typename ValueT> 901 void CheckKm2CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm2CryptoParam()
|
/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> 305 NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {} 306 NullOr(ValueT&& value) : value_(std::forward<ValueT>(value)), null_(false) {} 310 const ValueT& value() const & { return value_; } 311 ValueT& value() & { return value_; } 312 ValueT&& value() && { return std::move(value_); } 315 ValueT value_;
|
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/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.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 78 template <TagType tag_type, Tag tag, typename ValueT> 79 bool contains(hidl_vec<KeyParameter>& set, TypedTag<tag_type, tag> ttag, ValueT expected_value) { in contains() 1946 template <TagType tag_type, Tag tag, typename ValueT> 1947 void CheckCryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckCryptoParam()
|