/system/keymaster/ng/include/ |
D | keymaster_tags.h | 95 constexpr TagType typeFromTag(Tag tag) { in typeFromTag() argument 96 return static_cast<TagType>(static_cast<uint32_t>(tag) & static_cast<uint32_t>(0xf0000000)); in typeFromTag() 105 template <TagType tag_type, Tag tag> struct TypedTag { 110 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type"); in TypedTag() 113 operator Tag() const { return tag; } in Tag() 116 template <Tag tag> struct Tag2TypedTag { typedef TypedTag<typeFromTag(tag), tag> type; }; 118 template <Tag tag> struct Tag2String; 193 extern const char* stringifyTag(Tag tag); 198 template <Tag tag> struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \ 201 template <Tag tag> \ [all …]
|
D | authorization_set.h | 120 int find(Tag tag, int begin = -1) const; 155 bool Contains(Tag tag) const { return find(tag) != -1; } in Contains() argument 157 template <TagType tag_type, Tag tag, typename ValueT> 158 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const { in Contains() 168 size_t GetTagCount(Tag tag) const; 171 inline NullOr<const typename TypedTag2ValueType<T>::type&> GetTagValue(T tag) const { in GetTagValue() argument 172 auto entry = GetEntry(tag); in GetTagValue() 173 if (entry.isOk()) return authorizationValue(tag, entry.value()); in GetTagValue() 185 template <typename TypedTagT, typename... Value> void push_back(TypedTagT tag, Value&&... val) { in push_back() argument 186 push_back(Authorization(tag, std::forward<Value>(val)...)); in push_back() [all …]
|
/system/logging/liblog/include/log/ |
D | log_safetynet.h | 25 #define android_errorWriteLog(tag, subTag) \ argument 26 __android_log_error_write(tag, subTag, -1, NULL, 0) 28 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \ argument 29 __android_log_error_write(tag, subTag, uid, data, dataLen) 31 int __android_log_error_write(int tag, const char* subTag, int32_t uid,
|
/system/logging/liblog/include_vndk/log/ |
D | log_safetynet.h | 25 #define android_errorWriteLog(tag, subTag) \ argument 26 __android_log_error_write(tag, subTag, -1, NULL, 0) 28 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \ argument 29 __android_log_error_write(tag, subTag, uid, data, dataLen) 31 int __android_log_error_write(int tag, const char* subTag, int32_t uid,
|
/system/bt/gd/cert/ |
D | async_subprocess_logger.py | 39 tag=None, argument 54 if not tag or type(tag) is not str: 58 self.tag = tag 71 … logging.error("logging thread %s produced an error when executing: %s" % (self.tag, str(result))) 73 …logging.error("logging thread %s failed to finish after %d seconds" % (self.tag, self.WAIT_TIMEOUT… 78 loggableTag = "[%s%s%s]" % (self.color, self.tag, TerminalColor.END) 80 loggableTag = "[%s]" % self.tag
|
/system/media/camera/include/system/ |
D | camera_vendor_tags.h | 72 const char *(*get_section_name)(const vendor_tag_ops_t *v, uint32_t tag); 82 const char *(*get_tag_name)(const vendor_tag_ops_t *v, uint32_t tag); 90 int (*get_tag_type)(const vendor_tag_ops_t *v, uint32_t tag); 129 const char *(*get_section_name)(uint32_t tag, metadata_vendor_id_t id); 139 const char *(*get_tag_name)(uint32_t tag, metadata_vendor_id_t id); 147 int (*get_tag_type)(uint32_t tag, metadata_vendor_id_t id);
|
/system/libbase/ |
D | logging.cpp | 211 void SetDefaultTag(const std::string& tag) { in SetDefaultTag() argument 213 __android_log_set_default_tag(tag.c_str()); in SetDefaultTag() 220 if (!tag.empty()) { in SetDefaultTag() 221 gDefaultTag = new std::string(tag); in SetDefaultTag() 233 const char* tag) { in KernelLogLine() argument 259 size_t size = snprintf(buf, sizeof(buf), "<%d>%s: %.*s\n", level, tag, length, msg); in KernelLogLine() 267 level, tag, truncated, size); in KernelLogLine() 272 void KernelLogger(android::base::LogId, android::base::LogSeverity severity, const char* tag, in KernelLogger() argument 274 SplitByLines(full_message, KernelLogLine, severity, tag); in KernelLogger() 278 void StderrLogger(LogId, LogSeverity severity, const char* tag, const char* file, unsigned int line, in StderrLogger() argument [all …]
|
D | logging_splitters.h | 48 static void SplitByLogdChunks(LogId log_id, LogSeverity severity, const char* tag, const char* file, in SplitByLogdChunks() argument 57 ptrdiff_t max_size = LOGGER_ENTRY_MAX_PAYLOAD - strlen(tag) - 35; in SplitByLogdChunks() 74 log_function(log_id, severity, tag, logd_chunk); in SplitByLogdChunks() 126 log_function(log_id, severity, tag, logd_chunk); in SplitByLogdChunks() 128 log_function(log_id, severity, tag, msg); in SplitByLogdChunks() 149 LogSeverity severity, const char* tag, const char* file, in StderrOutputGenerator() argument 160 line_prefix = StringPrintf("%s %c %s %5d %5" PRIu64 " %s:%u] ", tag ? tag : "nullptr", in StderrOutputGenerator() 163 line_prefix = StringPrintf("%s %c %s %5d %5" PRIu64 " ", tag ? tag : "nullptr", severity_char, in StderrOutputGenerator()
|
/system/chre/chre_api/doc/ |
D | Doxyfile | 20 # This tag specifies the encoding used for all characters in the config file 22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 43 # Using the PROJECT_BRIEF tag one can provide an optional one line description 49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included 56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all [all …]
|
/system/chre/pal/doc/ |
D | Doxyfile | 20 # This tag specifies the encoding used for all characters in the config file 22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 43 # Using the PROJECT_BRIEF tag one can provide an optional one line description 49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included 56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all [all …]
|
/system/media/audio_utils/ |
D | Doxyfile | 20 # This tag specifies the encoding used for all characters in the configuration 22 # text before the first occurrence of this tag. Doxygen uses libiconv (or the 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 43 # Using the PROJECT_BRIEF tag one can provide an optional one line description 49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included 56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all [all …]
|
/system/security/keystore2/src/km_compat/ |
D | lib.rs | 88 tag: Tag::ALGORITHM, in generate_rsa_key() 91 KeyParameter { tag: Tag::KEY_SIZE, value: KeyParameterValue::Integer(2048) }, in generate_rsa_key() 93 tag: Tag::RSA_PUBLIC_EXPONENT, in generate_rsa_key() 96 KeyParameter { tag: Tag::DIGEST, value: KeyParameterValue::Digest(Digest::SHA_2_256) }, in generate_rsa_key() 98 tag: Tag::PADDING, in generate_rsa_key() 101 KeyParameter { tag: Tag::NO_AUTH_REQUIRED, value: KeyParameterValue::BoolValue(true) }, in generate_rsa_key() 103 tag: Tag::PURPOSE, in generate_rsa_key() 107 tag: Tag::CERTIFICATE_NOT_BEFORE, in generate_rsa_key() 111 tag: Tag::CERTIFICATE_NOT_AFTER, in generate_rsa_key() 117 tag: Tag::PURPOSE, in generate_rsa_key() [all …]
|
/system/logging/logd/ |
D | LogTags.h | 81 static std::string formatEntry(uint32_t tag, uid_t uid, const char* name, 84 std::string formatEntry_locked(uint32_t tag, uid_t uid, 89 void AddEventLogTags(uint32_t tag, uid_t uid, const std::string& Name, 93 void WriteDynamicEventLogTags(uint32_t tag, uid_t uid); 94 void WriteDebugEventLogTags(uint32_t tag, uid_t uid); 96 void WritePersistEventLogTags(uint32_t tag, uid_t uid = AID_ROOT, 109 void WritePmsgEventLogTags(uint32_t tag, uid_t uid = AID_ROOT); 113 const char* tagToName(uint32_t tag) const; 114 const char* tagToFormat(uint32_t tag) const; 115 std::string formatEntry(uint32_t tag, uid_t uid);
|
D | LogTags.cpp | 137 void LogTags::AddEventLogTags(uint32_t tag, uid_t uid, const std::string& Name, in AddEventLogTags() argument 149 tag2total_const_iterator itot = tag2total.find(tag); in AddEventLogTags() 154 newOne = tag2name.find(tag) == tag2name.end(); in AddEventLogTags() 155 key2tag[Key] = tag; in AddEventLogTags() 159 key2tag[Name] = tag; in AddEventLogTags() 161 tag2format[tag] = Format; in AddEventLogTags() 163 tag2name[tag] = Name; in AddEventLogTags() 165 tag2uid_const_iterator ut = tag2uid.find(tag); in AddEventLogTags() 175 tag2uid[tag].emplace(uid); in AddEventLogTags() 181 if (update && (itot != tag2total.end())) tag2total[tag] = 0; in AddEventLogTags() [all …]
|
/system/keymaster/km_openssl/ |
D | wrapped_key.cpp | 42 const KeymasterKeyBlob& secure_key, const KeymasterBlob& tag, in build_wrapped_key() argument 53 !ASN1_OCTET_STRING_set(wrapped_key->tag, tag.data, tag.data_length) || in build_wrapped_key() 83 KeymasterBlob* tag, AuthorizationSet* auth_list, in parse_wrapped_key() argument 86 if (!iv || !transit_key || !secure_key || !tag || !auth_list || !key_format || in parse_wrapped_key() 111 *tag = KeymasterBlob(record->tag->data, record->tag->length); in parse_wrapped_key() 112 if (record->tag->data && !tag->data) { in parse_wrapped_key()
|
/system/sepolicy/tools/ |
D | insertkeys.py | 119 for tag in self.sections(): 121 options = self.options(tag) 129 logging.info("Skipping " + tag + " : " + option + 134 if tag in keyMap: 135 sys.exit("Duplicate tag detected " + tag) 137 tag_path = os.path.expandvars(self.get(tag, option)) 140 keyMap[tag] = GenerateKeys(path) 146 assert len(keyMap[tag]) == 1 174 def startElement(self, tag, attrs): argument 175 if tag == ReplaceTags.POLICY_TAG: [all …]
|
/system/core/libqtaguid/ |
D | qtaguid.c | 80 int legacy_tagSocket(int sockfd, int tag, uid_t uid) { in legacy_tagSocket() argument 83 uint64_t kTag = ((uint64_t)tag << 32); in legacy_tagSocket() 89 ALOGV("Tagging socket %d with tag %" PRIx64 "{%u,0} for uid %d", sockfd, kTag, tag, uid); in legacy_tagSocket() 94 tag, uid, res); in legacy_tagSocket() 126 int legacy_deleteTagData(int tag, uid_t uid) { in legacy_deleteTagData() argument 129 uint64_t kTag = (uint64_t)tag << 32; in legacy_deleteTagData() 131 ALOGV("Deleting tag data with tag %" PRIx64 "{%d,0} for uid %d", kTag, tag, uid); in legacy_deleteTagData() 139 kTag, tag, uid, cnt, errno); in legacy_deleteTagData()
|
/system/core/init/ |
D | perfboot.py | 253 for tag in tags: 254 if tag in supported_tags: 255 filtered.append(tag) 257 logging.warning('Unknown tag \'%s\'. Ignoring...', tag) 261 def get_values(record, tag): argument 263 keys = [key for key in record.keys() if key[0] == tag] 267 def get_last_value(record, tag): argument 269 values = get_values(record, tag) 284 for tag in tags: 288 values_counter[tag] = max(values_counter.get(tag, 1), [all …]
|
/system/media/camera/src/ |
D | camera_metadata.c | 46 uint32_t tag; member 133 _Static_assert(offsetof(camera_metadata_buffer_entry_t, tag) == 0, 545 uint32_t tag_section = entry.tag >> 16; in validate_camera_metadata_structure() 546 int tag_type = get_local_camera_metadata_tag_type(entry.tag, header); in validate_camera_metadata_structure() 571 get_local_camera_metadata_tag_name(entry.tag, metadata) ? in validate_camera_metadata_structure() 590 get_local_camera_metadata_tag_name(entry.tag, metadata) ? : "unknown"); in validate_camera_metadata_structure() 673 uint32_t tag, in add_camera_metadata_entry_raw() argument 690 entry->tag = tag; in add_camera_metadata_entry_raw() 710 uint32_t tag, in add_camera_metadata_entry() argument 714 int type = get_local_camera_metadata_tag_type(tag, dst); in add_camera_metadata_entry() [all …]
|
/system/logging/liblog/tests/ |
D | liblog_test.cpp | 301 static const char tag[] = "liblog.__android_log_write__android_logger_list_read"; in TEST() local 305 std::string(&prio, sizeof(prio)) + tag + std::string("", 1) + buf + std::string("", 1); in TEST() 307 auto write_function = [&] { ASSERT_LT(0, __android_log_write(prio, tag, buf.c_str())); }; in TEST() 432 static const char tag[] = "TEST__android_log_buf_write"; in buf_write_test() local 435 EXPECT_LT(0, __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_INFO, tag, message)); in buf_write_test() 448 if ((LOGGER_ENTRY_MAX_PAYLOAD - 2 - sizeof(tag)) <= length) { in buf_write_test() 455 if ((size_t)log_msg.entry.len != (sizeof(tag) + length + 2) || log_msg.id() != LOG_ID_MAIN) { in buf_write_test() 471 EXPECT_EQ((int)(((line_overhead + sizeof(tag)) * num_lines) + size), in buf_write_test() 945 char tag[sizeof(max_payload_tag)]; in TEST() local 946 memcpy(tag, max_payload_tag, sizeof(tag)); in TEST() [all …]
|
/system/unwinding/libunwindstack/tests/ |
D | LogFake.cpp | 52 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) { in __android_log_buf_write() argument 54 g_fake_log_buf += tag; in __android_log_buf_write() 60 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { in __android_log_print() argument 63 int val = __android_log_vprint(prio, tag, fmt, ap); in __android_log_print() 69 extern "C" int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) { in __android_log_vprint() argument 71 g_fake_log_print += tag; in __android_log_vprint()
|
/system/logging/liblog/ |
D | event_tag_map.cpp | 72 bool emplaceUnique(uint32_t tag, const TagFmt& tagfmt, bool verbose = false); 73 const TagFmt* find(uint32_t tag) const; 74 int find(std::string_view tag) const; 77 bool EventTagMap::emplaceUnique(uint32_t tag, const TagFmt& tagfmt, in emplaceUnique() argument 85 auto it = Idx2TagFmt.find(tag); in emplaceUnique() 90 it->second.second.data(), tag, (int)tagfmt.first.length(), in emplaceUnique() 96 Idx2TagFmt.emplace(std::make_pair(tag, tagfmt)); in emplaceUnique() 107 Tag2Idx.emplace(std::make_pair(tagfmt.first, tag)); in emplaceUnique() 114 const TagFmt* EventTagMap::find(uint32_t tag) const { in find() 116 auto it = Idx2TagFmt.find(tag); in find() [all …]
|
/system/bt/stack/include/ |
D | btm_log_history.h | 24 void BTM_LogHistory(const std::string& tag, const RawAddress& addr, 26 void BTM_LogHistory(const std::string& tag, const RawAddress& addr, 28 void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& addr, 30 void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& addr,
|
/system/extras/tests/workloads/ |
D | capture.sh | 68 (0030) tag="majorTouch";; 69 (0031) tag="minorTouch";; 70 (003a) tag="pressure";; 71 (0039) tag="trackingId";; 74 printf "%-10s %-4d %-4d\n" $tag $x $y
|
/system/security/ondevice-signing/ |
D | KeystoreHmacKey.cpp | 72 algo.tag = Tag::ALGORITHM; in createKey() 77 key_size.tag = Tag::KEY_SIZE; in createKey() 82 min_mac_length.tag = Tag::MIN_MAC_LENGTH; in createKey() 87 digest.tag = Tag::DIGEST; in createKey() 92 purposeSign.tag = Tag::PURPOSE; in createKey() 97 purposeVerify.tag = Tag::PURPOSE; in createKey() 103 auth.tag = Tag::NO_AUTH_REQUIRED; in createKey() 108 boot_level.tag = Tag::MAX_BOOT_LEVEL; in createKey() 135 if (auth.keyParameter.tag == Tag::MAX_BOOT_LEVEL) { in initialize() 163 algo.tag = Tag::ALGORITHM; in getVerifyOpParameters() [all …]
|