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

/system/core/liblog/
H A Dlogd_writer.c48 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
114 static int logdAvailable(log_id_t logId) { argument
115 if (logId >= LOG_ID_MAX || logId == LOG_ID_KERNEL) {
127 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, argument
224 header.id = logId;
284 if (logId == LOG_ID_SECURITY) {
H A Dstderr_write.c47 static int stderrAvailable(log_id_t logId);
48 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
143 static int stderrAvailable(log_id_t logId) { argument
144 if ((logId >= LOG_ID_MAX) || (logId == LOG_ID_KERNEL)) {
150 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, argument
172 log_msg.entry.lid = logId;
185 if ((logId == LOG_ID_EVENTS) || (logId == LOG_ID_SECURITY)) {
H A Dpmsg_writer.c39 static int pmsgAvailable(log_id_t logId);
40 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
75 static int pmsgAvailable(log_id_t logId) { argument
76 if (logId > LOG_ID_SECURITY) {
79 if ((logId != LOG_ID_SECURITY) && (logId != LOG_ID_EVENTS) &&
99 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, argument
108 if ((logId == LOG_ID_EVENTS) && !__android_log_is_debuggable()) {
147 header.id = logId;
206 LIBLOG_ABI_PRIVATE ssize_t __android_log_pmsg_file_write(log_id_t logId, argument
[all...]
H A Dlocal_logger.c43 static int writeToLocalAvailable(log_id_t logId);
45 static int writeToLocalWrite(log_id_t logId, struct timespec* ts,
97 log_id_t logId; member in struct:LogBufferElement
187 log_id_t logId = element->logId; local
190 log->number[logId]++;
191 log->size[logId] += element->len;
192 log->totalSize[logId] += element->len;
194 if (log->last[logId] == &log->head) {
195 log->last[logId]
266 writeToLocalAvailable(log_id_t logId) argument
290 writeToLocalWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) argument
367 log_id_t logId; local
401 log_id_t logId; local
466 log_id_t logId = logger->logId; local
509 log_id_t logId = logger->logId; local
526 log_id_t logId = logger->logId; local
541 log_id_t logId = logger->logId; local
[all...]
H A Dlogger.h46 int (*available)(log_id_t logId); /* Does not cause resources to be taken */
50 int (*write)(log_id_t logId, struct timespec* ts, struct iovec* vec,
63 int (*available)(log_id_t logId);
114 log_id_t logId; member in struct:android_log_logger
H A Dlogger_read.c53 return ((struct android_log_logger*)logger)->logId;
90 log_id_t logId = logger->logId; local
92 if ((logId == LOG_ID_SECURITY) && (__android_log_uid() != AID_SYSTEM)) {
96 (!transport->available || (transport->available(logId) >= 0))) {
97 logMask |= 1 << logId;
135 if ((transp->logMask & (1 << logger_internal->logId)) && \
272 struct logger_list* logger_list, log_id_t logId) {
277 if (!logger_list_internal || (logId >= LOG_ID_MAX)) {
282 if (logger->logId
271 android_logger_open( struct logger_list* logger_list, log_id_t logId) argument
314 android_logger_list_open( log_id_t logId, int mode, unsigned int tail, pid_t pid) argument
[all...]
H A Dlogd_reader.c92 static int logdAvailable(log_id_t logId) { argument
93 if (logId >= LOG_ID_MAX) {
96 if (logId == LOG_ID_SECURITY) {
271 snprintf(buf, buf_size, msg, logger ? logger->logId : (unsigned)-1);
371 snprintf(buf, sizeof(buf), "setLogSize %d %zu", logger->logId, size);
423 n = snprintf(cp, remaining, " %d", logger->logId);
504 ret = snprintf(cp, remaining, "%c%u", c, logger->logId);
H A Dpmsg_reader.c31 static int pmsgAvailable(log_id_t logId);
59 static int pmsgAvailable(log_id_t logId) { argument
60 if (logId > LOG_ID_SECURITY) {
273 __android_log_pmsg_file_read(log_id_t logId, char prio, const char* prefix, argument
310 if (logId != LOG_ID_ANY) {
311 transp.logMask = (1 << logId);
H A Dproperties.c600 LIBLOG_ABI_PRIVATE unsigned long __android_logger_get_buffer_size(log_id_t logId) { argument
632 android_log_id_to_name(logId));
634 android_log_id_to_name(logId));
/system/core/logd/
H A DLogListener.cpp97 log_id_t logId = static_cast<log_id_t>(header->id); local
98 if (/* logId < LOG_ID_MIN || */ logId >= LOG_ID_MAX ||
99 logId == LOG_ID_KERNEL) {
103 if ((logId == LOG_ID_SECURITY) &&
138 logId, header->realtime, cred->uid, cred->pid, header->tid, msg,
141 reader->notifyNewLog(static_cast<log_mask_t>(1 << logId));
/system/core/liblog/tests/
H A Dliblog_test.cpp3115 static ssize_t __pmsg_fn(log_id_t logId, char prio, const char* filename, argument
3118 EXPECT_EQ(LOG_ID_CRASH, logId);
3128 return arg || (LOG_ID_CRASH != logId) || (ANDROID_LOG_VERBOSE != prio) ||

Completed in 109 milliseconds