/system/core/liblog/ |
D | logger_name.cpp | 38 const char* android_log_id_to_name(log_id_t log_id) { in android_log_id_to_name() 45 static_assert(std::is_same<std::underlying_type<log_id_t>::type, uint32_t>::value, 48 log_id_t android_name_to_log_id(const char* logName) { in android_name_to_log_id() 53 return static_cast<log_id_t>(LOG_ID_MAX); in android_name_to_log_id() 66 return static_cast<log_id_t>(ret); in android_name_to_log_id() 70 return static_cast<log_id_t>(LOG_ID_MAX); in android_name_to_log_id()
|
D | config_read.cpp | 36 if (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0)) { in __android_log_add_transport() 45 if (((*transp->available)(static_cast<log_id_t>(i)) < 0) && in __android_log_add_transport() 46 (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0))) { in __android_log_add_transport()
|
D | fake_writer.cpp | 30 static int fakeWrite(log_id_t log_id, struct timespec* ts, struct iovec* vec, size_t nr); 56 snprintf(buf, sizeof(buf), "/dev/log_%s", android_log_id_to_name(static_cast<log_id_t>(i))); in fakeOpen() 74 static int fakeWrite(log_id_t log_id, struct timespec*, struct iovec* vec, size_t nr) { in fakeWrite()
|
D | config_write.cpp | 36 if (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0)) { in __android_log_add_transport() 45 if (((*transp->available)(static_cast<log_id_t>(i)) < 0) && in __android_log_add_transport() 46 (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0))) { in __android_log_add_transport()
|
D | logger.h | 45 int (*available)(log_id_t logId); /* Does not cause resources to be taken */ 49 int (*write)(log_id_t logId, struct timespec* ts, struct iovec* vec, 62 int (*available)(log_id_t logId); 112 log_id_t logId;
|
D | pmsg_writer.cpp | 40 static int pmsgAvailable(log_id_t logId); 41 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 75 static int pmsgAvailable(log_id_t logId) { in pmsgAvailable() 98 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in pmsgWrite() 203 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, const char* filename, in __android_log_pmsg_file_write()
|
D | stderr_write.cpp | 47 static int stderrAvailable(log_id_t logId); 48 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 142 static int stderrAvailable(log_id_t logId) { in stderrAvailable() 149 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in stderrWrite()
|
D | logd_writer.cpp | 46 static int logdAvailable(log_id_t LogId); 49 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 113 static int logdAvailable(log_id_t logId) { in logdAvailable() 126 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in logdWrite()
|
D | logger_write.cpp | 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; 102 (!node->available || ((*node->available)(static_cast<log_id_t>(i)) >= 0))) { in __android_log_cache_available() 239 static int __write_to_log_daemon(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_daemon() 379 static int __write_to_log_init(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_init() 474 return write_to_log(static_cast<log_id_t>(bufID), vec, 3); in __android_log_buf_write() 629 static int __write_to_log_null(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_null()
|
/system/core/logd/ |
D | LogBuffer.h | 117 int log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, 129 bool clear(log_id_t id, uid_t uid = AID_ROOT); 130 unsigned long getSize(log_id_t id); 131 int setSize(log_id_t id, unsigned long size); 132 unsigned long getSizeUsed(log_id_t id); 186 void maybePrune(log_id_t id); 188 void kickMe(LogTimeEntry* me, log_id_t id, unsigned long pruneRows); 190 bool prune(log_id_t id, unsigned long pruneRows, uid_t uid = AID_ROOT);
|
D | LogBufferElement.h | 59 LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, 68 log_id_t getLogId() const { in getLogId() 69 return static_cast<log_id_t>(mLogId); in getLogId()
|
D | LogStatistics.h | 43 for (log_id_t i = LOG_ID_MIN; (i) < LOG_ID_MAX; (i) = (log_id_t)((i) + 1)) 176 log_id_t id = LOG_ID_MAX) const { 305 std::string formatHeader(const std::string& name, log_id_t id) const; 306 std::string format(const LogStatistics& stat, log_id_t id) const; 371 std::string formatHeader(const std::string& name, log_id_t id) const; 372 std::string format(const LogStatistics& stat, log_id_t id) const; 453 std::string formatHeader(const std::string& name, log_id_t id) const; 454 std::string format(const LogStatistics& stat, log_id_t id) const; 492 std::string formatHeader(const std::string& name, log_id_t id) const; 493 std::string format(const LogStatistics& stat, log_id_t id) const; [all …]
|
D | LogTimes.h | 80 void triggerSkip_Locked(log_id_t id, unsigned int skip) { in triggerSkip_Locked() 92 bool isWatching(log_id_t id) const { in isWatching()
|
D | LogStatistics.cpp | 85 log_id_t log_id = element->getLogId(); in addTotal() 93 log_id_t log_id = element->getLogId(); in add() 163 log_id_t log_id = element->getLogId(); in subtract() 208 log_id_t log_id = element->getLogId(); in drop() 300 std::string UidEntry::formatHeader(const std::string& name, log_id_t id) const { in formatHeader() 335 std::string UidEntry::format(const LogStatistics& stat, log_id_t id) const { in format() 437 log_id_t /* id */) const { in formatHeader() 444 log_id_t /* id */) const { in format() 462 log_id_t /* id */) const { in formatHeader() 469 log_id_t /* id */) const { in format() [all …]
|
D | LogBufferInterface.h | 33 virtual int log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid,
|
/system/core/liblog/include/private/ |
D | android_logger.h | 113 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, 117 #define LOG_ID_ANY ((log_id_t)-1) 121 typedef ssize_t (*__android_log_pmsg_file_read_fn)(log_id_t logId, char prio, 126 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio, 147 unsigned long __android_logger_get_buffer_size(log_id_t logId);
|
/system/core/include/private/ |
D | android_logger.h | 113 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, 117 #define LOG_ID_ANY ((log_id_t)-1) 121 typedef ssize_t (*__android_log_pmsg_file_read_fn)(log_id_t logId, char prio, 126 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio, 147 unsigned long __android_logger_get_buffer_size(log_id_t logId);
|
/system/core/liblog/include_vndk/log/ |
D | log_id.h | 38 } log_id_t; typedef 58 log_id_t android_name_to_log_id(const char* logName); 59 const char* android_log_id_to_name(log_id_t log_id);
|
D | log_read.h | 174 log_id_t id() { in id() 175 return static_cast<log_id_t>(entry.lid); in id() 198 log_id_t android_logger_get_id(struct logger* logger); 238 struct logger* android_logger_open(struct logger_list* logger_list, log_id_t id); 241 struct logger_list* android_logger_list_open(log_id_t id, int mode,
|
/system/core/liblog/include/log/ |
D | log_id.h | 38 } log_id_t; typedef 58 log_id_t android_name_to_log_id(const char* logName); 59 const char* android_log_id_to_name(log_id_t log_id);
|
D | log_read.h | 174 log_id_t id() { in id() 175 return static_cast<log_id_t>(entry.lid); in id() 198 log_id_t android_logger_get_id(struct logger* logger); 238 struct logger* android_logger_open(struct logger_list* logger_list, log_id_t id); 241 struct logger_list* android_logger_list_open(log_id_t id, int mode,
|
/system/core/debuggerd/libdebuggerd/test/ |
D | log_fake.cpp | 72 extern "C" log_id_t android_name_to_log_id(const char*) { in android_name_to_log_id() 76 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/libunwindstack/tests/ |
D | LogFake.cpp | 81 extern "C" log_id_t android_name_to_log_id(const char*) { in android_name_to_log_id() 85 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 | log_id_test.cpp | 37 log_id_t id = static_cast<log_id_t>(i); in TEST()
|
D | log_read_test.cpp | 89 log_id_t id = static_cast<log_id_t>(i); in TEST()
|