/system/core/liblog/ |
D | pmsg_writer.cpp | 62 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in PmsgWrite() argument 71 if (logId != LOG_ID_EVENTS && logId != LOG_ID_SECURITY) { in PmsgWrite() 75 if (logId == LOG_ID_EVENTS) { in PmsgWrite() 117 header.id = logId; in PmsgWrite() 175 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, const char* filename, in __android_log_pmsg_file_write() argument 184 if ((logId == LOG_ID_KERNEL) || /* Verbotten */ in __android_log_pmsg_file_write() 185 (logId == LOG_ID_EVENTS) || /* Do not support binary content */ in __android_log_pmsg_file_write() 186 (logId == LOG_ID_SECURITY) || /* Bad idea to allow */ in __android_log_pmsg_file_write() 187 ((unsigned)logId >= 32)) { /* fit within logMask on arch32 */ in __android_log_pmsg_file_write() 236 ret = PmsgWrite(logId, &ts, vec, sizeof(vec) / sizeof(vec[0])); in __android_log_pmsg_file_write()
|
D | logger_read.cpp | 64 struct logger* android_logger_open(struct logger_list* logger_list, log_id_t logId) { in android_logger_open() argument 65 if (!logger_list || (logId >= LOG_ID_MAX)) { in android_logger_open() 69 logger_list->log_mask |= 1 << logId; in android_logger_open() 71 uintptr_t logger = logId; in android_logger_open() 77 struct logger_list* android_logger_list_open(log_id_t logId, int mode, unsigned int tail, in android_logger_list_open() argument 85 if (!android_logger_open(logger_list, logId)) { in android_logger_list_open()
|
D | logd_writer.cpp | 88 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in LogdWrite() argument 156 header.id = logId; in LogdWrite() 189 if (logId == LOG_ID_SECURITY) { in LogdWrite()
|
D | logd_writer.h | 23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
D | pmsg_writer.h | 23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
D | properties.cpp | 465 unsigned long __android_logger_get_buffer_size(log_id_t logId) { in __android_logger_get_buffer_size() argument 499 android_log_id_to_name(logId)); in __android_logger_get_buffer_size() 500 snprintf(key_ro, sizeof(key_ro), "%s.%s", global_default, android_log_id_to_name(logId)); in __android_logger_get_buffer_size()
|
D | pmsg_reader.cpp | 162 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio, const char* prefix, in __android_log_pmsg_file_read() argument 190 if (logId != LOG_ID_ANY) { in __android_log_pmsg_file_read() 191 logger_list.log_mask = (1 << logId); in __android_log_pmsg_file_read()
|
/system/core/logd/ |
D | LogListener.cpp | 101 log_id_t logId = static_cast<log_id_t>(header->id); in HandleData() local 102 if (/* logId < LOG_ID_MIN || */ logId >= LOG_ID_MAX || in HandleData() 103 logId == LOG_ID_KERNEL) { in HandleData() 107 if ((logId == LOG_ID_SECURITY) && in HandleData() 119 logbuf_->Log(logId, header->realtime, cred->uid, cred->pid, header->tid, msg, in HandleData()
|
/system/core/liblog/include/private/ |
D | android_logger.h | 125 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, 133 typedef ssize_t (*__android_log_pmsg_file_read_fn)(log_id_t logId, char prio, 138 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio, 151 unsigned long __android_logger_get_buffer_size(log_id_t logId);
|
/system/core/include/private/ |
D | android_logger.h | 125 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, 133 typedef ssize_t (*__android_log_pmsg_file_read_fn)(log_id_t logId, char prio, 138 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio, 151 unsigned long __android_logger_get_buffer_size(log_id_t logId);
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 2704 static ssize_t __pmsg_fn(log_id_t logId, char prio, const char* filename, in __pmsg_fn() argument 2707 EXPECT_EQ(LOG_ID_CRASH, logId); in __pmsg_fn() 2717 return arg || (LOG_ID_CRASH != logId) || (ANDROID_LOG_VERBOSE != prio) || in __pmsg_fn()
|