Home
last modified time | relevance | path

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

/system/core/liblog/
Dpmsg_writer.cpp62 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()
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.cpp88 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()
Dlogd_writer.h23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dpmsg_writer.h23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dproperties.cpp465 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()
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/core/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/core/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,
151 unsigned long __android_logger_get_buffer_size(log_id_t logId);
/system/core/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,
151 unsigned long __android_logger_get_buffer_size(log_id_t logId);
/system/core/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()