Home
last modified time | relevance | path

Searched refs:logId (Results 1 – 9 of 9) sorted by relevance

/system/logging/liblog/
Dpmsg_writer.cpp70 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()
Dlogger_read.cpp64 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()
Dlogd_writer.cpp119 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()
Dpmsg_writer.h23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dlogd_writer.h23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dpmsg_reader.cpp162 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/
DLogListener.cpp101 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/
Dandroid_logger.h125 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/
Dliblog_test.cpp2704 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()