Searched refs:logId (Results 1 – 9 of 9) sorted by relevance
/system/logging/liblog/ |
D | pmsg_writer.cpp | 70 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in PmsgWrite() argument 79 if (logId != LOG_ID_EVENTS && logId != LOG_ID_SECURITY) { in PmsgWrite() 83 if (logId == LOG_ID_EVENTS) { in PmsgWrite() 125 header.id = logId; in PmsgWrite() 183 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, const char* filename, in __android_log_pmsg_file_write() argument 192 if ((logId == LOG_ID_KERNEL) || /* Verbotten */ in __android_log_pmsg_file_write() 193 (logId == LOG_ID_EVENTS) || /* Do not support binary content */ in __android_log_pmsg_file_write() 194 (logId == LOG_ID_SECURITY) || /* Bad idea to allow */ in __android_log_pmsg_file_write() 195 ((unsigned)logId >= 32)) { /* fit within logMask on arch32 */ in __android_log_pmsg_file_write() 244 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 | 119 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in LogdWrite() argument 128 logId == LOG_ID_SECURITY ? LogdSocket::BlockingSocket() : LogdSocket::NonBlockingSocket(); in LogdWrite() 170 header.id = logId; in LogdWrite()
|
D | pmsg_writer.h | 23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
D | logd_writer.h | 23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
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/logging/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/logging/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,
|
/system/logging/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()
|