Searched defs:Tag (Results 1 - 1 of 1) sorted by relevance

/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dkeymaster_tags.h25 * authorizations. For example, it's an error to create a KeyParameter with tag == Tag::PURPOSE
31 * to which Tag. Central to this mechanism is the template TypedTag. It has zero size and binds a
32 * numeric Tag to a type that the compiler understands. By means of the macro DECLARE_TYPED_TAG,
76 constexpr TagType typeFromTag(Tag tag) {
81 * TypedTag is a templatized version of Tag, which provides compile-time checking of keymaster tag
82 * types. Instances are convertible to Tag, so they can be used wherever Tag is expected, and
86 template <TagType tag_type, Tag tag> struct TypedTag {
93 constexpr operator Tag() { return tag; }
99 template <Tag ta
[all...]

Completed in 34 milliseconds