Searched defs:tag (Results 1 - 17 of 17) sorted by relevance

/system/core/toolbox/
H A Dlog.c82 fprintf(stderr, "USAGE: %s [-p priorityChar] [-t tag] message\n", s);
93 const char *tag = "log"; local
110 tag = optarg;
141 __android_log_print(priority, tag, "%s", buffer);
/system/core/include/cutils/
H A Dlogprint.h49 const char * tag; member in struct:AndroidLogEntry_t
96 * and tag, and 0 if it should not
99 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri);
115 * If "map" is non-NULL, it will be used to convert the log tag number
/system/core/logwrapper/
H A Dlogwrapper.c48 void parent(const char *tag, int seg_fault_on_exit, int parent_read) { argument
56 char *btag = basename(tag);
57 if (!btag) btag = (char*) tag;
97 ALOG(LOG_INFO, "logwrapper", "%s terminated by exit(%d)", tag,
100 ALOG(LOG_INFO, "logwrapper", "%s terminated by signal %d", tag,
103 ALOG(LOG_INFO, "logwrapper", "%s stopped by signal %d", tag,
106 ALOG(LOG_INFO, "logwrapper", "%s wait() failed: %s (%d)", tag,
/system/vold/
H A Dlogwrapper.c30 int parent(const char *tag, int parent_read) { argument
47 ALOG(LOG_INFO, tag, "%s", &buffer[a]);
55 ALOG(LOG_INFO, tag, "%s", &buffer[a]);
71 ALOG(LOG_INFO, tag, "%s", &buffer[a]);
77 ALOG(LOG_INFO, "logwrapper", "%s terminated by exit(%d)", tag,
82 ALOG(LOG_INFO, "logwrapper", "%s terminated by signal %d", tag,
85 ALOG(LOG_INFO, "logwrapper", "%s stopped by signal %d", tag,
88 ALOG(LOG_INFO, "logwrapper", "%s wait() failed: %s (%d)", tag,
/system/core/libcutils/
H A Dqtaguid.c99 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { argument
102 uint64_t kTag = ((uint64_t)tag << 32);
108 ALOGV("Tagging socket %d with tag %llx{%u,0} for uid %d", sockfd, kTag, tag, uid);
112 ALOGI("Tagging socket %d with tag %llx(%d) for uid %d failed errno=%d",
113 sockfd, kTag, tag, uid, res);
145 int qtaguid_deleteTagData(int tag, uid_t uid) { argument
148 uint64_t kTag = (uint64_t)tag << 32;
150 ALOGV("Deleting tag data with tag
[all...]
/system/core/liblog/
H A Dlogd_write.c133 int __android_log_write(int prio, const char *tag, const char *msg) argument
138 if (!tag)
139 tag = "";
142 if (!strcmp(tag, "HTC_RIL") ||
143 !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */
144 !strncmp(tag, "IMS", 3) || /* Any log tag with "IMS" as the prefix */
145 !strcmp(tag, "AT") ||
146 !strcmp(tag, "GS
163 __android_log_buf_write(int bufID, int prio, const char *tag, const char *msg) argument
192 __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
201 __android_log_print(int prio, const char *tag, const char *fmt, ...) argument
213 __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) argument
225 __android_log_assert(const char *cond, const char *tag, const char *fmt, ...) argument
251 __android_log_bwrite(int32_t tag, const void *payload, size_t len) argument
268 __android_log_btwrite(int32_t tag, char type, const void *payload, size_t len) argument
[all...]
H A Devent_tag_map.c44 /* array of event tags, sorted numerically by tag index */
53 static int scanTagLine(char** pData, EventTag* tag, int lineNum);
61 * We create a private mapping because we want to terminate the log tag
124 * The entries are sorted by tag number, so we can do a binary search.
126 const char* android_lookupEventTag(const EventTagMap* map, int tag) argument
137 cmp = map->tagArray[mid].tagIndex - tag;
139 /* tag is bigger */
142 /* tag is smaller */
164 * Determine whether "c" is a valid tag char.
184 * Crunch through the file, parsing the contents and creating a tag inde
333 scanTagLine(char** pData, EventTag* tag, int lineNum) argument
434 const EventTag* tag = &map->tagArray[i]; local
[all...]
H A Dfake_log_device.c79 char tag[kMaxTagLen]; member in struct:LogState::__anon405
170 * The tag (or '*' for the global level) comes first, followed by a colon
213 TRACE("ERROR: env tag too long (%d chars max)\n", kMaxTagLen-1);
247 TRACE("ERROR: garbage in tag env; expected whitespace\n");
258 strcpy(logState->tagSet[entry].tag, tagName);
261 logState->tagSet[entry].tag,
281 else if (strcmp(fstr, "tag") == 0)
347 int logPrio, const char* tag, const char* msg)
359 TRACE("LOG %d: %s %s", logPrio, tag, msg);
390 "%c/%-8s: ", priChar, tag);
346 showLog(LogState *state, int logPrio, const char* tag, const char* msg) argument
571 const char* tag = (const char*) vector[1].iov_base; local
[all...]
H A Dlogprint.c44 static FilterInfo * filterinfo_new(const char * tag, android_LogPriority pri) argument
49 p_ret->mTag = strdup(tag);
122 AndroidLogFormat *p_format, const char *tag)
130 if (0 == strcmp(tag, p_curFilter->mTag)) {
161 * and tag, and 0 if it should not
164 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri)
166 return pri >= filterPriForTag(p_format, tag);
214 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG;
359 * format: <priority:1><tag:N>\0<message:N>\0
361 * tag st
121 filterPriForTag( AndroidLogFormat *p_format, const char *tag) argument
163 android_log_shouldPrintLine( AndroidLogFormat *p_format, const char *tag, android_LogPriority pri) argument
944 const char *tag; local
[all...]
/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
286 * left to add the entry, or if the tag is unknown. data_count is the number of
287 * entries in the data array of the tag's type, not a count of
295 uint32_t tag,
320 * Find an entry with given tag value. If not found, returns -ENOENT. Otherwise,
323 * If multiple entries with the same tag exist, does not have any guarantees on
329 uint32_t tag,
[all...]
/system/netd/
H A Dlogwrapper.c29 int parent(const char *tag, int parent_read) { argument
46 ALOG(LOG_INFO, tag, "%s", &buffer[a]);
54 ALOG(LOG_INFO, tag, "%s", &buffer[a]);
70 ALOG(LOG_INFO, tag, "%s", &buffer[a]);
76 ALOG(LOG_INFO, "logwrapper", "%s terminated by exit(%d)", tag,
81 ALOG(LOG_INFO, "logwrapper", "%s terminated by signal %d", tag,
84 ALOG(LOG_INFO, "logwrapper", "%s stopped by signal %d", tag,
87 ALOG(LOG_INFO, "logwrapper", "%s wait() failed: %s (%d)", tag,
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp42 int setup(uint64_t tag);
43 bool checkTag(uint64_t tag, uid_t uid);
97 int SockInfo::setup(uint64_t tag) { argument
103 if (doCtrlCommand("t %d %llu", fd, tag) < 0) {
104 testPrintE("socket setup: failed to tag");
108 if (!checkTag(tag, getuid())) {
109 testPrintE("socket setup: Unexpected results: tag not found");
124 * tag + uid. But it is not fool proof.
125 * Without the kernel reporting more info on who setup the socket tag, it is
127 * Returns: true if tag foun
261 uint64_t tag = valid_tag2 + ((uint64_t)cnt << 32); local
[all...]
/system/extras/tests/lib/testUtil/
H A DtestUtil.c161 // Set tag used while logging to the logcat error interface
162 void testSetLogCatTag(const char *tag) argument
164 logCatTag = tag;
167 // Obtain pointer to current log to logcat error interface tag
/system/media/camera/tests/
H A Dcamera_metadata_tests_fake_vendor.h108 uint32_t tag);
110 uint32_t tag);
112 uint32_t tag);
121 uint32_t tag) {
123 int tag_section = (tag >> 16) - VENDOR_SECTION;
131 uint32_t tag) {
133 int tag_section = (tag >> 16) - VENDOR_SECTION;
136 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL;
137 int tag_index = tag & 0xFFFF;
142 uint32_t tag) {
120 get_fakevendor_section_name(const vendor_tag_query_ops_t *v, uint32_t tag) argument
130 get_fakevendor_tag_name(const vendor_tag_query_ops_t *v, uint32_t tag) argument
141 get_fakevendor_tag_type(const vendor_tag_query_ops_t *v, uint32_t tag) argument
[all...]
/system/core/debuggerd/
H A Dtombstone.c523 * Msg format is: <priority:1><tag:N>\0<message:N>\0
533 char* tag = entry->msg + 1; local
534 char* msg = tag + strlen(tag) + 1;
555 prioChar, tag, msg);
561 prioChar, tag, msg);
/system/media/camera/src/
H A Dcamera_metadata.c33 uint32_t tag; member in struct:camera_metadata_buffer_entry
310 uint32_t tag,
323 entry->tag = tag;
341 uint32_t tag,
345 int type = get_camera_metadata_tag_type(tag);
347 ALOGE("%s: Unknown tag %04x.", __FUNCTION__, tag);
352 tag,
359 uint32_t tag1 = ((camera_metadata_buffer_entry_t*)p1)->tag;
309 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument
340 add_camera_metadata_entry(camera_metadata_t *dst, uint32_t tag, const void *data, size_t data_count) argument
399 find_camera_metadata_entry(camera_metadata_t *src, uint32_t tag, camera_metadata_entry_t *entry) argument
431 find_camera_metadata_ro_entry(const camera_metadata_t *src, uint32_t tag, camera_metadata_ro_entry_t *entry) argument
563 get_camera_metadata_section_name(uint32_t tag) argument
576 get_camera_metadata_tag_name(uint32_t tag) argument
591 get_camera_metadata_tag_type(uint32_t tag) argument
[all...]
/system/core/adb/
H A Dadb.c91 const char* tag; member in struct:__anon269
123 for (tagn = 0; tags[tagn].tag != NULL; tagn++)
125 int taglen = strlen(tags[tagn].tag);
127 if (len == taglen && !memcmp(tags[tagn].tag, p, len) )
228 char *tag; local
233 case A_SYNC: tag = "SYNC"; break;
234 case A_CNXN: tag = "CNXN" ; break;
235 case A_OPEN: tag = "OPEN"; break;
236 case A_OKAY: tag = "OKAY"; break;
237 case A_CLSE: tag
[all...]

Completed in 80 milliseconds