Searched defs:logId (Results 1 - 7 of 7) sorted by relevance

/system/core/liblog/
H A Dlogd_writer.c51 static int logdWrite(log_id_t logId, struct timespec *ts,
103 static int logdAvailable(log_id_t logId) argument
105 if (logId > LOG_ID_SECURITY) {
117 static int logdWrite(log_id_t logId, struct timespec *ts, argument
209 header.id = logId;
254 if (logId == LOG_ID_SECURITY) {
H A 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) argument
73 if (logId > LOG_ID_SECURITY) {
76 if ((logId != LOG_ID_SECURITY) &&
77 (logId != LOG_ID_EVENTS) &&
98 static int pmsgWrite(log_id_t logId, struct timespec *ts, argument
108 if ((logId == LOG_ID_EVENTS) && !__android_log_is_debuggable()) {
147 header.id = logId;
205 log_id_t logId,
204 __android_log_pmsg_file_write( log_id_t logId, char prio, const char *filename, const char *buf, size_t len) argument
[all...]
H A Dlogd_reader.c94 static int logdAvailable(log_id_t logId) argument
96 if (logId > LOG_ID_KERNEL) {
99 if (logId == LOG_ID_SECURITY) {
277 snprintf(buf, buf_size, msg, logger ? logger->logId : (unsigned) -1);
378 snprintf(buf, sizeof(buf), "setLogSize %d %zu", logger->logId, size);
434 n = snprintf(cp, remaining, " %d", logger->logId);
524 ret = snprintf(cp, remaining, "%c%u", c, logger->logId);
H A 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 in struct:android_log_logger
H A Dlogger_read.c56 return ((struct android_log_logger *)logger)->logId;
93 log_id_t logId = logger->logId; local
95 if ((logId == LOG_ID_SECURITY) &&
101 (transport->available(logId) >= 0))) {
102 logMask |= 1 << logId;
140 if ((transp->logMask & (1 << logger_internal->logId)) && \
280 log_id_t logId)
286 if (!logger_list_internal || (logId >= LOG_ID_MAX)) {
291 if (logger->logId
278 android_logger_open( struct logger_list *logger_list, log_id_t logId) argument
323 android_logger_list_open( log_id_t logId, int mode, unsigned int tail, pid_t pid) argument
[all...]
H A Dpmsg_reader.c31 static int pmsgAvailable(log_id_t logId);
59 static int pmsgAvailable(log_id_t logId) argument
61 if (logId > LOG_ID_SECURITY) {
260 log_id_t logId,
300 if (logId != LOG_ID_ANY) {
301 transp.logMask = (1 << logId);
259 __android_log_pmsg_file_read( log_id_t logId, char prio, const char *prefix, __android_log_pmsg_file_read_fn fn, void *arg) argument
/system/core/liblog/tests/
H A Dliblog_test.cpp2480 ssize_t __pmsg_fn(log_id_t logId, char prio, const char *filename, argument
2483 EXPECT_EQ(LOG_ID_CRASH, logId);
2495 (LOG_ID_CRASH != logId) ||

Completed in 93 milliseconds