/system/core/liblog/ |
logger_name.c | 35 LIBLOG_ABI_PUBLIC const char *android_log_id_to_name(log_id_t log_id) 37 if (log_id >= LOG_ID_MAX) { 38 log_id = LOG_ID_MAIN; 40 return LOG_NAME[log_id];
|
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, 71 if (/*(int)log_id >= 0 &&*/ (int)log_id >= (int)LOG_ID_MAX) { 75 logFd = logFds[(int)log_id];
|
logger_write.c | 189 static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr) 204 if (log_id == LOG_ID_SECURITY) { 217 } else if (log_id == LOG_ID_EVENTS) { 303 i = 1 << log_id; 307 retval = (*node->write)(log_id, &ts, vec, nr); 316 (void)(*node->write)(log_id, &ts, vec, nr); 323 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) 334 __write_to_log_daemon(log_id, vec, nr); 344 return write_to_log(log_id, vec, nr);
|
/system/core/logd/ |
LogStatistics.cpp | 65 log_id_t log_id = element->getLogId(); local 67 mSizes[log_id] += size; 68 ++mElements[log_id]; 70 mSizesTotal[log_id] += size; 71 ++mElementsTotal[log_id]; 73 if (log_id == LOG_ID_KERNEL) { 77 uidTable[log_id].add(element->getUid(), element); 79 pidSystemTable[log_id].add(element->getPid(), element); 91 if (log_id == LOG_ID_SECURITY) { 100 log_id_t log_id = element->getLogId() local 137 log_id_t log_id = element->getLogId(); local [all...] |
LogBufferElement.h | 58 LogBufferElement(log_id_t log_id, log_time realtime,
|
LogBuffer.h | 110 int log(log_id_t log_id, log_time realtime,
|
LogBufferElement.cpp | 37 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, 40 mLogId(log_id),
|
LogStatistics.h | 449 log_id_t log_id = element->getLogId(); local 450 --mElements[log_id]; 451 --mDroppedElements[log_id]; 455 size_t len, log_id id) { 459 size_t len, log_id id, uid_t) {
|
LogBuffer.cpp | 202 int LogBuffer::log(log_id_t log_id, log_time realtime, 205 if ((log_id >= LOG_ID_MAX) || (log_id < 0)) { 209 LogBufferElement *elem = new LogBufferElement(log_id, realtime, 211 if (log_id != LOG_ID_SECURITY) { 214 if (log_id == LOG_ID_EVENTS) { 281 maybePrune(log_id); [all...] |
/bionic/libc/bionic/ |
libc_logging.cpp | 559 char log_id = (priority == ANDROID_LOG_FATAL) ? LOG_ID_CRASH : LOG_ID_MAIN; local 560 vec[0].iov_base = &log_id; 561 vec[0].iov_len = sizeof(log_id); 602 char log_id = LOG_ID_EVENTS; local 603 vec[0].iov_base = &log_id; 604 vec[0].iov_len = sizeof(log_id);
|
/system/core/include/log/ |
logger.h | 213 const char *android_log_id_to_name(log_id_t log_id);
|
log.h | 530 typedef enum log_id { enum
|
/system/core/base/ |
logging.cpp | 210 static const log_id kLogIdToAndroidLogId[] = { 224 log_id lg_id = kLogIdToAndroidLogId[id];
|
/system/core/logcat/ |
logcat.cpp | 775 log_id_t log_id = android_name_to_log_id(optarg); local 776 const char *name = android_log_id_to_name(log_id); 781 idMask |= (1 << log_id); 788 log_id_t log_id = android_name_to_log_id(name); local 790 if (log_id != (log_id_t)i) { [all...] |