Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/system/extras/libatrace_rust/bindgen/
Dcutils_trace_wrap.c19 void atrace_begin_wrap(uint64_t tag, const char* name) { in atrace_begin_wrap() argument
20 atrace_begin(tag, name); in atrace_begin_wrap()
23 void atrace_end_wrap(uint64_t tag) { in atrace_end_wrap() argument
24 atrace_end(tag); in atrace_end_wrap()
27 uint64_t atrace_is_tag_enabled_wrap(uint64_t tag) { in atrace_is_tag_enabled_wrap() argument
28 return atrace_is_tag_enabled(tag); in atrace_is_tag_enabled_wrap()
31 void atrace_async_begin_wrap(uint64_t tag, const char* name, int32_t cookie) { in atrace_async_begin_wrap() argument
32 atrace_async_begin(tag, name, cookie); in atrace_async_begin_wrap()
35 void atrace_async_end_wrap(uint64_t tag, const char* name, int32_t cookie) { in atrace_async_end_wrap() argument
36 atrace_async_end(tag, name, cookie); in atrace_async_end_wrap()
[all …]
Dcutils_trace_wrap.h24 void atrace_begin_wrap(uint64_t tag, const char* name);
25 void atrace_end_wrap(uint64_t tag);
26 uint64_t atrace_is_tag_enabled_wrap(uint64_t tag);
27 void atrace_async_begin_wrap(uint64_t tag, const char* name, int32_t cookie);
28 void atrace_async_end_wrap(uint64_t tag, const char* name, int32_t cookie);
29 void atrace_async_for_track_begin_wrap(uint64_t tag, const char* track_name, const char* name,
31 void atrace_async_for_track_end_wrap(uint64_t tag, const char* track_name, int32_t cookie);
32 void atrace_instant_wrap(uint64_t tag, const char* name);
33 void atrace_instant_for_track_wrap(uint64_t tag, const char* track_name, const char* name);
34 void atrace_int_wrap(uint64_t tag, const char* name, int32_t value);
[all …]
/system/logging/liblog/tests/
Dliblog_global_state.cpp34 auto LoggerFunction = [&](LogId log_id, LogSeverity severity, const char* tag, const char* file, in TEST()
39 EXPECT_STREQ(LOG_TAG, tag); in TEST()
67 EXPECT_STREQ(LOG_TAG, log_message->tag); in TEST()
85 auto LoggerFunction = [&](LogId log_id, LogSeverity severity, const char* tag, const char* file, in TEST()
90 EXPECT_STREQ(LOG_TAG, tag); in TEST()
118 EXPECT_STREQ(LOG_TAG, log_message->tag); in TEST()
157 std::string tag = LOG_TAG; in UniqueLogTag() local
158 tag += "-" + std::to_string(getpid()); in UniqueLogTag()
159 return tag; in UniqueLogTag()
163 auto tag = UniqueLogTag(); in TEST() local
[all …]
/system/tools/xsdc/src/main/java/com/android/xsdc/
DXsdHandler.java19 import com.android.xsdc.tag.*;
252 for (XsdTag tag : state.tags) { in makeSchema()
253 if (tag == null) continue; in makeSchema()
254 if (tag instanceof XsdElement) { in makeSchema()
255 elementMap.put(tag.getName(), (XsdElement) tag); in makeSchema()
256 } else if (tag instanceof XsdAttribute) { in makeSchema()
257 attrMap.put(tag.getName(), (XsdAttribute) tag); in makeSchema()
258 } else if (tag instanceof XsdAttributeGroup) { in makeSchema()
259 attrGroupMap.put(tag.getName(), (XsdAttributeGroup) tag); in makeSchema()
260 } else if (tag instanceof XsdType) { in makeSchema()
[all …]
/system/chre/util/include/chre/util/nanoapp/
Dlog.h49 #define CHRE_LOG_TAG(level, tag, fmt, ...) \ argument
53 tag " " fmt, __VA_ARGS__); \
62 #define CHRE_LOG_TAG(level, tag, fmt, ...) \ argument
65 chreLog(level, "%s " fmt, tag, ##__VA_ARGS__); \
72 #define LOGE_TAG(tag, fmt, ...) \ argument
73 CHRE_LOG_TAG(CHRE_LOG_ERROR, tag, fmt, ##__VA_ARGS__)
75 #define LOGE_TAG(tag, fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument
80 #define LOGW_TAG(tag, fmt, ...) \ argument
81 CHRE_LOG_TAG(CHRE_LOG_WARN, tag, fmt, ##__VA_ARGS__)
83 #define LOGW_TAG(tag, fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument
[all …]
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/nanoapp/
Dlog.h49 #define CHRE_LOG_TAG(level, tag, fmt, ...) \ argument
53 tag " " fmt, __VA_ARGS__); \
62 #define CHRE_LOG_TAG(level, tag, fmt, ...) \ argument
65 chreLog(level, "%s " fmt, tag, ##__VA_ARGS__); \
72 #define LOGE_TAG(tag, fmt, ...) \ argument
73 CHRE_LOG_TAG(CHRE_LOG_ERROR, tag, fmt, ##__VA_ARGS__)
75 #define LOGE_TAG(tag, fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument
80 #define LOGW_TAG(tag, fmt, ...) \ argument
81 CHRE_LOG_TAG(CHRE_LOG_WARN, tag, fmt, ##__VA_ARGS__)
83 #define LOGW_TAG(tag, fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument
[all …]
/system/nvram/messages/include/nvram/messages/
Dtagged_union.h101 template <uint64_t tag, typename Member>
103 static constexpr uint64_t kTag = tag;
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,
147 TaggedUnionMember<static_cast<uint64_t>(tag), MemberType>,
149 using Type = TaggedUnionMember<tag, MemberType>;
[all …]
/system/security/keystore2/test_utils/
Dauthorizations.rs43 self.0.push(KeyParameter { tag: Tag::PURPOSE, value: KeyParameterValue::KeyPurpose(p) }); in purpose()
49 self.0.push(KeyParameter { tag: Tag::DIGEST, value: KeyParameterValue::Digest(d) }); in digest()
55 self.0.push(KeyParameter { tag: Tag::ALGORITHM, value: KeyParameterValue::Algorithm(a) }); in algorithm()
61 self.0.push(KeyParameter { tag: Tag::EC_CURVE, value: KeyParameterValue::EcCurve(e) }); in ec_curve()
68 tag: Tag::ATTESTATION_CHALLENGE, in attestation_challenge()
77 tag: Tag::NO_AUTH_REQUIRED, in no_auth_required()
86 tag: Tag::RSA_PUBLIC_EXPONENT, in rsa_public_exponent()
94 self.0.push(KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(s) }); in key_size()
100 self.0.push(KeyParameter { tag: Tag::BLOCK_MODE, value: KeyParameterValue::BlockMode(b) }); in block_mode()
107 tag: Tag::CERTIFICATE_NOT_BEFORE, in cert_not_before()
[all …]
/system/logging/liblog/include/log/
Dlog_main.h82 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text) argument
84 #define android_printLog(prio, tag, ...) \ argument
85 __android_log_print(prio, tag, __VA_ARGS__)
87 #define android_vprintLog(prio, cond, tag, ...) \ argument
88 __android_log_vprint(prio, tag, __VA_ARGS__)
94 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__) argument
101 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument
102 android_vprintLog(priority, NULL, tag, fmt, args)
122 #define android_printAssert(cond, tag, ...) \ argument
123 __android_log_assert(cond, tag, \
[all …]
/system/logging/liblog/include_vndk/log/
Dlog_main.h82 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text) argument
84 #define android_printLog(prio, tag, ...) \ argument
85 __android_log_print(prio, tag, __VA_ARGS__)
87 #define android_vprintLog(prio, cond, tag, ...) \ argument
88 __android_log_vprint(prio, tag, __VA_ARGS__)
94 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__) argument
101 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument
102 android_vprintLog(priority, NULL, tag, fmt, args)
122 #define android_printAssert(cond, tag, ...) \ argument
123 __android_log_assert(cond, tag, \
[all …]
/system/core/libcutils/include/cutils/
Dtrace.h179 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) in atrace_is_tag_enabled() argument
181 return atrace_get_enabled_tags() & tag; in atrace_is_tag_enabled()
189 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() argument
191 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_begin()
201 static inline void atrace_end(uint64_t tag) in atrace_end() argument
203 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_end()
217 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() argument
220 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_begin()
230 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument
232 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_end()
[all …]
Dklog.h40 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x) argument
41 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x) argument
42 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x) argument
43 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) argument
44 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x) argument
/system/core/libcutils/include_outside_system/cutils/
Dtrace.h179 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) in atrace_is_tag_enabled() argument
181 return atrace_get_enabled_tags() & tag; in atrace_is_tag_enabled()
189 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() argument
191 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_begin()
201 static inline void atrace_end(uint64_t tag) in atrace_end() argument
203 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_end()
217 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() argument
220 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_begin()
230 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument
232 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_end()
[all …]
Dklog.h40 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x) argument
41 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x) argument
42 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x) argument
43 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) argument
44 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x) argument
/system/extras/libatrace_rust/src/
Dlib.rs91 tag: AtraceTag, field
96 atrace_end(self.tag); in drop()
101 pub fn begin_scoped_event(tag: AtraceTag, name: &str) -> ScopedEvent { in begin_scoped_event()
102 atrace_begin(tag, name); in begin_scoped_event()
103 ScopedEvent { tag } in begin_scoped_event()
109 {$tag:expr} => {
122 … let _atrace_trace_method_guard = atrace::begin_scoped_event($tag, _atrace_trace_method_name);
156 pub fn atrace_is_tag_enabled(tag: AtraceTag) -> bool { in atrace_is_tag_enabled()
158 unsafe { trace_bind::atrace_is_tag_enabled_wrap(tag.bits()) != 0 } in atrace_is_tag_enabled()
164 pub fn atrace_begin(tag: AtraceTag, name: &str) { in atrace_begin()
[all …]
/system/keymaster/include/keymaster/
Dauthorization_set.h194 int find(keymaster_tag_t tag, int begin = -1) const;
225 bool Contains(keymaster_tag_t tag) const { return find(tag) != -1; } in Contains() argument
230 size_t GetTagCount(keymaster_tag_t tag) const;
236 bool Contains(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T val) const { in Contains() argument
237 return ContainsEnumValue(tag, val); in Contains()
244 bool Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const { in Contains() argument
245 return ContainsEnumValue(tag, val); in Contains()
251 template <keymaster_tag_t Tag> bool Contains(TypedTag<KM_UINT, Tag> tag, uint32_t val) const { in Contains() argument
252 return ContainsIntValue(tag, val); in Contains()
260 inline bool GetTagValue(TypedTag<KM_UINT, T> tag, uint32_t* val) const { in GetTagValue() argument
[all …]
Dkeymaster_tags.h97 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag> class TypedTag {
105 StaticAssert<(static_cast<keymaster_tag_type_t>(tag) & tag_type) == tag_type>::check();
109 inline operator keymaster_tag_t() { return tag; }
111 inline int masked_tag() { return static_cast<int>(keymaster_tag_mask_type(tag)); }
114 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag, typename KeymasterEnum>
123 StaticAssert<(static_cast<keymaster_tag_type_t>(tag) & tag_type) == tag_type>::check();
127 inline operator keymaster_tag_t() { return tag; }
129 inline int masked_tag() { return static_cast<int>(keymaster_tag_mask_type(tag)); }
133 const char* StringifyTag(keymaster_tag_t tag);
223 inline keymaster_key_param_t Authorization(TypedTag<KM_BOOL, Tag> tag) {
[all …]
/system/keymaster/ng/
DKeyMintAidlUtils.cpp36 auto tag = params[i].tag; in kmParamSet2Aidl() local
37 result[i].tag = legacy_enum_conversion(tag); in kmParamSet2Aidl()
38 switch (typeFromTag(tag)) { in kmParamSet2Aidl()
64 params[i].tag = KM_TAG_INVALID; in kmParamSet2Aidl()
81 auto tag = legacy_enum_conversion(keyParams[i].tag); in aidlKeyParams2Km() local
82 switch (typeFromTag(tag)) { in aidlKeyParams2Km()
85 set.params[i] = keymaster_param_enum(tag, keyParams[i].integer); in aidlKeyParams2Km()
89 set.params[i] = keymaster_param_int(tag, keyParams[i].integer); in aidlKeyParams2Km()
93 set.params[i] = keymaster_param_long(tag, keyParams[i].longInteger); in aidlKeyParams2Km()
96 set.params[i] = keymaster_param_date(tag, keyParams[i].longInteger); in aidlKeyParams2Km()
[all …]
DKeyMintUtils.cpp29 switch (param.tag) { in kmEnumParam2Aidl()
70 return KeyParameter{static_cast<Tag>(param.tag), in kmEnumParam2Aidl()
75 keymaster_key_param_t kInvalidTag{.tag = KM_TAG_INVALID, .integer = 0};
85 auto tag = km_utils::legacy_enum_conversion(param.tag); in aidlEnumParam2Km() local
86 switch (tag) { in aidlEnumParam2Km()
88 return aidlEnumVal2Km<KeyParameterValue::keyPurpose>(tag, param.value); in aidlEnumParam2Km()
90 return aidlEnumVal2Km<KeyParameterValue::algorithm>(tag, param.value); in aidlEnumParam2Km()
92 return aidlEnumVal2Km<KeyParameterValue::blockMode>(tag, param.value); in aidlEnumParam2Km()
95 return aidlEnumVal2Km<KeyParameterValue::digest>(tag, param.value); in aidlEnumParam2Km()
97 return aidlEnumVal2Km<KeyParameterValue::paddingMode>(tag, param.value); in aidlEnumParam2Km()
[all …]
/system/media/camera/tests/
Dcamera_metadata_tests_fake_vendor.h113 uint32_t tag);
115 uint32_t tag);
117 uint32_t tag);
131 uint32_t tag) { in get_fakevendor_section_name() argument
133 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_section_name()
141 uint32_t tag) { in get_fakevendor_tag_name() argument
143 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_tag_name()
146 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL; in get_fakevendor_tag_name()
147 int tag_index = tag & 0xFFFF; in get_fakevendor_tag_name()
152 uint32_t tag) { in get_fakevendor_tag_type() argument
[all …]
/system/logging/liblog/
Dlogger_write.cpp156 void __android_log_set_default_tag(const char* tag) { in __android_log_set_default_tag() argument
157 GetDefaultTag().assign(tag, 0, LOGGER_ENTRY_MAX_PAYLOAD); in __android_log_set_default_tag()
274 const char* tag = log_message->tag ? log_message->tag : " nullptr"; in filestream_logger() local
278 priority_char, tag, log_message->file, log_message->line, log_message->message); in filestream_logger()
281 tag, log_message->message); in filestream_logger()
344 vec[1].iov_base = const_cast<void*>(static_cast<const void*>(log_message->tag)); in __android_log_logd_logger()
345 vec[1].iov_len = strlen(log_message->tag) + 1; in __android_log_logd_logger()
352 int __android_log_write(int prio, const char* tag, const char* msg) { in __android_log_write() argument
353 return __android_log_buf_write(LOG_ID_MAIN, prio, tag, msg); in __android_log_write()
365 if (log_message->tag == nullptr) { in __android_log_write_log_message()
[all …]
/system/chre/apps/nearby/third_party/nanopb/
Dpb.h242 pb_size_t tag; member
351 bool (*decode)(pb_istream_t *stream, pb_extension_t *extension, uint32_t tag,
429 #define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \ argument
431 tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, fd, 0, \
436 #define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \ argument
438 tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, fd, \
442 #define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \ argument
444 tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, fd, 0, \
450 #define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \ argument
452 tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, fd, \
[all …]
/system/media/camera/fuzz/
Dlibcamera_metadata_fuzzer.cpp34 uint32_t tag = *reinterpret_cast<const uint32_t*>(data + i); in LLVMFuzzerTestOneInput() local
40 int32_t tag_type = get_camera_metadata_tag_type(tag); in LLVMFuzzerTestOneInput()
45 add_camera_metadata_entry(m, tag, data, data_count); in LLVMFuzzerTestOneInput()
59 add_camera_metadata_entry(m, tag, tag_data, data_count); in LLVMFuzzerTestOneInput()
62 if (OK == find_camera_metadata_ro_entry(m, tag, &entry)) { in LLVMFuzzerTestOneInput()
68 add_camera_metadata_entry(m, tag, tag_data, data_count); in LLVMFuzzerTestOneInput()
69 tags.push_back(tag); in LLVMFuzzerTestOneInput()
71 get_camera_metadata_section_name(tag); in LLVMFuzzerTestOneInput()
72 get_camera_metadata_tag_name(tag); in LLVMFuzzerTestOneInput()
73 get_camera_metadata_tag_type(tag); in LLVMFuzzerTestOneInput()
[all …]
/system/keymaster/android_keymaster/
Dauthorization_set.cpp29 static inline bool is_blob_tag(keymaster_tag_t tag) { in is_blob_tag() argument
30 return (keymaster_tag_get_type(tag) == KM_BYTES || keymaster_tag_get_type(tag) == KM_BIGNUM); in is_blob_tag()
92 if (is_blob_tag(elems_[i].tag)) in reserve_indirect()
153 if (elems_[i - 1].tag == KM_TAG_INVALID) in Deduplicate()
159 elems_[i - 1].tag = KM_TAG_INVALID; in Deduplicate()
163 if (size() > 0 && elems_[size() - 1].tag == KM_TAG_INVALID) ++invalid_count; in Deduplicate()
182 index = find(set.params[i].tag, index); in Difference()
203 keymaster_tag_type_t type = keymaster_tag_get_type(src.tag); in CopyToParamSet()
212 int AuthorizationSet::find(keymaster_tag_t tag, int begin) const { in find() argument
216 while (i < (int)elems_size_ && elems_[i].tag != tag) in find()
[all …]
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h42 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, in contains() argument
44 int pos = set.find(tag); in contains()
49 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, in contains() argument
52 while ((pos = set.find(tag, pos)) != -1) in contains()
58 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { in contains() argument
59 int pos = set.find(tag); in contains()
64 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT_REP, Tag> tag, uint32_t val) { in contains() argument
66 while ((pos = set.find(tag, pos)) != -1) in contains()
72 bool contains(const AuthorizationSet& set, TypedTag<KM_ULONG, Tag> tag, uint64_t val) { in contains() argument
73 int pos = set.find(tag); in contains()
[all …]

12345678910>>...16