/system/core/include/cutils/ |
H A D | klog.h | 26 #define KLOG_ERROR(tag,x...) klog_write(3, "<3>" tag ": " x) 27 #define KLOG_WARNING(tag,x...) klog_write(4, "<4>" tag ": " x) 28 #define KLOG_NOTICE(tag,x...) klog_write(5, "<5>" tag ": " x) 29 #define KLOG_INFO(tag,x...) klog_write(6, "<6>" tag ": " x) 30 #define KLOG_DEBUG(tag,x...) klog_write(7, "<7>" tag " [all...] |
H A D | qtaguid.h | 31 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 D | log.h | 63 * This is the local tag used for the following simplified 65 * before using the other macros to change the tag. 345 * The second argument may be NULL or "" to indicate the "global" tag. 348 #define ALOG(priority, tag, ...) \ 349 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__) 356 #define LOG_PRI(priority, tag, ...) \ 357 android_printLog(priority, tag, __VA_ARGS__) 364 #define LOG_PRI_VA(priority, tag, fmt, args) \ 365 android_vprintLog(priority, NULL, tag, fmt, args) 369 * Conditional given a desired logging priority and tag [all...] |
H A D | event_tag_map.h | 30 * 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 D | logd.h | 41 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 D | logprint.h | 49 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/liblog/ |
H A D | logd_write.c | 133 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 D | logprint.c | 44 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 D | event_tag_map.c | 44 /* 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 D | fake_log_device.c | 79 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...] |
/system/core/include/android/ |
H A D | log.h | 43 * - 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 D | camera_metadata_tests_fake_vendor.h | 108 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...] |
H A D | camera_metadata_tests.cpp | 238 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag); 247 EXPECT_EQ(ANDROID_SENSOR_SENSITIVITY, entry.tag); 256 EXPECT_EQ(ANDROID_LENS_FOCUS_DISTANCE, entry.tag); 265 EXPECT_EQ(ANDROID_COLOR_TRANSFORM, entry.tag); 333 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag); 338 entry.tag = 1234; 345 EXPECT_EQ((uint32_t)1234, entry.tag); 394 EXPECT_EQ(e1.tag, e2.tag); 453 EXPECT_EQ(e1.tag, e [all...] |
/system/core/libcutils/ |
H A D | qtaguid.c | 99 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/vold/ |
H A D | logwrapper.c | 30 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/media/camera/include/system/ |
H A D | camera_metadata.h | 82 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/core/logwrapper/ |
H A D | logwrapper.c | 48 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/media/camera/src/ |
H A D | camera_metadata.c | 33 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...] |
H A D | camera_metadata_tag_info.c | 21 * maintaining the tag info. 130 #define TIDX(section, tag) \ 131 [ ANDROID_ ## section ## _ ## tag - ANDROID_ ## section ## _START ] 133 #define TIIDX(section, tag) \ 134 [ ANDROID_ ## section ## _ ## tag - ANDROID_ ## section ## _INFO_START ]
|
/system/netd/ |
H A D | logwrapper.c | 29 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/core/toolbox/ |
H A D | log.c | 82 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/extras/tests/include/ |
H A D | testUtil.h | 47 void testSetLogCatTag(const char *tag);
|
/system/security/keystore/ |
H A D | test-keystore | 62 diff $baseline_file $log_file || (log $tag FAILED && exit 1) 265 log $tag START 269 log $tag PASSED
|
/system/extras/tests/iptables/qtaguid/ |
H A D | socketTag.cpp | 42 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/core/adb/ |
H A D | adb.c | 91 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...] |