/system/core/logd/ |
D | LogBuffer.h | 57 int log(log_id_t log_id, log_time realtime, 65 void clear(log_id_t id, uid_t uid = AID_ROOT); 66 unsigned long getSize(log_id_t id); 67 int setSize(log_id_t id, unsigned long size); 68 unsigned long getSizeUsed(log_id_t id); 88 void maybePrune(log_id_t id); 89 void prune(log_id_t id, unsigned long pruneRows, uid_t uid = AID_ROOT);
|
D | LogBufferElement.h | 45 static inline bool worstUidEnabledForLogid(log_id_t id) { in worstUidEnabledForLogid() 58 const log_id_t mLogId; 76 LogBufferElement(log_id_t log_id, log_time realtime, 81 log_id_t getLogId() const { return mLogId; } in getLogId()
|
D | LogTimes.h | 73 void triggerSkip_Locked(log_id_t id, unsigned int skip) { skipAhead[id] = skip; } in triggerSkip_Locked() 106 bool isWatching(log_id_t id) { return (mLogMask & (1<<id)) != 0; } in isWatching()
|
D | LogStatistics.h | 31 for (log_id_t i = LOG_ID_MIN; i < LOG_ID_MAX; i = (log_id_t) (i + 1)) 329 size_t sizes(log_id_t id) const { return mSizes[id]; } in sizes() 330 size_t elements(log_id_t id) const { return mElements[id]; } in elements() 331 size_t sizesTotal(log_id_t id) const { return mSizesTotal[id]; } in sizesTotal() 332 size_t elementsTotal(log_id_t id) const { return mElementsTotal[id]; } in elementsTotal()
|
D | CommandListener.cpp | 98 mBuf.clear((log_id_t) id, uid); in runCommand() 122 unsigned long size = mBuf.getSize((log_id_t) id); in runCommand() 154 if (mBuf.setSize((log_id_t) id, size)) { in runCommand() 182 unsigned long size = mBuf.getSizeUsed((log_id_t) id); in runCommand()
|
D | LogBuffer.cpp | 137 int LogBuffer::log(log_id_t log_id, log_time realtime, in log() 223 void LogBuffer::maybePrune(log_id_t id) { in maybePrune() 244 log_id_t id = e->getLogId(); in erase() 377 void LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in prune() 655 void LogBuffer::clear(log_id_t id, uid_t uid) { in clear() 662 unsigned long LogBuffer::getSizeUsed(log_id_t id) { in getSizeUsed() 670 int LogBuffer::setSize(log_id_t id, unsigned long size) { in setSize() 682 unsigned long LogBuffer::getSize(log_id_t id) { in getSize()
|
D | LogTimes.cpp | 260 for (log_id_t i = LOG_ID_MIN; i < LOG_ID_MAX; i = (log_id_t) (i + 1)) { in cleanSkip_Locked()
|
D | LogListener.cpp | 101 if (logbuf->log((log_id_t)header->id, header->realtime, in onDataAvailable()
|
D | LogStatistics.cpp | 67 log_id_t log_id = e->getLogId(); in add() 95 log_id_t log_id = e->getLogId(); in subtract() 122 log_id_t log_id = e->getLogId(); in drop()
|
D | LogBufferElement.cpp | 35 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, in LogBufferElement()
|
/system/core/include/log/ |
D | logger.h | 123 log_id_t id() in id() 125 return (log_id_t) entry.lid; in id() 140 log_id_t android_logger_get_id(struct logger *logger); 177 log_id_t id); 180 struct logger_list *android_logger_list_open(log_id_t id, 189 log_id_t android_name_to_log_id(const char *logName); 190 const char *android_log_id_to_name(log_id_t log_id);
|
D | log.h | 611 } log_id_t; typedef
|
/system/core/debuggerd/test/ |
D | log_fake.cpp | 68 extern "C" log_id_t android_name_to_log_id(const char*) { in android_name_to_log_id() 72 extern "C" struct logger_list* android_logger_list_open(log_id_t, int, unsigned int, pid_t) { in android_logger_list_open() argument
|
/system/core/liblog/ |
D | logd_write_kern.c | 46 static int __write_to_log_init(log_id_t, struct iovec *vec, size_t nr); 47 static int (*write_to_log)(log_id_t, struct iovec *vec, size_t nr) = __write_to_log_init; 77 static int __write_to_log_null(log_id_t log_fd __unused, struct iovec *vec __unused, in __write_to_log_null() 83 static int __write_to_log_kernel(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_kernel() 107 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_init()
|
D | logd_write.c | 55 static int __write_to_log_init(log_id_t, struct iovec *vec, size_t nr); 56 static int (*write_to_log)(log_id_t, struct iovec *vec, size_t nr) = __write_to_log_init; 136 static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_daemon() 317 const char *android_log_id_to_name(log_id_t log_id) in android_log_id_to_name() 326 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_init()
|
D | log_read_kern.c | 69 const char *android_log_id_to_name(log_id_t log_id) in android_log_id_to_name() 105 log_id_t android_name_to_log_id(const char *logName) in android_name_to_log_id() 158 log_id_t id; 190 log_id_t android_logger_get_id(struct logger *logger) in android_logger_get_id() 320 log_id_t id) in android_logger_open() 370 struct logger_list *android_logger_list_open(log_id_t id, in android_logger_list_open()
|
D | README | 63 log_id_t android_logger_get_id(struct logger *logger) 72 log_id_t id) 73 struct logger_list *android_logger_list_open(log_id_t id, int mode, 81 log_id_t android_name_to_log_id(const char *logName) 82 const char *android_log_id_to_name(log_id_t log_id)
|
D | log_read.c | 214 const char *android_log_id_to_name(log_id_t log_id) in android_log_id_to_name() 222 log_id_t android_name_to_log_id(const char *logName) in android_name_to_log_id() 258 log_id_t id; 277 log_id_t android_logger_get_id(struct logger *logger) in android_logger_get_id() 576 log_id_t id) in android_logger_open() 607 struct logger_list *android_logger_list_open(log_id_t id, in android_logger_list_open()
|
/system/core/liblog/tests/ |
D | libc_test.cpp | 27 typedef unsigned char log_id_t; // log_id_t missing as a result typedef 102 (log_id_t)LOG_ID_CRASH, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 1000, pid))); in TEST()
|
D | liblog_test.cpp | 605 log_id_t id = static_cast<log_id_t>(i); in TEST()
|
/system/core/logcat/ |
D | logcat.cpp | 611 const char *name = android_log_id_to_name((log_id_t)i); in main() 612 log_id_t log_id = android_name_to_log_id(name); in main() 614 if (log_id != (log_id_t)i) { in main()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 62 log_id_t id = android_name_to_log_id(buffer + sizeof(begin) - 1); in TEST()
|