Home
last modified time | relevance | path

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

/system/core/liblog/
Dpmsg_writer.c40 static int pmsgAvailable(log_id_t logId);
41 static int pmsgWrite(log_id_t logId, struct timespec *ts,
71 static int pmsgAvailable(log_id_t logId) in pmsgAvailable() argument
73 if (logId > LOG_ID_SECURITY) { in pmsgAvailable()
76 if ((logId != LOG_ID_SECURITY) && in pmsgAvailable()
77 (logId != LOG_ID_EVENTS) && in pmsgAvailable()
98 static int pmsgWrite(log_id_t logId, struct timespec *ts, in pmsgWrite() argument
108 if ((logId == LOG_ID_EVENTS) && !__android_log_is_debuggable()) { in pmsgWrite()
147 header.id = logId; in pmsgWrite()
205 log_id_t logId, in __android_log_pmsg_file_write() argument
[all …]
Dlogger_read.c56 return ((struct android_log_logger *)logger)->logId; in android_logger_get_id()
93 log_id_t logId = logger->logId; in init_transport_context() local
95 if ((logId == LOG_ID_SECURITY) && in init_transport_context()
101 (transport->available(logId) >= 0))) { in init_transport_context()
102 logMask |= 1 << logId; in init_transport_context()
140 if ((transp->logMask & (1 << logger_internal->logId)) && \
280 log_id_t logId) in android_logger_open() argument
286 if (!logger_list_internal || (logId >= LOG_ID_MAX)) { in android_logger_open()
291 if (logger->logId == logId) { in android_logger_open()
301 logger->logId = logId; in android_logger_open()
[all …]
Dlogd_writer.c51 static int logdWrite(log_id_t logId, struct timespec *ts,
103 static int logdAvailable(log_id_t logId) in logdAvailable() argument
105 if (logId > LOG_ID_SECURITY) { in logdAvailable()
117 static int logdWrite(log_id_t logId, struct timespec *ts, in logdWrite() argument
209 header.id = logId; in logdWrite()
254 if (logId == LOG_ID_SECURITY) { in logdWrite()
Dlogger.h46 int (*available)(log_id_t logId);
49 int (*write)(log_id_t logId, struct timespec *ts, struct iovec *vec, size_t nr);
60 int (*available)(log_id_t logId);
111 log_id_t logId; member
Dlogd_reader.c94 static int logdAvailable(log_id_t logId) in logdAvailable() argument
96 if (logId > LOG_ID_KERNEL) { in logdAvailable()
99 if (logId == LOG_ID_SECURITY) { in logdAvailable()
277 snprintf(buf, buf_size, msg, logger ? logger->logId : (unsigned) -1); in send_log_msg()
378 snprintf(buf, sizeof(buf), "setLogSize %d %zu", logger->logId, size); in logdSetSize()
434 n = snprintf(cp, remaining, " %d", logger->logId); in logdGetStats()
524 ret = snprintf(cp, remaining, "%c%u", c, logger->logId); in logdOpen()
Dpmsg_reader.c31 static int pmsgAvailable(log_id_t logId);
59 static int pmsgAvailable(log_id_t logId) in pmsgAvailable() argument
61 if (logId > LOG_ID_SECURITY) { in pmsgAvailable()
260 log_id_t logId, in __android_log_pmsg_file_read() argument
300 if (logId != LOG_ID_ANY) { in __android_log_pmsg_file_read()
301 transp.logMask = (1 << logId); in __android_log_pmsg_file_read()
/system/core/include/private/
Dandroid_logger.h109 log_id_t logId,
119 log_id_t logId,
125 log_id_t logId, char prio, const char *prefix,
/system/core/liblog/tests/
Dliblog_test.cpp2480 ssize_t __pmsg_fn(log_id_t logId, char prio, const char *filename, in __pmsg_fn() argument
2483 EXPECT_EQ(LOG_ID_CRASH, logId); in __pmsg_fn()
2495 (LOG_ID_CRASH != logId) || in __pmsg_fn()