/system/tpm/trunks/ |
H A D | resource_manager_test.cc | 82 TPM_ST tag = authorization.empty() ? TPM_ST_NO_SESSIONS : TPM_ST_SESSIONS; local 85 Serialize_TPM_ST(tag, &buffer); 103 TPM_ST tag = authorization.empty() ? TPM_ST_NO_SESSIONS : TPM_ST_SESSIONS; local 106 Serialize_TPM_ST(tag, &buffer);
|
H A D | resource_manager.cc | 486 TPM_ST tag; local 487 TPM_RC result = Parse_TPM_ST(&buffer, &tag, nullptr); 491 if (tag != TPM_ST_SESSIONS && tag != TPM_ST_NO_SESSIONS) { 494 command_info->has_sessions = (tag == TPM_ST_SESSIONS); 572 TPM_ST tag; local 573 TPM_RC result = Parse_TPM_ST(&buffer, &tag, nullptr); 577 if (tag != TPM_ST_SESSIONS && tag != TPM_ST_NO_SESSIONS) { 580 response_info->has_sessions = (tag [all...] |
/system/core/adb/ |
H A D | adb.cpp | 152 char *tag; local 157 case A_SYNC: tag = "SYNC"; break; 158 case A_CNXN: tag = "CNXN" ; break; 159 case A_OPEN: tag = "OPEN"; break; 160 case A_OKAY: tag = "OKAY"; break; 161 case A_CLSE: tag = "CLSE"; break; 162 case A_WRTE: tag = "WRTE"; break; 163 case A_AUTH: tag = "AUTH"; break; 164 default: tag = "????"; break; 168 label, tag, [all...] |
/system/core/base/ |
H A D | logging.cpp | 150 const char* tag, const char*, unsigned int, const char* msg) { 175 size_t size = snprintf(buf, sizeof(buf), "<%d>%s: %s\n", level, tag, msg); 178 level, tag, size); 224 void LogdLogger::operator()(LogId id, LogSeverity severity, const char* tag, argument 248 __android_log_buf_print(lg_id, priority, tag, "%s:%u] %s", file, line, 251 __android_log_buf_print(lg_id, priority, tag, "%s", message); 281 // "tag-pattern:[vdiwefs]" 443 const char* tag = ProgramInvocationName().c_str(); local 444 Logger()(id, severity, tag, file, line, message); 149 KernelLogger(android::base::LogId, android::base::LogSeverity severity, const char* tag, const char*, unsigned int, const char* msg) argument
|
/system/core/debuggerd/libdebuggerd/ |
H A D | tombstone.cpp | 567 // Msg format is: <priority:1><tag:N>\0<message:N>\0 598 'I', (int)e.tagLen, e.tag, e.message); 603 char* tag = msg + 1; local 604 msg = tag + strlen(tag) + 1; 625 prioChar, tag, msg);
|
/system/core/fs_mgr/ |
H A D | fs_mgr_verity.cpp | 367 static int metadata_add(FILE *fp, long start, const char *tag, argument 371 fprintf(fp, "%s %u\n", tag, length) < 0) { 389 char tag[METADATA_TAG_MAX_LENGTH + 1]; local 435 tag, &length); 437 if (n == 2 && strcmp(tag, METADATA_EOD)) { 438 /* found a tag */ 441 if (!strcmp(tag, stag) && length == slength) { 573 char tag[METADATA_TAG_MAX_LENGTH + 1]; local 598 if (snprintf(tag, sizeof(tag), VERITY_LASTSIG_TA 644 char tag[METADATA_TAG_MAX_LENGTH + 1]; local [all...] |
/system/core/liblog/ |
H A D | fake_log_device.c | 84 char tag[kMaxTagLen]; member in struct:LogState::__anon1535 172 * The tag (or '*' for the global level) comes first, followed by a colon 214 TRACE("ERROR: env tag too long (%d chars max)\n", kMaxTagLen - 1); 264 TRACE("ERROR: garbage in tag env; expected whitespace\n"); 275 strcpy(logState->tagSet[entry].tag, tagName); 276 TRACE("+++ entry %d: %s:%d\n", entry, logState->tagSet[entry].tag, 295 else if (strcmp(fstr, "tag") == 0) 356 static void showLog(LogState* state, int logPrio, const char* tag, argument 372 TRACE("LOG %d: %s %s", logPrio, tag, msg); 403 snprintf(prefixBuf, sizeof(prefixBuf), "%c/%-8s: ", priChar, tag); 591 const char* tag = (const char*)vector[1].iov_base; local [all...] |
H A D | properties.c | 91 static int __android_log_level(const char* tag, size_t len, int default_prio) { argument 93 static const char log_namespace[] = "persist.log.tag."; 96 const size_t taglen = tag ? len : 0; 104 * log.tag.<tag> 105 * persist.log.tag.<tag> 106 * log.tag 107 * persist.log.tag 108 * Where the missing tag matche 266 __android_log_is_loggable_len(int prio, const char* tag, size_t len, int default_prio) argument 273 __android_log_is_loggable(int prio, const char* tag, int default_prio) argument [all...] |
/system/core/logd/ |
H A D | LogBuffer.cpp | 203 const char* tag = nullptr; local 205 tag = tagToName(elem->getTag()); 208 tag = msg + 1; 210 if (!__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE)) { 300 // Sum up liblog tag messages? 307 // event->header.tag = htole32(CHATTY_LOG_TAG);
|
H A D | LogKlog.cpp | 517 // Filter rules to parse <PRI> <TIME> <tag> and <message> in order for 521 // <PRI>[<TIME>] <tag> ":" <message> 522 // <PRI>[<TIME>] <tag> <tag> ":" <message> 523 // <PRI>[<TIME>] <tag> <tag>_work ":" <message> 524 // <PRI>[<TIME>] <tag> '<tag>.<num>' ":" <message> 525 // <PRI>[<TIME>] <tag> '<tag><nu 598 const char* tag = ""; local [all...] |
H A D | LogStatistics.h | 441 const uint32_t tag; member in struct:TagEntry 447 tag(element->getTag()), 453 return tag; 462 return android::tagToName(tag); 542 // tag list 546 // security tag list
|
H A D | LogTags.cpp | 129 void LogTags::AddEventLogTags(uint32_t tag, uid_t uid, const std::string& Name, argument 141 tag2total_const_iterator itot = tag2total.find(tag); 146 newOne = tag2name.find(tag) == tag2name.end(); 147 key2tag[Key] = tag; 151 key2tag[Name] = tag; 153 tag2format[tag] = Format; 155 tag2name[tag] = Name; 157 tag2uid_const_iterator ut = tag2uid.find(tag); 167 tag2uid[tag].emplace(uid); 173 if (update && (itot != tag2total.end())) tag2total[tag] 383 tagToName(uint32_t tag) argument 502 WritePmsgEventLogTags(uint32_t tag, uid_t uid) argument 593 WriteDynamicEventLogTags(uint32_t tag, uid_t uid) argument 615 WriteDebugEventLogTags(uint32_t tag, uid_t uid) argument 640 WritePersistEventLogTags(uint32_t tag, uid_t uid, const char* source) argument 795 formatEntry(uint32_t tag, uid_t uid, const char* name, const char* format) argument 809 formatEntry_locked(uint32_t tag, uid_t uid, bool authenticate) argument 838 formatEntry(uint32_t tag, uid_t uid) argument 858 uint32_t tag = nameToTag(uid, name, format); local [all...] |
/system/core/logd/tests/ |
H A D | logd_test.cpp | 940 uint32_t tag = get4LE(eventData); local 944 if (tag != 0) continue; 953 if (tag != CHATTY_LOG_TAG) continue; 1076 uint32_t tag = get4LE(eventData); local 1077 if (tag != AUDITD_LOG_TAG) continue;
|
/system/core/logwrapper/ |
H A D | logwrap.c | 293 static int parent(const char *tag, int parent_read, pid_t pid, argument 314 log_info.btag = basename(tag); 316 log_info.btag = (char*) tag;
|
/system/extras/ANRdaemon/ |
H A D | ANRdaemon.cpp | 94 static uint64_t tag = 0; variable 427 dfs_set_property(tag, apps, true); 575 tag |= ATRACE_TAG_ACTIVITY_MANAGER; 577 tag |= ATRACE_TAG_INPUT; 579 tag |= ATRACE_TAG_SYNC_MANAGER; 581 tag |= ATRACE_TAG_DALVIK; 583 tag |= ATRACE_TAG_GRAPHICS; 585 tag |= ATRACE_TAG_AUDIO; 587 tag |= ATRACE_TAG_HAL; 589 tag | [all...] |
/system/extras/perfprofd/tests/ |
H A D | perfprofd_test.cc | 124 const char *tag, 127 if (dump) { fprintf(stderr, "raw %s is %s\n", tag, str.c_str()); } 135 if (dump) { fprintf(stderr, "squeezed %s is %s\n", tag, result.c_str()); } 123 squeezeWhite(const std::string &str, const char *tag, bool dump=false) argument
|
/system/keymaster/ |
H A D | attestation_record.cpp | 189 switch (keymaster_tag_get_type(param.tag)) { 243 switch (entry.tag) { 379 keymaster_tag_type_t type = keymaster_tag_get_type(entry.tag); 385 assert((keymaster_tag_repeatable(entry.tag) && integer_set) || 386 (!keymaster_tag_repeatable(entry.tag) && integer_ptr)); 401 assert((keymaster_tag_repeatable(entry.tag) && integer_set) || 402 (!keymaster_tag_repeatable(entry.tag) && integer_ptr)); 539 for (const auto& tag : kDeviceAttestationTags) { 540 if (attestation_params.find(tag) != -1) { 599 // Copy all enumerated values with the specified tag fro 600 get_repeated_enums(const stack_st_ASN1_INTEGER* stack, keymaster_tag_t tag, AuthorizationSet* auth_list) argument 613 get_enum(const ASN1_INTEGER* asn1_int, TypedEnumTag<Type, Tag, KeymasterEnum> tag, AuthorizationSet* auth_list) argument 621 get_ulong(const ASN1_INTEGER* asn1_int, keymaster_tag_t tag, AuthorizationSet* auth_list) argument [all...] |
H A D | soft_keymaster_context.cpp | 286 bool UpgradeIntegerTag(keymaster_tag_t tag, uint32_t value, AuthorizationSet* set, argument 288 int index = set->find(tag); 291 param.tag = tag; 413 switch (entry.tag) { 433 if (hw_enforced->GetTagCount(entry.tag) == 0) 531 Buffer nonce, tag; local 534 hw_enforced, sw_enforced, &nonce, &tag); 538 if (nonce.available_read() != OCB_NONCE_LENGTH || tag.available_read() != OCB_TAG_LENGTH) 542 nonce, tag, key_materia [all...] |
H A D | android_keymaster_test.cpp | 44 int __android_log_print(int prio, const char* tag, const char* fmt); 45 int __android_log_print(int prio, const char* tag, const char* fmt) { argument 46 (void)prio, (void)tag, (void)fmt; 3157 // Corrupt tag 3503 // Add TAG_INCLUDE_UNIQUE_ID to the relevant attestation list, because that tag is not included
|
H A D | ocb.c | 45 /* Set the AES key length to use and length of authentication tag to produce. 850 /* Process remaining associated data, compute its tag contribution */ 919 int ad_len, void* ct, void* tag, int final) { 1006 /* Process remaining plaintext and compute its tag contribution */ 1054 offset = xor_block(offset, ctx->Ldollar); /* Part of tag gen */ 1055 ta[k] = xor_block(offset, checksum); /* Part of tag gen */ 1057 offset = xor_block(ta[k], ctx->ad_checksum); /* Part of tag gen */ 1084 if (tag) { 1086 *(block*)tag = offset; 1088 memcpy((char*)tag, 918 ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, int ad_len, void* ct, void* tag, int final) argument 1129 ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad, int ad_len, void* pt, const void* tag, int final) argument [all...] |
/system/libufdt/ |
H A D | ufdt_convert.c | 126 uint32_t tag; local 131 tag = cur_tag; 133 switch (tag) { 148 tag = fdt_next_tag(fdtp, cur_fdt_tag_offset, next_fdt_tag_offset); 150 next_fdt_tag_offset, tag); 152 } while (tag != FDT_END_NODE); 390 new_prop->tag = cpu_to_fdt32(FDT_PROP); 403 uint32_t tag = tag_of(node); local 405 if (tag == FDT_PROP) {
|
/system/nfc/src/nfa/include/ |
H A D | nfa_ee_api.h | 122 tNFA_EE_TAG tag; member in struct:__anon2053
|
/system/nfc/src/nfc/nfc/ |
H A D | nfc_ncif.c | 957 uint8_t data_len, ulen, tag, *p_data; local 984 tag = *p++; 989 switch (tag) {
|
/system/security/keystore/ |
H A D | legacy_keymaster_device_wrapper.cpp | 41 static inline keymaster_tag_type_t typeFromTag(const keymaster_tag_t tag) { argument 42 return keymaster_tag_get_type(tag); 73 auto tag = legacy_enum_conversion(keyParams[i].tag); local 74 switch (typeFromTag(tag)) { 77 params[i] = keymaster_param_enum(tag, keyParams[i].f.integer); 81 params[i] = keymaster_param_int(tag, keyParams[i].f.integer); 85 params[i] = keymaster_param_long(tag, keyParams[i].f.longInteger); 88 params[i] = keymaster_param_date(tag, keyParams[i].f.dateTime); 92 params[i] = keymaster_param_bool(tag); 165 auto tag = params[i].tag; local [all...] |
/system/core/logcat/tests/ |
H A D | logcat_test.cpp | 1471 static bool End_to_End(const char* tag, const char* fmt, ...) 1477 static bool End_to_End(const char* tag, const char* fmt, ...) { argument 1499 asprintf(&str, "I/%s ( %%d):%%c%s%%c", tag, buffer); 1536 struct tag { struct 1542 static const struct tag hhgtg = { 42, "answer" }; 1552 static const struct tag sync = { 2720, "sync" }; 1582 static const struct tag sync = { 2747, "contacts_aggregation" }; 1601 static const struct tag sync = { 75000, "sqlite_mem_alarm_current" }; 1646 static const struct tag sync = { 27501, "notification_panel_hidden" };
|