Searched defs:TypedTag (Results 1 - 2 of 2) sorted by relevance
/system/keymaster/include/keymaster/ |
H A D | keymaster_tags.h | 32 * TypedTag and TypedEnumTag. These classes are templated on a tag type and a tag value, and in the 52 * For debugging purposes, one additional element of TypedTag and TypedEnumTag can be conditionally 93 * TypedTag is a templatized version of keymaster_tag_t, which provides compile-time checking of 98 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag> class TypedTag { class in namespace:keymaster 103 inline TypedTag(const char* name) : name_(name) { function in class:keymaster::TypedTag 105 inline TypedTag() { 107 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type 132 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type 147 // DEFINE_KEYMASTER_TAG is used to create TypedTag instances for each non-enum keymaster tag. 149 #define DEFINE_KEYMASTER_TAG(type, name) static TypedTag<typ [all...] |
H A D | authorization_set.h | 117 inline bool GetTagValue(TypedTag<KM_INT, T> tag, uint32_t* val) const { 127 bool GetTagValue(TypedTag<KM_INT_REP, Tag> tag, size_t instance, uint32_t* val) const { 136 inline bool GetTagValue(TypedTag<KM_LONG, T> tag, uint64_t* val) const { 164 bool GetTagValue(TypedTag<KM_INT_REP, Tag> tag, size_t instance, argument 165 typename TypedTag<KM_INT_REP, Tag>::value_type* val) const { 174 bool GetTagValue(TypedTag<KM_BYTES, Tag> tag, keymaster_blob_t* val) const { 183 bool GetTagValue(TypedTag<KM_BIGNUM, Tag> tag, keymaster_blob_t* val) const { 192 bool GetTagValue(TypedTag<Type, Tag> tag, typename TagValueType<Type>::value_type* val) const { 217 template <keymaster_tag_t Tag> bool push_back(TypedTag<KM_BOOL, Tag> tag) { 222 bool push_back(TypedTag<KM_BYTE 232 push_back(TypedTag<Type, Tag> tag, typename TypedTag<Type, Tag>::value_type val) argument [all...] |
Completed in 172 milliseconds