HomeSort by relevance Sort by last modified time
    Searched defs:TypedTag (Results 1 - 4 of 4) sorted by null

  /system/keymaster/include/keymaster/
keymaster_tags.h 32 * TypedTag and TypedEnumTag. These classes are templated on a tag type and a tag value, and in the
92 * TypedTag is a templatized version of keymaster_tag_t, which provides compile-time checking of
97 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag> class TypedTag {
101 inline TypedTag() {
102 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type
118 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type
132 // DECLARE_KEYMASTER_TAG is used to declare TypedTag instances for each non-enum keymaster tag.
133 #define DECLARE_KEYMASTER_TAG(type, name) extern TypedTag<type, KM_##name> name
203 inline keymaster_key_param_t Authorization(TypedTag<KM_BOOL, Tag> tag) {
208 inline keymaster_key_param_t Authorization(TypedTag<KM_UINT, Tag> tag, uint32_t value)
    [all...]
  /hardware/interfaces/keymaster/3.0/vts/functional/
keymaster_tags.h 31 * to which Tag. Central to this mechanism is the template TypedTag. It has zero size and binds a
81 * TypedTag is a templatized version of Tag, which provides compile-time checking of keymaster tag
86 template <TagType tag_type, Tag tag> struct TypedTag {
87 inline TypedTag() {
88 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type
99 template <Tag tag> struct Tag2TypedTag { typedef TypedTag<typeFromTag(tag), tag> type; };
181 template <Tag tag> struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \
185 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
190 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
229 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value)
    [all...]
  /hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
keymaster_tags.h 31 * to which Tag. Central to this mechanism is the template TypedTag. It has zero size and binds a
81 * TypedTag is a templatized version of Tag, which provides compile-time checking of
87 struct TypedTag {
88 inline TypedTag() {
89 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type
100 typedef TypedTag<typeFromTag(tag), tag> type;
173 struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \
177 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
182 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
221 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value)
    [all...]
  /system/keymaster/ng/include/
keymaster_tags.h 31 * to which Tag. Central to this mechanism is the template TypedTag. It has zero size and binds a
102 * TypedTag is a templatized version of Tag, which provides compile-time checking of
107 template <TagType tag_type, Tag tag> struct TypedTag {
108 inline TypedTag() {
109 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type
117 template <Tag tag> struct Tag2TypedTag { typedef TypedTag<typeFromTag(tag), tag> type; };
199 template <Tag tag> struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \
203 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
208 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
247 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value)
    [all...]

Completed in 113 milliseconds