/system/logging/liblog/ |
D | pmsg_writer.cpp | 186 const char* tag; in __android_log_pmsg_file_write() local 206 tag = cp; in __android_log_pmsg_file_write() 212 tag = slash + 1; in __android_log_pmsg_file_write() 216 length = strlen(tag) + 1; in __android_log_pmsg_file_write() 221 vec[1].iov_base = (unsigned char*)tag; in __android_log_pmsg_file_write()
|
D | log_event_list.cpp | 36 uint32_t tag; member 48 static void init_context(android_log_context_internal* context, uint32_t tag) { in init_context() argument 49 context->tag = tag; in init_context() 69 android_log_context create_android_logger(uint32_t tag) { in create_android_logger() argument 77 init_context(context, tag); in create_android_logger() 109 uint32_t tag; in android_log_reset() local 115 tag = context->tag; in android_log_reset() 117 init_context(context, tag); in android_log_reset() 313 ? __android_log_bwrite(context->tag, msg, len) in android_log_write_list() 314 : ((id == LOG_ID_STATS) ? __android_log_stats_bwrite(context->tag, msg, len) in android_log_write_list() [all …]
|
/system/core/libutils/include/utils/ |
D | Trace.h | 45 inline ScopedTrace(uint64_t tag, const char* name) : mTag(tag) { in ScopedTrace() argument
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | ae.h | 95 int ad_len, void* ct, void* tag, int final); 125 int ad_len, void* pt, const void* tag, int final);
|
D | ocb_utils.h | 38 KeymasterKeyBlob* ciphertext, Buffer* tag); 44 const Buffer& tag, KeymasterKeyBlob* plaintext);
|
/system/keymaster/ng/ |
D | AndroidKeymaster4Device.cpp | 72 inline keymaster_tag_type_t typeFromTag(const keymaster_tag_t tag) { in typeFromTag() argument 73 return keymaster_tag_get_type(tag); in typeFromTag() 126 auto tag = params[i].tag; in kmParamSet2Hidl() local 127 result[i].tag = legacy_enum_conversion(tag); in kmParamSet2Hidl() 128 switch (typeFromTag(tag)) { in kmParamSet2Hidl() 154 params[i].tag = KM_TAG_INVALID; in kmParamSet2Hidl() 182 auto tag = legacy_enum_conversion(keyParams[i].tag); in hidlKeyParams2Km() local 183 switch (typeFromTag(tag)) { in hidlKeyParams2Km() 186 set.params[i] = keymaster_param_enum(tag, keyParams[i].f.integer); in hidlKeyParams2Km() 190 set.params[i] = keymaster_param_int(tag, keyParams[i].f.integer); in hidlKeyParams2Km() [all …]
|
/system/logging/liblog/include/private/ |
D | android_logger.h | 57 int32_t tag; // Little Endian Order member 143 int __android_log_security_bwrite(int32_t tag, const void* payload, size_t len); 144 int __android_log_security_bswrite(int32_t tag, const char* payload);
|
/system/logging/logd/ |
D | LogBufferElement.cpp | 110 .tag = GetTag(), in ToLogStatisticsElement() 185 static const char tag[] = "chatty"; in PopulateDroppedMessage() local 187 if (!__android_log_is_loggable_len(ANDROID_LOG_INFO, tag, strlen(tag), in PopulateDroppedMessage() 238 hdrLen = 1 + sizeof(tag); in PopulateDroppedMessage() 253 event->header.tag = htole32(CHATTY_LOG_TAG); in PopulateDroppedMessage() 259 strcpy(buffer + 1, tag); in PopulateDroppedMessage()
|
D | LogStatistics.cpp | 44 uint32_t tag = element.tag; in TagNameKey() local 45 if (tag) { in TagNameKey() 46 const char* cp = android::tagToName(tag); in TagNameKey() 51 return android::base::StringPrintf("[%" PRIu32 "]", tag); in TagNameKey() 188 uint32_t tag = element.tag; in Add() local 189 if (tag) { in Add() 191 securityTagTable.Add(tag, element); in Add() 193 tagTable.Add(tag, element); in Add() 237 uint32_t tag = element.tag; in Subtract() local 238 if (tag) { in Subtract() [all …]
|
D | SimpleLogBuffer.cpp | 65 const char* tag = nullptr; in ShouldLog() local 69 tag = tags_->tagToName(numeric_tag); in ShouldLog() 70 if (tag) { in ShouldLog() 71 tag_len = strlen(tag); in ShouldLog() 75 tag = msg + 1; in ShouldLog() 76 tag_len = strnlen(tag, len - 1); in ShouldLog() 78 return __android_log_is_loggable_len(prio, tag, tag_len, ANDROID_LOG_VERBOSE); in ShouldLog()
|
D | SerializedLogBuffer.cpp | 120 const char* tag = nullptr; in ShouldLog() local 124 tag = tags_->tagToName(tag_int); in ShouldLog() 125 if (tag) { in ShouldLog() 126 tag_len = strlen(tag); in ShouldLog() 130 tag = msg + 1; in ShouldLog() 131 tag_len = strnlen(tag, len - 1); in ShouldLog() 133 return __android_log_is_loggable_len(prio, tag, tag_len, ANDROID_LOG_VERBOSE); in ShouldLog()
|
D | LogUtils.h | 40 const char* tagToName(uint32_t tag); 74 return reinterpret_cast<const android_event_header_t*>(msg)->tag; in MsgToTag()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 82 inline keymaster_tag_type_t typeFromTag(const keymaster_tag_t tag) { in typeFromTag() argument 83 return keymaster_tag_get_type(tag); in typeFromTag() 106 p.tag = static_cast<Tag>(Tag3::AUTH_TOKEN); in injectAuthToken() 131 auto tag = legacy_enum_conversion(keyParams[i].tag); in KmParamSet() local 132 switch (typeFromTag(tag)) { in KmParamSet() 135 params[i] = keymaster_param_enum(tag, keyParams[i].f.integer); in KmParamSet() 139 params[i] = keymaster_param_int(tag, keyParams[i].f.integer); in KmParamSet() 143 params[i] = keymaster_param_long(tag, keyParams[i].f.longInteger); in KmParamSet() 146 params[i] = keymaster_param_date(tag, keyParams[i].f.dateTime); in KmParamSet() 150 params[i] = keymaster_param_bool(tag); in KmParamSet() [all …]
|
/system/tools/aidl/ |
D | aidl_to_cpp_common.cpp | 312 const string tag = f->GetName(); in GenerateToString() local 313 out << "case " << tag << ": os << \"" << tag << ": \" << " in GenerateToString() 314 << "::android::internal::ToString(get<" + tag + ">()); break;\n"; in GenerateToString() 407 …Tag() != _tag) {{ __assert2(__FILE__, __LINE__, __PRETTY_FUNCTION__, "bad access: a wrong tag"); }} in PublicFields() 413 …Tag() != _tag) {{ __assert2(__FILE__, __LINE__, __PRETTY_FUNCTION__, "bad access: a wrong tag"); }} in PublicFields() 432 const string tag = "_aidl_tag"; in ReadFromParcel() local 444 read_var(tag, tag_type); in ReadFromParcel() 445 out << fmt::format("switch ({}) {{\n", tag); in ReadFromParcel() 476 const string tag = "_aidl_tag"; in WriteToParcel() local
|
/system/memory/lmkd/ |
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names. 14 # Optionally, after the tag names can be put a description for the value(s) 15 # of the tag. Description are in the format
|
/system/libbase/include/android-base/ |
D | unique_fd.h | 69 uint64_t tag = android_fdsan_create_owner_tag(ANDROID_FDSAN_OWNER_TYPE_UNIQUE_FD, in Close() local 71 android_fdsan_close_with_tag(fd, tag); in Close() 128 tag(fd_, this, nullptr); in release() 144 tag(new_value, previous_tag, this); in reset() 156 static auto tag(int fd, void* old_tag, void* new_tag) 162 static void tag(long, void*, void*) { in tag() function
|
D | logging.h | 114 void KernelLogger(LogId log_buffer_id, LogSeverity severity, const char* tag, const char* file, uns… 116 void StderrLogger(LogId log_buffer_id, LogSeverity severity, const char* tag, const char* file, uns… 121 void StdioLogger(LogId log_buffer_id, LogSeverity severity, const char* tag, const char* file, unsi… 125 void SetDefaultTag(const std::string& tag); 135 void operator()(LogId, LogSeverity, const char* tag, const char* file, 420 LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, const char* tag, 422 LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, int error); 431 static void LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag, 447 bool ShouldLog(LogSeverity severity, const char* tag);
|
/system/security/keystore2/src/ |
D | legacy_blob.rs | 108 tag: Vec<u8>, 123 tag: Vec<u8>, 341 let tag = &buffer[Self::AEAD_TAG_OFFSET..Self::AEAD_TAG_OFFSET + Self::GCM_TAG_LENGTH]; in new_from_stream() localVariable 357 tag: tag.to_vec(), in new_from_stream() 367 tag: tag.to_vec(), in new_from_stream() 377 tag: tag.to_vec(), in new_from_stream() 416 BlobValue::Encrypted { iv, tag, data } => Ok(Blob { in new_from_stream_decrypt_with() 419 decrypt(&data, &iv, &tag, None, None) in new_from_stream_decrypt_with() 423 BlobValue::PwEncrypted { iv, tag, data, salt, key_size } => Ok(Blob { in new_from_stream_decrypt_with() 426 decrypt(&data, &iv, &tag, Some(salt), Some(*key_size)) in new_from_stream_decrypt_with() [all …]
|
/system/netd/include/ |
D | NetdClient.h | 45 int tagSocket(int socketFd, uint32_t tag, uid_t uid); 51 int deleteTagData(uint32_t tag, uid_t uid);
|
/system/update_engine/common/ |
D | subprocess_unittest.cc | 265 uint32_t tag = Subprocess::Get().Exec(cmd, base::Bind(&CallbackBad)); in TEST_F() local 266 EXPECT_NE(0U, tag); in TEST_F() 276 uint32_t tag) { in TEST_F() argument 280 LOG(INFO) << "Killing tag " << tag; in TEST_F() 281 Subprocess::Get().KillExec(tag); in TEST_F() 287 tag)); in TEST_F()
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-java-source/gen/android/aidl/loggable/ |
D | Union.java | 113 private void _assertTag(int tag) { in _assertTag() argument 114 if (getTag() != tag) { in _assertTag() 115 …throw new IllegalStateException("bad access: " + _tagString(tag) + ", " + _tagString(getTag()) + "… in _assertTag()
|
/system/sepolicy/build/soong/ |
D | sepolicy_vers.go | 107 func (v *sepolicyVers) OutputFiles(tag string) (android.Paths, error) { 108 if tag == "" { 111 return nil, fmt.Errorf("Unknown tag %q", tag)
|
/system/libufdt/ |
D | ufdt_convert.c | 130 uint32_t tag; in fdt_to_ufdt_tree() local 135 tag = cur_tag; in fdt_to_ufdt_tree() 137 switch (tag) { in fdt_to_ufdt_tree() 152 tag = fdt_next_tag(fdtp, cur_fdt_tag_offset, next_fdt_tag_offset); in fdt_to_ufdt_tree() 154 next_fdt_tag_offset, tag, pool); in fdt_to_ufdt_tree() 156 } while (tag != FDT_END_NODE); in fdt_to_ufdt_tree() 346 new_prop->tag = cpu_to_fdt32(FDT_PROP); in _ufdt_output_property_to_fdt() 359 uint32_t tag = ufdt_node_tag(node); in _ufdt_output_node_to_fdt() local 361 if (tag == FDT_PROP) { in _ufdt_output_node_to_fdt()
|
/system/logging/rust/ |
D | liblog_event_list.rs | 42 pub fn new(log_type: log_bindgen::log_id, tag: u32) -> Option<LogContext> { in new() 48 let ctx = unsafe { log_bindgen::create_android_logger(tag) }; in new()
|
/system/nvram/messages/include/nvram/messages/ |
D | struct.h | 171 TagType tag) in OneOfFieldSpec() 172 : FieldSpec<Struct, TaggedUnionType>(field_number, member), kTag(tag) {} in OneOfFieldSpec() 185 TagType tag) { in MakeOneOfField() argument 186 return OneOfFieldSpec<Struct, TagType, Member...>(field_number, member, tag); in MakeOneOfField()
|