Home
last modified time | relevance | path

Searched refs:log_id (Results 1 – 14 of 14) sorted by relevance

/system/core/liblog/
Dlogger_name.c35 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()
Dfake_writer.c30 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()
Dlogger_write.c189 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()
DREADME82 const char *android_log_id_to_name(log_id_t log_id)
/system/core/logd/
DLogStatistics.cpp65 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 …]
DLogBuffer.cpp202 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()
DLogStatistics.h449 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()
DLogBufferElement.h58 LogBufferElement(log_id_t log_id, log_time realtime,
DLogBufferElement.cpp37 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, in LogBufferElement() argument
40 mLogId(log_id), in LogBufferElement()
DLogBuffer.h110 int log(log_id_t log_id, log_time realtime,
/system/core/base/
Dlogging.cpp210 static const log_id kLogIdToAndroidLogId[] = {
224 log_id lg_id = kLogIdToAndroidLogId[id]; in operator ()()
/system/core/logcat/
Dlogcat.cpp783 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/
Dlogger.h213 const char *android_log_id_to_name(log_id_t log_id);
Dlog.h530 typedef enum log_id { enum