/system/core/liblog/ |
D | logger_name.c | 35 LIBLOG_ABI_PUBLIC const char *android_log_id_to_name(log_id_t log_id) in android_log_id_to_name() argument 37 if (log_id >= LOG_ID_MAX) { in android_log_id_to_name() 38 log_id = LOG_ID_MAIN; in android_log_id_to_name() 40 return LOG_NAME[log_id]; in android_log_id_to_name()
|
D | fake_writer.c | 30 static int fakeWrite(log_id_t log_id, struct timespec *ts, 65 static int fakeWrite(log_id_t log_id, struct timespec *ts __unused, in fakeWrite() argument 71 if (/*(int)log_id >= 0 &&*/ (int)log_id >= (int)LOG_ID_MAX) { in fakeWrite() 75 logFd = logFds[(int)log_id]; in fakeWrite()
|
D | logger_write.c | 189 static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_daemon() argument 204 if (log_id == LOG_ID_SECURITY) { in __write_to_log_daemon() 217 } else if (log_id == LOG_ID_EVENTS) { in __write_to_log_daemon() 303 i = 1 << log_id; in __write_to_log_daemon() 307 retval = (*node->write)(log_id, &ts, vec, nr); in __write_to_log_daemon() 316 (void)(*node->write)(log_id, &ts, vec, nr); in __write_to_log_daemon() 323 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_init() argument 334 __write_to_log_daemon(log_id, vec, nr); in __write_to_log_init() 344 return write_to_log(log_id, vec, nr); in __write_to_log_init()
|
D | README | 82 const char *android_log_id_to_name(log_id_t log_id)
|
/system/core/logd/ |
D | LogStatistics.cpp | 65 log_id_t log_id = element->getLogId(); in add() local 67 mSizes[log_id] += size; in add() 68 ++mElements[log_id]; in add() 70 mSizesTotal[log_id] += size; in add() 71 ++mElementsTotal[log_id]; in add() 73 if (log_id == LOG_ID_KERNEL) { in add() 77 uidTable[log_id].add(element->getUid(), element); in add() 79 pidSystemTable[log_id].add(element->getPid(), element); in add() 91 if (log_id == LOG_ID_SECURITY) { in add() 100 log_id_t log_id = element->getLogId(); in subtract() local [all …]
|
D | LogBuffer.cpp | 202 int LogBuffer::log(log_id_t log_id, log_time realtime, in log() argument 205 if ((log_id >= LOG_ID_MAX) || (log_id < 0)) { in log() 209 LogBufferElement *elem = new LogBufferElement(log_id, realtime, in log() 211 if (log_id != LOG_ID_SECURITY) { in log() 214 if (log_id == LOG_ID_EVENTS) { in log() 281 maybePrune(log_id); in log()
|
D | LogStatistics.h | 449 log_id_t log_id = element->getLogId(); in erase() local 450 --mElements[log_id]; in erase() 451 --mDroppedElements[log_id]; in erase() 455 size_t len, log_id id) { in sort() 459 size_t len, log_id id, uid_t) { in sort()
|
D | LogBufferElement.h | 58 LogBufferElement(log_id_t log_id, log_time realtime,
|
D | LogBufferElement.cpp | 37 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, in LogBufferElement() argument 40 mLogId(log_id), in LogBufferElement()
|
D | LogBuffer.h | 110 int log(log_id_t log_id, log_time realtime,
|
/system/core/base/ |
D | logging.cpp | 210 static const log_id kLogIdToAndroidLogId[] = { 224 log_id lg_id = kLogIdToAndroidLogId[id]; in operator ()()
|
/system/core/logcat/ |
D | logcat.cpp | 783 log_id_t log_id = android_name_to_log_id(name); in main() local 785 if (log_id != (log_id_t)i) { in main() 819 log_id_t log_id = android_name_to_log_id(name); in main() local 821 if (log_id != (log_id_t)i) { in main()
|
/system/core/include/log/ |
D | logger.h | 213 const char *android_log_id_to_name(log_id_t log_id);
|
D | log.h | 530 typedef enum log_id { enum
|