/system/core/logd/ |
D | LogBuffer.h | 110 int log(log_id_t log_id, log_time realtime, 118 bool clear(log_id_t id, uid_t uid = AID_ROOT); 119 unsigned long getSize(log_id_t id); 120 int setSize(log_id_t id, unsigned long size); 121 unsigned long getSizeUsed(log_id_t id); 144 void maybePrune(log_id_t id); 145 bool prune(log_id_t id, unsigned long pruneRows, uid_t uid = AID_ROOT);
|
D | LogStatistics.h | 36 for (log_id_t i = LOG_ID_MIN; i < LOG_ID_MAX; i = (log_id_t) (i + 1)) 132 log_id_t id = LOG_ID_MAX) const { 246 std::string formatHeader(const std::string &name, log_id_t id) const; 247 std::string format(const LogStatistics &stat, log_id_t id) const; 306 std::string formatHeader(const std::string &name, log_id_t id) const; 307 std::string format(const LogStatistics &stat, log_id_t id) const; 369 std::string formatHeader(const std::string &name, log_id_t id) const; 370 std::string format(const LogStatistics &stat, log_id_t id) const; 400 std::string formatHeader(const std::string &name, log_id_t id) const; 401 std::string format(const LogStatistics &stat, log_id_t id) const; [all …]
|
D | LogBufferElement.h | 40 const log_id_t mLogId; 58 LogBufferElement(log_id_t log_id, log_time realtime, 63 log_id_t getLogId() const { return mLogId; } in getLogId()
|
D | LogStatistics.cpp | 65 log_id_t log_id = element->getLogId(); in add() 100 log_id_t log_id = element->getLogId(); in subtract() 137 log_id_t log_id = element->getLogId(); in drop() 205 std::string UidEntry::formatHeader(const std::string &name, log_id_t id) const { in formatHeader() 216 std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const { in format() 324 std::string PidEntry::formatHeader(const std::string &name, log_id_t /* id */) const { in formatHeader() 333 std::string PidEntry::format(const LogStatistics &stat, log_id_t /* id */) const { in format() 361 std::string TidEntry::formatHeader(const std::string &name, log_id_t /* id */) const { in formatHeader() 370 std::string TidEntry::format(const LogStatistics &stat, log_id_t /* id */) const { in format() 401 std::string TagEntry::formatHeader(const std::string &name, log_id_t id) const { in formatHeader() [all …]
|
D | LogTimes.h | 75 void triggerSkip_Locked(log_id_t id, unsigned int skip) { skipAhead[id] = skip; } in triggerSkip_Locked() 114 bool isWatching(log_id_t id) { return (mLogMask & (1<<id)) != 0; } in isWatching()
|
D | CommandListener.cpp | 100 cli->sendMsg(mBuf.clear((log_id_t) id, uid) ? "busy" : "success"); in runCommand() 123 unsigned long size = mBuf.getSize((log_id_t) id); in runCommand() 155 if (mBuf.setSize((log_id_t) id, size)) { in runCommand() 183 unsigned long size = mBuf.getSizeUsed((log_id_t) id); in runCommand()
|
D | LogBuffer.cpp | 202 int LogBuffer::log(log_id_t log_id, log_time realtime, in log() 290 void LogBuffer::maybePrune(log_id_t id) { in maybePrune() 314 log_id_t id = element->getLogId(); in erase() 487 bool LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in prune() 840 bool LogBuffer::clear(log_id_t id, uid_t uid) { in clear() 882 unsigned long LogBuffer::getSizeUsed(log_id_t id) { in getSizeUsed() 890 int LogBuffer::setSize(log_id_t id, unsigned long size) { in setSize() 902 unsigned long LogBuffer::getSize(log_id_t id) { in getSize()
|
D | LogUtils.h | 56 static inline bool worstUidEnabledForLogid(log_id_t id) { in worstUidEnabledForLogid()
|
D | LogTimes.cpp | 282 for (log_id_t i = LOG_ID_MIN; i < LOG_ID_MAX; i = (log_id_t) (i + 1)) { in cleanSkip_Locked()
|
D | LogListener.cpp | 112 if (logbuf->log((log_id_t)header->id, header->realtime, in onDataAvailable()
|
/system/core/include/log/ |
D | logger.h | 140 log_id_t id() in id() 142 return (log_id_t) entry.lid; in id() 157 log_id_t android_logger_get_id(struct logger *logger); 196 log_id_t id); 199 struct logger_list *android_logger_list_open(log_id_t id, 212 log_id_t android_name_to_log_id(const char *logName); 213 const char *android_log_id_to_name(log_id_t log_id);
|
D | log.h | 546 } log_id_t; typedef 598 int android_log_write_list(android_log_context ctx, log_id_t id);
|
/system/core/include/private/ |
D | android_logger.h | 109 log_id_t logId, 114 #define LOG_ID_ANY ((log_id_t)-1) 119 log_id_t logId, 125 log_id_t logId, char prio, const char *prefix,
|
/system/core/liblog/ |
D | logger.h | 46 int (*available)(log_id_t logId); 49 int (*write)(log_id_t logId, struct timespec *ts, struct iovec *vec, size_t nr); 60 int (*available)(log_id_t logId); 111 log_id_t logId;
|
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() 43 LIBLOG_ABI_PUBLIC log_id_t android_name_to_log_id(const char *logName) in android_name_to_log_id()
|
D | pmsg_writer.c | 42 static int pmsgAvailable(log_id_t logId); 43 static int pmsgWrite(log_id_t logId, struct timespec *ts, 90 static int pmsgAvailable(log_id_t logId) in pmsgAvailable() 117 static int pmsgWrite(log_id_t logId, struct timespec *ts, in pmsgWrite() 224 log_id_t logId, in __android_log_pmsg_file_write()
|
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()
|
D | logd_writer.c | 48 static int logdAvailable(log_id_t LogId); 51 static int logdWrite(log_id_t logId, struct timespec *ts, 103 static int logdAvailable(log_id_t logId) in logdAvailable() 117 static int logdWrite(log_id_t logId, struct timespec *ts, in logdWrite()
|
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 | logger_read.c | 54 LIBLOG_ABI_PUBLIC log_id_t android_logger_get_id(struct logger *logger) in android_logger_get_id() 93 log_id_t logId = logger->logId; in init_transport_context() 280 log_id_t logId) in android_logger_open() 324 log_id_t logId, in android_logger_list_open()
|
D | logger_write.c | 40 static int __write_to_log_init(log_id_t, struct iovec *vec, size_t nr); 41 static int (*write_to_log)(log_id_t, struct iovec *vec, size_t nr) = __write_to_log_init; 224 static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_daemon() 358 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_init()
|
D | pmsg_reader.c | 31 static int pmsgAvailable(log_id_t logId); 59 static int pmsgAvailable(log_id_t logId) in pmsgAvailable() 260 log_id_t logId, in __android_log_pmsg_file_read() 280 log_id_t id; in __android_log_pmsg_file_read()
|
/system/core/debuggerd/test/ |
D | log_fake.cpp | 71 extern "C" log_id_t android_name_to_log_id(const char*) { in android_name_to_log_id() 75 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/tests/ |
D | libc_test.cpp | 27 typedef unsigned char log_id_t; // log_id_t missing as a result typedef 100 (log_id_t)LOG_ID_CRASH, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 1000, pid))); in TEST()
|
/system/core/logcat/ |
D | logcat.cpp | 775 log_id_t log_id = android_name_to_log_id(optarg); in main() 787 const char *name = android_log_id_to_name((log_id_t)i); in main() 788 log_id_t log_id = android_name_to_log_id(name); in main() 790 if (log_id != (log_id_t)i) { in main()
|