Home
last modified time | relevance | path

Searched refs:tag (Results 51 – 75 of 339) sorted by relevance

12345678910>>...14

/system/media/private/camera/include/
Dcamera_metadata_hidden.h72 int get_local_camera_metadata_tag_type_vendor_id(uint32_t tag,
79 const char *get_local_camera_metadata_tag_name_vendor_id(uint32_t tag,
86 const char *get_local_camera_metadata_section_name_vendor_id(uint32_t tag,
93 int get_local_camera_metadata_tag_type_vendor_id(uint32_t tag,
/system/core/libcutils/
Dqtaguid.cpp94 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { in qtaguid_tagSocket() argument
103 ALOGV("Tagging socket %d with tag %u for uid %d", sockfd, tag, uid); in qtaguid_tagSocket()
104 return getHandler().netdTagSocket(sockfd, tag, uid); in qtaguid_tagSocket()
123 int qtaguid_deleteTagData(int tag, uid_t uid) { in qtaguid_deleteTagData() argument
124 ALOGV("Deleting tag data with tag %u for uid %d", tag, uid); in qtaguid_deleteTagData()
125 return getHandler().netdDeleteTagData(tag, uid); in qtaguid_deleteTagData()
/system/bt/test/mock/
Dmock_stack_btm_main.cc40 void BTM_LogHistory(const std::string& tag, const RawAddress& bd_addr, in BTM_LogHistory() argument
44 void BTM_LogHistory(const std::string& tag, const RawAddress& bd_addr, in BTM_LogHistory() argument
48 void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& ble_bd_addr, in BTM_LogHistory() argument
52 void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& ble_bd_addr, in BTM_LogHistory() argument
/system/logging/liblog/
Dproperties.cpp98 static int __android_log_level(const char* tag, size_t tag_len) { in __android_log_level() argument
99 if (tag == nullptr || tag_len == 0) { in __android_log_level()
101 tag = tag_string.c_str(); in __android_log_level()
152 if (last_tag->compare(0, last_tag->size(), tag, tag_len) != 0) { in __android_log_level()
158 last_tag->assign(tag, tag_len); in __android_log_level()
162 *stpncpy(key + strlen(log_namespace), tag, tag_len) = '\0'; in __android_log_level()
244 int __android_log_is_loggable_len(int prio, const char* tag, size_t len, int default_prio) { in __android_log_is_loggable_len() argument
246 int property_log_level = __android_log_level(tag, len); in __android_log_is_loggable_len()
259 int __android_log_is_loggable(int prio, const char* tag, int default_prio) { in __android_log_is_loggable() argument
260 auto len = tag ? strlen(tag) : 0; in __android_log_is_loggable()
[all …]
/system/logging/rust/
Dlogger.rs34 tag: Option<CString>, field
49 pub fn with_tag_on_device<S: Into<Vec<u8>>>(mut self, tag: S) -> Self { in with_tag_on_device()
50 self.tag = Some(CString::new(tag).expect("Can't convert tag to CString")); in with_tag_on_device()
131 if let Some(tag) = config.tag { in init()
132 builder = builder.with_tag(tag); in init()
167 assert_eq!(config.tag.unwrap(), CString::new("my_app").unwrap()); in test_with_tag_on_device()
/system/media/camera/docs/
Dmetadata_template.mako23 % for tag in metadata.tags:
24 % if tag.description and tag.description.strip():
25 <tag id="${tag.id}">${tag.description | x}</tag>
27 <tag id="${tag.id}"><!-- TODO: fill the tag description --></tag>
90 % for tag in prop.tags:
91 <tag id="${tag.id}" />
212 % for tag in prop.tags:
213 <tag id="${tag.id}" />
/system/core/libstats/push_compat/
Dstats_event_list.c26 uint32_t tag; member
53 uint32_t tag = context->tag; in reset_log_context() local
56 context->tag = tag; in reset_log_context()
96 vec[0].iov_base = &context->tag; in stats_write_list()
97 vec[0].iov_len = sizeof(context->tag); in stats_write_list()
123 void note_log_drop(int error, int tag) { in note_log_drop() argument
124 statsdLoggerWrite.noteDrop(error, tag); in note_log_drop()
/system/unwinding/libunwindstack/
DMemoryMte.cpp31 char tag; in ReadTag() local
32 iovec iov = {&tag, 1}; in ReadTag()
37 return tag; in ReadTag()
/system/core/debuggerd/libdebuggerd/test/
Dlog_fake.cpp49 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) { in __android_log_buf_write() argument
51 g_fake_log_buf += tag; in __android_log_buf_write()
57 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { in __android_log_print() argument
59 g_fake_log_print += tag; in __android_log_print()
/system/bt/gd/common/
Dinit_flags.cc58 for (const auto& tag : tags) { in Load() local
59 auto setting = logging_debug_explicit_tag_settings.find(tag); in Load()
61 logging_debug_explicit_tag_settings.insert_or_assign(tag, true); in Load()
67 for (const auto& tag : tags) { in Load() local
68 logging_debug_explicit_tag_settings.insert_or_assign(tag, false); in Load()
/system/iorap/src/common/
Dtrace.h30 ScopedFormatTrace(uint64_t tag, const char* fmt, Args&&... args) : tag_{tag} { in ScopedFormatTrace() argument
36 atrace_begin(tag, buffer);
Dloggers.h37 const char* tag, in operator()
42 logd_(id, sev, tag, file, line, message); in operator()
44 StderrLogger(id, sev, tag, file, line, message); in operator()
/system/memory/libmeminfo/
Dsysmeminfo.cpp56 [&](std::string_view tag, uint64_t val) { in ReadMemInfo() argument
61 mem_in_kb_[tag] = val; in ReadMemInfo()
74 return ReadMemInfo(path, ntags, tags, [&]([[maybe_unused]] std::string_view tag, uint64_t val) { in ReadMemInfo() argument
75 auto it = std::find(tags, tags + ntags, tag); in ReadMemInfo()
77 LOG(ERROR) << "Tried to store invalid tag: " << tag; in ReadMemInfo()
112 const std::string_view& tag = tags[tagno]; in ReadMemInfo() local
115 if (!zram_tag_found && tag == "Zram:") { in ReadMemInfo()
116 store_val(tag, mem_zram_kb()); in ReadMemInfo()
122 if (strncmp(p, tag.data(), tag.size()) == 0) { in ReadMemInfo()
123 p += tag.size(); in ReadMemInfo()
[all …]
/system/keymaster/include/keymaster/
Dwrapped_key.h44 ASN1_OCTET_STRING* tag; member
53 ASN1_SIMPLE(KM_WRAPPED_KEY, tag, ASN1_OCTET_STRING),
59 const KeymasterKeyBlob& secure_key, const KeymasterBlob& tag,
65 KeymasterBlob* tag, AuthorizationSet* auth_list,
/system/security/keystore2/src/
Dec_crypto.rs97 let (ciphertext, iv, tag) = aes_gcm_encrypt(message, &aes_key) in encrypt_message()
99 Ok((sender_public_key, salt, iv, ciphertext, tag)) in encrypt_message()
109 tag: &[u8], in decrypt_message()
115 aes_gcm_decrypt(ciphertext, iv, tag, &aes_key) in decrypt_message()
128 let (sender_public_key, salt, iv, ciphertext, tag) = in test_crypto_roundtrip()
132 recipient.decrypt_message(&sender_public_key, &salt, &iv, &ciphertext, &tag)?; in test_crypto_roundtrip()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp306 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag); in TEST()
316 EXPECT_EQ(ANDROID_SENSOR_SENSITIVITY, entry.tag); in TEST()
326 EXPECT_EQ(ANDROID_LENS_FOCUS_DISTANCE, entry.tag); in TEST()
336 EXPECT_EQ(ANDROID_COLOR_CORRECTION_GAINS, entry.tag); in TEST()
348 EXPECT_EQ(ANDROID_COLOR_CORRECTION_TRANSFORM, entry.tag); in TEST()
418 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag); in TEST()
423 entry.tag = 1234; in TEST()
430 EXPECT_EQ((uint32_t)1234, entry.tag); in TEST()
497 EXPECT_EQ(e1.tag, e2.tag); in TEST()
555 EXPECT_EQ(e1.tag, e2.tag); in TEST()
[all …]
/system/keymaster/key_blob_utils/
Docb_utils.cpp116 KeymasterKeyBlob* ciphertext, Buffer* tag) { in OcbEncryptKey() argument
117 assert(ciphertext && tag); in OcbEncryptKey()
120 if (tag->available_write() != OCB_TAG_LENGTH) return KM_ERROR_INVALID_ARGUMENT; in OcbEncryptKey()
134 tag->peek_write(), 1 /* final */); in OcbEncryptKey()
139 if (!tag->advance_write(OCB_TAG_LENGTH)) return KM_ERROR_UNKNOWN_ERROR; in OcbEncryptKey()
148 const Buffer& tag, KeymasterKeyBlob* plaintext) { in OcbDecryptKey() argument
151 if (nonce.available_read() != OCB_NONCE_LENGTH || tag.available_read() != OCB_TAG_LENGTH) in OcbDecryptKey()
166 tag.peek_read(), 1 /* final */); in OcbDecryptKey()
/system/logging/logd/
DChattyLogBufferTest.cpp22 auto make_message = [&](uint32_t sec, const char* tag, const char* msg, in TEST_P()
28 message.append(tag); in TEST_P()
90 auto make_message = [&](uint32_t sec, const char* tag, const char* msg, in TEST_P()
96 message.append(tag); in TEST_P()
131 auto make_message = [&](uint32_t sec, int32_t tag, int32_t count) -> LogMessage { in TEST_P() argument
135 .header.tag = tag, .payload.type = EVENT_TYPE_INT, .payload.data = count}; in TEST_P()
194 auto make_message = [&](uint32_t sec, int32_t pid, uint32_t uid, uint32_t lid, const char* tag, in TEST_P()
199 message.append(tag); in TEST_P()
250 auto make_message = [&](uint32_t sec, const char* tag, const char* msg, in TEST_P()
256 message.append(tag); in TEST_P()
DLogKlog.cpp542 const char* tag = ""; in log() local
543 const char* etag = tag; in log()
582 tag = bt; in log()
602 tag = b; in log()
625 tag = b; in log()
644 tag = bt; in log()
660 size = etag - tag; in log()
663 ((size == 2) && (isdigit(tag[0]) || isdigit(tag[1]))) || in log()
665 ((size == 3) && (isdigit(tag[1]) && isdigit(tag[2]))) || in log()
667 ((size == cpuLen) && !fastcmp<strncmp>(tag, cpu, cpuLen)) || in log()
[all …]
/system/extras/profcollectd/libprofcollectd/
Dlogging_trace_provider.rs35 fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration) { in trace()
36 let trace_file = trace_provider::get_path(trace_dir, tag, LOGGING_TRACEFILE_EXTENSION); in trace()
40 tag, in trace()
/system/security/ondevice-signing/
DKeystoreKey.cpp79 algo.tag = Tag::ALGORITHM; in createKey()
84 key_size.tag = Tag::KEY_SIZE; in createKey()
89 digest.tag = Tag::DIGEST; in createKey()
94 padding.tag = Tag::PADDING; in createKey()
100 exponent.tag = Tag::RSA_PUBLIC_EXPONENT; in createKey()
105 purpose.tag = Tag::PURPOSE; in createKey()
110 auth.tag = Tag::NO_AUTH_REQUIRED; in createKey()
115 boot_level.tag = Tag::MAX_BOOT_LEVEL; in createKey()
206 if (auth.keyParameter.tag == Tag::MAX_BOOT_LEVEL) { in verifyExistingKey()
271 algo.tag = Tag::ALGORITHM; in getSignOpParameters()
[all …]
/system/security/keystore2/src/km_compat/
Dparameter_conversion_test.cpp73 #define TEST_KEY_PARAMETER_CONVERSION_V4_0(tag) \ argument
76 KMV1::tag, KMV1::TypedTag2ValueType<decltype(KMV1::tag)>::type{}); \
78 V4_0::tag, V4_0::TypedTag2ValueType<decltype(V4_0::tag)>::type{}); \
83 #define TEST_KEY_PARAMETER_CONVERSION_V4_1(tag) \ argument
86 KMV1::tag, KMV1::TypedTag2ValueType<decltype(KMV1::tag)>::type{}); \
88 V4_1::tag, V4_0::TypedTag2ValueType<decltype(V4_1::tag)>::type{}); \
/system/keymaster/tests/
Dwrapped_key_test.cpp75 KeymasterBlob tag = {reinterpret_cast<const uint8_t*>(test_tag.c_str()), test_tag.size()}; in TEST() local
79 build_wrapped_key(tk, iv, KM_KEY_FORMAT_RAW, secure_key, tag, authorization_list, &asn1), in TEST()
113 KeymasterBlob tag; in TEST() local
117 EXPECT_EQ(parse_wrapped_key(wrapped_key, &iv, &transit_key, &secure_key, &tag, &auth_list, in TEST()
121 EXPECT_EQ(blob2string(tag), test_tag); in TEST()
Dkeymaster_configuration_test.cpp23 int __android_log_print(int prio, const char* tag, const char* fmt);
24 int __android_log_print(int prio, const char* tag, const char* fmt) { in __android_log_print() argument
25 (void)prio, (void)tag, (void)fmt; in __android_log_print()
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp125 newLine.tag = (int32_t)statsKey.tag; in populateStatsEntry()
153 if (limitTag != TAG_ALL && uint32_t(limitTag) != key.tag) { in parseBpfNetworkStatsDetailInternal()
247 .tag = (uint32_t)TAG_NONE, in parseBpfNetworkStatsDevInternal()
282 uint64_t combineUidTag(const uid_t uid, const uint32_t tag) { in combineUidTag() argument
283 return (uint64_t)uid << 32 | tag; in combineUidTag()
310 return ((lhs.uid == rhs.uid) && (lhs.tag == rhs.tag) && (lhs.set == rhs.set) && in operator ==()
320 if (lhs.tag < rhs.tag) return true; in operator <()
321 if (lhs.tag > rhs.tag) return false; in operator <()
333 tag = rhs.tag; in operator =()

12345678910>>...14