Searched refs:tag (Results 51 - 75 of 168) sorted by relevance

1234567

/system/core/include/log/
H A Dlog.h45 * LOG_TAG is the local tag used for the following simplified
47 * before using the other macros to change the tag.
93 int __android_log_bwrite(int32_t tag, const void* payload, size_t len);
94 int __android_log_btwrite(int32_t tag, char type, const void* payload,
96 int __android_log_bswrite(int32_t tag, const char* payload);
98 #define android_bWriteLog(tag, payload, len) \
99 __android_log_bwrite(tag, payload, len)
100 #define android_btWriteLog(tag, type, payload, len) \
101 __android_log_btwrite(tag, type, payload, len)
H A Dlogprint.h63 const char* tag; member in struct:AndroidLogEntry_t
110 * and tag, and 0 if it should not
112 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag,
128 * If "map" is non-NULL, it will be used to convert the log tag number
/system/core/liblog/include/log/
H A Dlog.h45 * LOG_TAG is the local tag used for the following simplified
47 * before using the other macros to change the tag.
93 int __android_log_bwrite(int32_t tag, const void* payload, size_t len);
94 int __android_log_btwrite(int32_t tag, char type, const void* payload,
96 int __android_log_bswrite(int32_t tag, const char* payload);
98 #define android_bWriteLog(tag, payload, len) \
99 __android_log_bwrite(tag, payload, len)
100 #define android_btWriteLog(tag, type, payload, len) \
101 __android_log_btwrite(tag, type, payload, len)
H A Dlogprint.h63 const char* tag; member in struct:AndroidLogEntry_t
110 * and tag, and 0 if it should not
112 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag,
128 * If "map" is non-NULL, it will be used to convert the log tag number
/system/media/camera/include/system/
H A Dcamera_metadata.h82 uint32_t tag; member in struct:camera_metadata_entry
101 uint32_t tag; member in struct:camera_metadata_ro_entry
133 * an integer tag to identify its meaning, 'type' and 'count' field, and the
141 * entries with the same tag are allowed. The packet will not dynamically resize
340 * left to add the entry, or if the tag is unknown. data_count is the number of
341 * entries in the data array of the tag's type, not a count of
351 uint32_t tag,
390 * Find an entry with given tag value. If not found, returns -ENOENT. Otherwise,
393 * If multiple entries with the same tag exist, does not have any guarantees on
399 uint32_t tag,
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c46 uint32_t tag; member in struct:camera_metadata_buffer_entry
133 _Static_assert(offsetof(camera_metadata_buffer_entry_t, tag) == 0,
134 "Offset of tag must be 0");
517 uint32_t tag_section = entry.tag >> 16;
518 int tag_type = get_local_camera_metadata_tag_type(entry.tag, metadata);
520 ALOGE("%s: Entry index %zu had tag type %d, but the type was %d",
541 " expected align %zu, (tag name %s, data size %zu)",
543 get_local_camera_metadata_tag_name(entry.tag, metadata) ?
561 "(%" PRIu32 "), tag name: %s", __FUNCTION__, i, entry.data.offset,
562 get_local_camera_metadata_tag_name(entry.tag, metadat
644 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument
681 add_camera_metadata_entry(camera_metadata_t *dst, uint32_t tag, const void *data, size_t data_count) argument
748 find_camera_metadata_entry(camera_metadata_t *src, uint32_t tag, camera_metadata_entry_t *entry) argument
781 find_camera_metadata_ro_entry(const camera_metadata_t *src, uint32_t tag, camera_metadata_ro_entry_t *entry) argument
908 get_local_camera_metadata_section_name_vendor_id(uint32_t tag, metadata_vendor_id_t id) argument
926 get_local_camera_metadata_tag_name_vendor_id(uint32_t tag, metadata_vendor_id_t id) argument
946 get_local_camera_metadata_tag_type_vendor_id(uint32_t tag, metadata_vendor_id_t id) argument
965 get_camera_metadata_section_name(uint32_t tag) argument
969 get_camera_metadata_tag_name(uint32_t tag) argument
973 get_camera_metadata_tag_type(uint32_t tag) argument
977 get_local_camera_metadata_section_name(uint32_t tag, const camera_metadata_t *meta) argument
985 get_local_camera_metadata_tag_name(uint32_t tag, const camera_metadata_t *meta) argument
993 get_local_camera_metadata_tag_type(uint32_t tag, const camera_metadata_t *meta) argument
1120 print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument
[all...]
/system/media/camera/docs/
H A 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 descriptio
[all...]
H A DACameraMetadata.mako53 ACameraMetadata::isCaptureRequestTag(const uint32_t tag) {
55 if (isVendorTag(tag)) {
59 switch (tag) {
/system/core/logd/
H A DLogTags.cpp129 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...]
H A DLogKlog.cpp517 // 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...]
/system/core/init/
H A Dperfboot.py239 return re.compile(r'(?P<pid>[0-9]+) +[0-9]+ I (?P<tag>%s): (?P<time>\d+)' %
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):
262 """Gets values that matches |tag| from |record|."""
263 keys = [key for key in record.keys() if key[0] == tag]
267 def get_last_value(record, tag)
[all...]
/system/core/liblog/tests/
H A Dliblog_test.cpp550 static const char tag[] = "TEST__android_log_buf_write"; local
558 0, __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_INFO, tag, message));
570 if ((LOGGER_ENTRY_MAX_PAYLOAD - 2 - sizeof(tag)) <= length) {
589 ((size_t)log_msg.entry.len != (sizeof(tag) + length + 2)) ||
607 EXPECT_EQ((int)(((line_overhead + sizeof(tag)) * num_lines) + size),
1089 char tag[sizeof(max_payload_tag)]; local
1090 memcpy(tag, max_payload_tag, sizeof(tag));
1091 snprintf(tag + sizeof(tag)
1226 char tag[sizeof(big_payload_tag)]; local
1359 checkPriForTag(AndroidLogFormat* p_format, const char* tag, android_LogPriority pri) argument
1367 static const char tag[] = "random"; local
1439 static const char tag[] = "is_loggable"; local
2148 int tag = get4LE(eventData); local
2307 int tag = get4LE(eventData); local
2360 int tag = get4LE(eventData); local
2577 event_test_int32(uint32_t tag, size_t& expected_len) argument
2594 event_test_int64(uint32_t tag, size_t& expected_len) argument
2611 event_test_list_int64(uint32_t tag, size_t& expected_len) argument
2631 event_test_simple_automagic_list(uint32_t tag, size_t& expected_len) argument
2654 event_test_list_empty(uint32_t tag, size_t& expected_len) argument
2672 event_test_complex_nested_list(uint32_t tag, size_t& expected_len) argument
2720 event_test_7_level_prefix(uint32_t tag, size_t& expected_len) argument
2759 event_test_7_level_suffix(uint32_t tag, size_t& expected_len) argument
2795 event_test_android_log_error_write(uint32_t tag, size_t& expected_len) argument
2808 event_test_android_log_error_write_null(uint32_t tag, size_t& expected_len) argument
2828 create_android_logger(const char* (*fn)(uint32_t tag, size_t& expected_len)) argument
3331 int tag = android_lookupEventTagNum(map, Name.c_str(), "(new|1)", local
[all...]
/system/keymaster/
H A 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) { argument
25 (void)prio, (void)tag, (void)fmt;
/system/core/liblog/
H A Devent_tag_map.cpp107 // both of tag and fmt members, e.g.:
147 bool emplaceUnique(uint32_t tag, const TagFmt& tagfmt, bool verbose = false);
148 const TagFmt* find(uint32_t tag) const;
150 int find(MapString&& tag) const;
153 bool EventTagMap::emplaceUnique(uint32_t tag, const TagFmt& tagfmt, argument
157 OUT_TAG ": duplicate tag entries %" PRIu32 ":%.*s:%.*s and %" PRIu32
162 it = Idx2TagFmt.find(tag);
167 it->second.second.data(), tag, (int)tagfmt.first.length(),
173 Idx2TagFmt.emplace(std::make_pair(tag, tagfmt));
184 it->first.second.data(), tag, (in
284 const char* tag = cp; local
498 __getEventTag(EventTagMap* map, unsigned int tag) argument
539 android_lookupEventTag_len(const EventTagMap* map, size_t* len, unsigned int tag) argument
553 android_lookupEventFormat_len( const EventTagMap* map, size_t* len, unsigned int tag) argument
569 android_lookupEventTag(const EventTagMap* map, unsigned int tag) argument
[all...]
H A Dfake_log_device.c82 char tag[kMaxTagLen]; member in struct:LogState::__anon1556
170 * The tag (or '*' for the global level) comes first, followed by a colon
212 TRACE("ERROR: env tag too long (%d chars max)\n", kMaxTagLen - 1);
262 TRACE("ERROR: garbage in tag env; expected whitespace\n");
273 strcpy(logState->tagSet[entry].tag, tagName);
274 TRACE("+++ entry %d: %s:%d\n", entry, logState->tagSet[entry].tag,
293 else if (strcmp(fstr, "tag") == 0)
354 static void showLog(LogState* state, int logPrio, const char* tag, argument
370 TRACE("LOG %d: %s %s", logPrio, tag, msg);
401 snprintf(prefixBuf, sizeof(prefixBuf), "%c/%-8s: ", priChar, tag);
590 const char* tag = (const char*)vector[1].iov_base; local
[all...]
H A Dproperties.c91 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/include/private/
H A Dandroid_logger.h60 int32_t tag; // Little Endian Order member in struct:__anon1472
134 int __android_log_security_bwrite(int32_t tag, const void* payload, size_t len);
135 int __android_log_security_bswrite(int32_t tag, const char* payload);
167 explicit __android_log_event_list(int tag) : android_log_event_list(tag) { argument
/system/core/liblog/include/private/
H A Dandroid_logger.h60 int32_t tag; // Little Endian Order member in struct:__anon1564
134 int __android_log_security_bwrite(int32_t tag, const void* payload, size_t len);
135 int __android_log_security_bswrite(int32_t tag, const char* payload);
167 explicit __android_log_event_list(int tag) : android_log_event_list(tag) { argument
/system/security/keystore/
H A Dkeystore_aidl_hidl_marshalling_utils.cpp89 Tag tag = static_cast<Tag>(in.readInt32()); local
90 result.tag = tag;
91 switch (typeFromTag(tag)) {
111 ALOGE("Unsupported KeyParameter tag %d", tag);
118 auto tag = param.tag; local
119 auto rc = out->writeInt32(uint32_t(tag));
121 switch (typeFromTag(param.tag)) {
[all...]
H A Dlegacy_keymaster_device_wrapper.cpp41 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/extras/perfprofd/tests/
H A Dperfprofdmockutils.cc65 void perfprofd_mocklog(const char *tag, const char *fmt, va_list ap) argument
68 strcpy(buffer, tag);
69 vsnprintf(buffer+strlen(tag), LMAX, fmt, ap);
/system/core/trusty/gatekeeper/
H A Dmodule.cpp47 .tag = HARDWARE_MODULE_TAG,
/system/core/trusty/keymaster/
H A Dmodule.cpp51 .tag = HARDWARE_MODULE_TAG,
/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp306 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag);
316 EXPECT_EQ(ANDROID_SENSOR_SENSITIVITY, entry.tag);
326 EXPECT_EQ(ANDROID_LENS_FOCUS_DISTANCE, entry.tag);
336 EXPECT_EQ(ANDROID_COLOR_CORRECTION_GAINS, entry.tag);
348 EXPECT_EQ(ANDROID_COLOR_CORRECTION_TRANSFORM, entry.tag);
418 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag);
423 entry.tag = 1234;
430 EXPECT_EQ((uint32_t)1234, entry.tag);
497 EXPECT_EQ(e1.tag, e2.tag);
[all...]
/system/connectivity/wifilogd/tests/
H A Dcommand_processor_unittest.cpp83 const std::string& tag, const std::string& message,
88 tag.length() + ascii_message_tag_len_adjustment;
103 const size_t payload_len = sizeof(ascii_message_header) + tag.length() +
116 .AppendOrDie(tag.data(), tag.length())
120 CommandBuffer BuildAsciiMessageCommand(const std::string& tag, argument
122 return BuildAsciiMessageCommandWithAdjustments(tag, message, 0, 0, 0);
126 const std::string& tag, const std::string& message,
131 tag, message, command_payload_len_adjustment,
141 bool SendAsciiMessage(const std::string& tag, cons argument
82 BuildAsciiMessageCommandWithAdjustments( const std::string& tag, const std::string& message, ssize_t command_payload_len_adjustment, ssize_t ascii_message_tag_len_adjustment, ssize_t ascii_message_data_len_adjustment) argument
125 SendAsciiMessageWithAdjustments( const std::string& tag, const std::string& message, ssize_t transport_len_adjustment, ssize_t command_payload_len_adjustment, ssize_t ascii_message_tag_len_adjustment, ssize_t ascii_message_data_len_adjustment) argument
[all...]

Completed in 317 milliseconds

1234567