Searched refs:tag (Results 1 - 25 of 168) sorted by relevance

1234567

/system/security/keystore/
H A Dkeystore_tags_utils.cpp27 template<TagType tag_type, Tag tag>
28 static TypedTag<tag_type, tag> chooseString(TypedTag<tag_type, tag> ttag, Tag runtime_tag,
30 if (tag == runtime_tag) {
31 *result = Tag2String<tag>::value();
35 static const char* stringify(Tag tag) { argument
36 const char* result = "unknown tag";
37 [] (Tags&&...) {}(chooseString(Tags(), tag, &result)...); local
42 const char* stringifyTag(Tag tag) { argument
43 return TagStringifier<all_tags_t>::stringify(tag);
[all...]
/system/bt/osi/include/
H A Dlog.h30 #define LOGWRAPPER(tag, fmt, args...) \
31 fprintf(stderr, "%s: " fmt "\n", tag, ##args)
46 * These log statements are effectively executing only ALOG(_________, tag, fmt,
53 #define LOG_VERBOSE(tag, fmt, args...) \
55 (true) ? ((int)0) : fprintf(stderr, "%s" fmt, tag, ##args); \
58 #define LOG_VERBOSE(tag, fmt, args...) \
60 (true) ? ALOG(LOG_VERBOSE, tag, fmt, ##args) \
61 : fprintf(stderr, "%s" fmt, tag, ##args); \
65 #define LOG_DEBUG(tag, fmt, args...) \
67 (true) ? ALOG(LOG_DEBUG, tag, fm
[all...]
/system/core/include/cutils/
H A Dklog.h40 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x)
41 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x)
42 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x)
43 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x)
44 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag "
[all...]
H A Dqtaguid.h33 extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid);
48 * Delete all tag info that relates to the given tag an uid.
49 * If the tag is 0, then ALL info about the uid is freeded.
56 extern int qtaguid_deleteTagData(int tag, uid_t uid);
H A Dtrace.h36 * following ATRACE_TAG_* macros. The trace tag is used to filter tracing in
51 #define ATRACE_TAG_NEVER 0 // This tag is never enabled.
52 #define ATRACE_TAG_ALWAYS (1<<0) // This tag is always enabled.
162 * Test if a given tag is currently enabled.
163 * Returns nonzero if the tag is enabled, otherwise zero.
167 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) argument
169 return atrace_get_enabled_tags() & tag;
177 static inline void atrace_begin(uint64_t tag, const char* name) argument
179 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) {
190 static inline void atrace_end(uint64_t tag) argument
207 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument
221 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
234 atrace_int(uint64_t tag, const char* name, int32_t value) argument
247 atrace_int64(uint64_t tag, const char* name, int64_t value) argument
[all...]
/system/core/libcutils/include/cutils/
H A Dklog.h40 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x)
41 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x)
42 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x)
43 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x)
44 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag "
[all...]
H A Dqtaguid.h33 extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid);
48 * Delete all tag info that relates to the given tag an uid.
49 * If the tag is 0, then ALL info about the uid is freeded.
56 extern int qtaguid_deleteTagData(int tag, uid_t uid);
H A Dtrace.h36 * following ATRACE_TAG_* macros. The trace tag is used to filter tracing in
51 #define ATRACE_TAG_NEVER 0 // This tag is never enabled.
52 #define ATRACE_TAG_ALWAYS (1<<0) // This tag is always enabled.
162 * Test if a given tag is currently enabled.
163 * Returns nonzero if the tag is enabled, otherwise zero.
167 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) argument
169 return atrace_get_enabled_tags() & tag;
177 static inline void atrace_begin(uint64_t tag, const char* name) argument
179 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) {
190 static inline void atrace_end(uint64_t tag) argument
207 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument
221 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
234 atrace_int(uint64_t tag, const char* name, int32_t value) argument
247 atrace_int64(uint64_t tag, const char* name, int64_t value) argument
[all...]
/system/core/libcutils/include_vndk/cutils/
H A Dklog.h40 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x)
41 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x)
42 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x)
43 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x)
44 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag "
[all...]
H A Dqtaguid.h33 extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid);
48 * Delete all tag info that relates to the given tag an uid.
49 * If the tag is 0, then ALL info about the uid is freeded.
56 extern int qtaguid_deleteTagData(int tag, uid_t uid);
H A Dtrace.h36 * following ATRACE_TAG_* macros. The trace tag is used to filter tracing in
51 #define ATRACE_TAG_NEVER 0 // This tag is never enabled.
52 #define ATRACE_TAG_ALWAYS (1<<0) // This tag is always enabled.
162 * Test if a given tag is currently enabled.
163 * Returns nonzero if the tag is enabled, otherwise zero.
167 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) argument
169 return atrace_get_enabled_tags() & tag;
177 static inline void atrace_begin(uint64_t tag, const char* name) argument
179 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) {
190 static inline void atrace_end(uint64_t tag) argument
207 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument
221 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
234 atrace_int(uint64_t tag, const char* name, int32_t value) argument
247 atrace_int64(uint64_t tag, const char* name, int64_t value) argument
[all...]
/system/core/include/log/
H A Dlog_safetynet.h29 #define android_errorWriteLog(tag, subTag) \
30 __android_log_error_write(tag, subTag, -1, NULL, 0)
32 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \
33 __android_log_error_write(tag, subTag, uid, data, dataLen)
35 int __android_log_error_write(int tag, const char* subTag, int32_t uid,
H A Dlog_main.h58 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text)
60 #define android_printLog(prio, tag, ...) \
61 __android_log_print(prio, tag, __VA_ARGS__)
63 #define android_vprintLog(prio, cond, tag, ...) \
64 __android_log_vprint(prio, tag, __VA_ARGS__)
70 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
77 #define LOG_PRI_VA(priority, tag, fmt, args) \
78 android_vprintLog(priority, NULL, tag, fm
[all...]
H A Devent_tag_map.h30 * Open the specified file as an event log tag map.
42 * Look up a tag by index. Returns the tag string, or NULL if not found.
44 const char* android_lookupEventTag(const EventTagMap* map, unsigned int tag)
50 * Look up a tag by index. Returns the tag string & string length, or NULL if
54 unsigned int tag);
61 unsigned int tag);
64 * Look up tagname, generate one if necessary, and return a tag
/system/core/liblog/include/log/
H A Dlog_safetynet.h29 #define android_errorWriteLog(tag, subTag) \
30 __android_log_error_write(tag, subTag, -1, NULL, 0)
32 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \
33 __android_log_error_write(tag, subTag, uid, data, dataLen)
35 int __android_log_error_write(int tag, const char* subTag, int32_t uid,
H A Dlog_main.h58 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text)
60 #define android_printLog(prio, tag, ...) \
61 __android_log_print(prio, tag, __VA_ARGS__)
63 #define android_vprintLog(prio, cond, tag, ...) \
64 __android_log_vprint(prio, tag, __VA_ARGS__)
70 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
77 #define LOG_PRI_VA(priority, tag, fmt, args) \
78 android_vprintLog(priority, NULL, tag, fm
[all...]
H A Devent_tag_map.h30 * Open the specified file as an event log tag map.
42 * Look up a tag by index. Returns the tag string, or NULL if not found.
44 const char* android_lookupEventTag(const EventTagMap* map, unsigned int tag)
50 * Look up a tag by index. Returns the tag string & string length, or NULL if
54 unsigned int tag);
61 unsigned int tag);
64 * Look up tagname, generate one if necessary, and return a tag
/system/core/liblog/include_vndk/log/
H A Dlog_safetynet.h29 #define android_errorWriteLog(tag, subTag) \
30 __android_log_error_write(tag, subTag, -1, NULL, 0)
32 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \
33 __android_log_error_write(tag, subTag, uid, data, dataLen)
35 int __android_log_error_write(int tag, const char* subTag, int32_t uid,
H A Dlog_main.h58 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text)
60 #define android_printLog(prio, tag, ...) \
61 __android_log_print(prio, tag, __VA_ARGS__)
63 #define android_vprintLog(prio, cond, tag, ...) \
64 __android_log_vprint(prio, tag, __VA_ARGS__)
70 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
77 #define LOG_PRI_VA(priority, tag, fmt, args) \
78 android_vprintLog(priority, NULL, tag, fm
[all...]
/system/media/camera/include/system/
H A Dcamera_vendor_tags.h56 * Get the vendor section name for a vendor-specified entry tag. This will
62 * This must return NULL if the tag is outside the bounds of
65 * There may be different vendor-defined tag sections, for example the
72 const char *(*get_section_name)(const vendor_tag_ops_t *v, uint32_t tag);
75 * Get the tag name for a vendor-specified entry tag. This is only called
77 * vendor-defined tag.
82 const char *(*get_tag_name)(const vendor_tag_ops_t *v, uint32_t tag);
85 * Get tag type for a vendor-specified entry tag
[all...]
/system/media/private/camera/include/
H A Dcamera_metadata_hidden.h38 * Set the global vendor tag operations object used to define vendor tag
46 * Set the global vendor tag cache operations object used to define vendor tag
69 * Retrieve the type of a tag. Returns -1 if no such tag is defined.
72 int get_local_camera_metadata_tag_type_vendor_id(uint32_t tag,
76 * Retrieve the name of a tag. Returns NULL if no such tag is defined.
79 const char *get_local_camera_metadata_tag_name_vendor_id(uint32_t tag,
[all...]
/system/nvram/messages/include/nvram/messages/
H A Dtagged_union.h20 // used as tag and the set of union member types a specified as template
101 template <uint64_t tag, typename Member>
103 static constexpr uint64_t kTag = tag;
128 // to |tag| via recursive expansion of the |Member| parameter list.
129 template <typename TagType, TagType tag, typename... Member>
133 TagType tag,
138 tag,
141 using Type = typename MemberForTag<TagType, tag, Tail...>::Type;
144 template <typename TagType, TagType tag, typename MemberType, typename... Tail>
146 tag,
[all...]
/system/media/camera/tests/
H A Dcamera_metadata_tests_fake_vendor.h113 uint32_t tag);
115 uint32_t tag);
117 uint32_t tag);
131 uint32_t tag) {
133 int tag_section = (tag >> 16) - VENDOR_SECTION;
141 uint32_t tag) {
143 int tag_section = (tag >> 16) - VENDOR_SECTION;
146 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL;
147 int tag_index = tag & 0xFFFF;
152 uint32_t tag) {
130 get_fakevendor_section_name(const vendor_tag_ops_t *v, uint32_t tag) argument
140 get_fakevendor_tag_name(const vendor_tag_ops_t *v, uint32_t tag) argument
151 get_fakevendor_tag_type(const vendor_tag_ops_t *v, uint32_t tag) argument
178 unsigned int start, end, tag; local
[all...]
/system/keymaster/include/keymaster/
H A Dauthorization_set.h186 * Returns the offset of the next entry that matches \p tag, starting from the element after \p
189 int find(keymaster_tag_t tag, int begin = -1) const;
218 * Returns true if the set contains at least one instance of \p tag
220 bool Contains(keymaster_tag_t tag) const {
221 return find(tag) != -1;
225 * Returns the number of \p tag entries.
227 size_t GetTagCount(keymaster_tag_t tag) const;
230 * Returns true if the set contains the specified tag and value.
233 bool Contains(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T val) const { argument
234 return ContainsEnumValue(tag, va
241 Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const argument
249 Contains(TypedTag<KM_UINT, Tag> tag, uint32_t val) const argument
258 GetTagValue(TypedTag<KM_UINT, T> tag, uint32_t* val) const argument
268 GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, uint32_t* val) const argument
277 GetTagValue(TypedTag<KM_ULONG, T> tag, uint64_t* val) const argument
287 GetTagValue(TypedTag<KM_ULONG_REP, Tag> tag, size_t instance, uint64_t* val) const argument
296 GetTagValue(TypedEnumTag<KM_ENUM, Tag, T> tag, T* val) const argument
306 GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, size_t instance, T* val) const argument
316 GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T* val) const argument
327 GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, typename TypedTag<KM_UINT_REP, Tag>::value_type* val) const argument
337 GetTagValue(TypedTag<KM_BYTES, Tag> tag, keymaster_blob_t* val) const argument
346 GetTagValue(TypedTag<KM_BIGNUM, Tag> tag, keymaster_blob_t* val) const argument
362 GetTagValue(TypedTag<Type, Tag> tag, typename TagValueType<Type>::value_type* val) const argument
386 push_back(TypedEnumTag<Type, Tag, KeymasterEnum> tag, KeymasterEnum val) argument
393 push_back(TypedTag<KM_BOOL, Tag> tag) argument
402 push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) argument
411 push_back(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) argument
420 push_back(TypedTag<KM_BIGNUM, Tag> tag, const void* bytes, size_t bytes_len) argument
425 push_back(TypedTag<Type, Tag> tag, typename TypedTag<Type, Tag>::value_type val) argument
430 push_back(TypedTag<Type, Tag> tag, const void* bytes, size_t bytes_len) argument
482 Authorization(TagType tag, ValueType value) argument
488 Authorization(TypedTag<KM_BOOL, Tag> tag) argument
494 Authorization(TypedTag<KM_INVALID, Tag> tag) argument
502 Authorization(TypedTag<KM_BYTES, Tag> tag, const uint8_t* data, size_t data_length) argument
509 Authorization(TypedTag<KM_BYTES, Tag> tag, const char* data, size_t data_length) argument
[all...]
H A Dkeymaster_tags.h25 * example, it's an error to create a keymaster_param_t with tag == KM_TAG_PURPOSE and then to
32 * TypedTag and TypedEnumTag. These classes are templated on a tag type and a tag value, and in the
34 * keymaster tag, associating the tag type with the tag, and an instance of each specialization is
35 * created, and named the same as the keymaster tag, but with the KM_ prefix omitted. Because the
40 * particular tag. This enables template functions to be written that check that the correct
41 * parameter type is used for a given tag, and that use the correct union entry for the tag typ
202 Authorization(TypedTag<KM_BOOL, Tag> tag) argument
207 Authorization(TypedTag<KM_UINT, Tag> tag, uint32_t value) argument
212 Authorization(TypedTag<KM_UINT_REP, Tag> tag, uint32_t value) argument
217 Authorization(TypedTag<KM_ULONG, Tag> tag, uint64_t value) argument
222 Authorization(TypedTag<KM_ULONG_REP, Tag> tag, uint64_t value) argument
227 Authorization(TypedTag<KM_DATE, Tag> tag, uint64_t value) argument
232 Authorization(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) argument
238 Authorization(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) argument
244 Authorization(TypedTag<KM_BIGNUM, Tag> tag, const void* bytes, size_t bytes_len) argument
250 Authorization(TypedTag<KM_BIGNUM, Tag> tag, const keymaster_blob_t& blob) argument
256 Authorization(TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, KeymasterEnum value) argument
262 Authorization(TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, KeymasterEnum value) argument
[all...]

Completed in 390 milliseconds

1234567