Searched refs:tag (Results 1 - 25 of 41) sorted by relevance

12

/system/core/include/cutils/
H A Dklog.h32 #define KLOG_ERROR(tag,x...) klog_write(3, "<3>" tag ": " x)
33 #define KLOG_WARNING(tag,x...) klog_write(4, "<4>" tag ": " x)
34 #define KLOG_NOTICE(tag,x...) klog_write(5, "<5>" tag ": " x)
35 #define KLOG_INFO(tag,x...) klog_write(6, "<6>" tag ": " x)
36 #define KLOG_DEBUG(tag,x...) klog_write(7, "<7>" tag "
[all...]
H A Dqtaguid.h31 extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid);
46 * Delete all tag info that relates to the given tag an uid.
47 * If the tag is 0, then ALL info about the uid is freeded.
54 extern int qtaguid_deleteTagData(int tag, uid_t uid);
H A Dtrace.h38 * following ATRACE_TAG_* macros. The trace tag is used to filter tracing in
53 #define ATRACE_TAG_NEVER 0 // This tag is never enabled.
54 #define ATRACE_TAG_ALWAYS (1<<0) // This tag is always enabled.
86 * Note this message includes a tag, the pid, and the string given as the name.
165 * Test if a given tag is currently enabled.
166 * Returns nonzero if the tag is enabled, otherwise zero.
170 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) argument
172 return atrace_get_enabled_tags() & tag;
180 static inline void atrace_begin(uint64_t tag, const char* name) argument
182 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) {
196 atrace_end(uint64_t tag) argument
213 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument
231 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument
250 atrace_int(uint64_t tag, const char* name, int32_t value) argument
267 atrace_int64(uint64_t tag, const char* name, int64_t value) argument
[all...]
/system/core/liblog/
H A Dlogd_write.c135 int __android_log_write(int prio, const char *tag, const char *msg) argument
141 if (!tag)
142 tag = "";
145 if (!strcmp(tag, "HTC_RIL") ||
146 !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */
147 !strncmp(tag, "IMS", 3) || /* Any log tag with "IMS" as the prefix */
148 !strcmp(tag, "AT") ||
149 !strcmp(tag, "GS
170 __android_log_buf_write(int bufID, int prio, const char *tag, const char *msg) argument
205 __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
214 __android_log_print(int prio, const char *tag, const char *fmt, ...) argument
226 __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) argument
238 __android_log_assert(const char *cond, const char *tag, const char *fmt, ...) argument
264 __android_log_bwrite(int32_t tag, const void *payload, size_t len) argument
281 __android_log_btwrite(int32_t tag, char type, const void *payload, size_t len) argument
[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...]
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::__anon171
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...]
/system/core/include/android/
H A Dlog.h43 * - a log tag
46 * The tag normally corresponds to the component that emits the log message,
94 int __android_log_write(int prio, const char *tag, const char *text);
99 int __android_log_print(int prio, const char *tag, const char *fmt, ...)
109 int __android_log_vprint(int prio, const char *tag,
116 void __android_log_assert(const char *cond, const char *tag,
/system/media/camera/tests/
H A Dcamera_metadata_tests_fake_vendor.h108 uint32_t tag);
110 uint32_t tag);
112 uint32_t tag);
125 uint32_t tag) {
127 int tag_section = (tag >> 16) - VENDOR_SECTION;
135 uint32_t tag) {
137 int tag_section = (tag >> 16) - VENDOR_SECTION;
140 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL;
141 int tag_index = tag & 0xFFFF;
146 uint32_t tag) {
124 get_fakevendor_section_name(const vendor_tag_query_ops_t *v, uint32_t tag) argument
134 get_fakevendor_tag_name(const vendor_tag_query_ops_t *v, uint32_t tag) argument
145 get_fakevendor_tag_type(const vendor_tag_query_ops_t *v, uint32_t tag) argument
172 unsigned int start, end, tag; local
[all...]
H A Dcamera_metadata_tests.cpp262 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag);
271 EXPECT_EQ(ANDROID_SENSOR_SENSITIVITY, entry.tag);
280 EXPECT_EQ(ANDROID_LENS_FOCUS_DISTANCE, entry.tag);
289 EXPECT_EQ(ANDROID_COLOR_CORRECTION_TRANSFORM, entry.tag);
357 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag);
362 entry.tag = 1234;
369 EXPECT_EQ((uint32_t)1234, entry.tag);
438 EXPECT_EQ(e1.tag, e2.tag);
498 EXPECT_EQ(e1.tag, e
[all...]
/system/core/include/log/
H A Devent_tag_map.h30 * Open the specified file as an event log tag map.
42 * Look up a tag by index. Returns the tag string, or NULL if not found.
44 const char* android_lookupEventTag(const EventTagMap* map, int tag);
H A Dlogd.h41 int __android_log_bwrite(int32_t tag, const void *payload, size_t len);
42 int __android_log_btwrite(int32_t tag, char type, const void *payload,
H A Dlog.h63 * This is the local tag used for the following simplified
65 * before using the other macros to change the tag.
426 * The second argument may be NULL or "" to indicate the "global" tag.
429 #define ALOG(priority, tag, ...) \
430 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
437 #define LOG_PRI(priority, tag, ...) \
438 android_printLog(priority, tag, __VA_ARGS__)
445 #define LOG_PRI_VA(priority, tag, fmt, args) \
446 android_vprintLog(priority, NULL, tag, fmt, args)
450 * Conditional given a desired logging priority and tag
[all...]
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/libutils/
H A DLog.cpp24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument
26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
/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
315 * left to add the entry, or if the tag is unknown. data_count is the number of
316 * entries in the data array of the tag's type, not a count of
324 uint32_t tag,
349 * Find an entry with given tag value. If not found, returns -ENOENT. Otherwise,
352 * If multiple entries with the same tag exist, does not have any guarantees on
358 uint32_t tag,
[all...]
/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/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...]
/system/core/include/utils/
H A DTrace.h47 inline ScopedTrace(uint64_t tag, const char* name) argument
48 : mTag(tag) {
H A DLog.h43 LogIfSlow(const char* tag, android_LogPriority priority,
/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/media/camera/src/
H A Dcamera_metadata.c50 uint32_t tag; member in struct:camera_metadata_buffer_entry
395 uint32_t tag_section = entry.tag >> 16;
396 int tag_type = get_camera_metadata_tag_type(entry.tag);
398 ALOGE("%s: Entry index %u had tag type %d, but the type was %d",
414 " expected align %d, (tag name %s, data size %u)",
416 get_camera_metadata_tag_name(entry.tag) ?: "unknown",
434 "(%u), tag name: %s", __FUNCTION__, i, entry.data.offset,
435 get_camera_metadata_tag_name(entry.tag) ?: "unknown");
504 uint32_t tag,
521 entry->tag
503 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument
539 add_camera_metadata_entry(camera_metadata_t *dst, uint32_t tag, const void *data, size_t data_count) argument
598 find_camera_metadata_entry(camera_metadata_t *src, uint32_t tag, camera_metadata_entry_t *entry) argument
631 find_camera_metadata_ro_entry(const camera_metadata_t *src, uint32_t tag, camera_metadata_ro_entry_t *entry) argument
766 get_camera_metadata_section_name(uint32_t tag) argument
779 get_camera_metadata_tag_name(uint32_t tag) argument
794 get_camera_metadata_tag_type(uint32_t tag) argument
893 print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument
[all...]
/system/core/libcutils/tests/memset_mips/
H A Dtest_memset.c82 testone(char *tag, void (*fn)(), int trials, int minbytes, int maxbytes, int size, int threshold) argument
149 printf ("%s: verify failure: preguard:%p d=%p v=%08x got=%08x n=%d\n", tag, p, d, v, got, n);
153 printf ("%s: verify failure: arena:%p d=%p v=%08x got=%08x n=%d\n", tag, p, d, v, n);
157 printf ("%s: verify failure: postguard:%p d=%p v=%08x got=%08x n=%d\n", tag, p, d, v, n);
171 tag, samples, totalbytes/samples, totalunits/samples, (double)totalbytes/(double)totalunits);
214 char tag[40]; local
225 sprintf(tag, "%10s: %7s %4d-%4d", fp->name, pp->type, pp->minbytes, pp->maxbytes);
229 testone(tag, fp->fn, pp->trials, pp->minbytes, pp->maxbytes, fp->size, threshold);
/system/security/softkeymaster/
H A Dmodule.cpp57 dev->common.tag = HARDWARE_DEVICE_TAG;
87 tag: HARDWARE_MODULE_TAG,
/system/extras/tests/include/
H A DtestUtil.h47 void testSetLogCatTag(const char *tag);

Completed in 252 milliseconds

12