Home
last modified time | relevance | path

Searched refs:logMask (Results 1 – 16 of 16) sorted by relevance

/system/core/logd/
DLogReader.cpp82 unsigned int logMask = -1; in onDataAvailable() local
86 logMask = 0; in onDataAvailable()
94 logMask |= 1 << val; in onDataAvailable()
144 LogFindStart(pid_t pid, unsigned logMask, log_time& sequence, in onDataAvailable() argument
147 mLogMask(logMask), in onDataAvailable()
182 } logFindStart(pid, logMask, sequence, in onDataAvailable()
195 FlushCommand command(*this, nonBlock, tail, logMask, pid, sequence, timeout); in onDataAvailable()
DFlushCommand.cpp30 unsigned int logMask, pid_t pid, log_time start, in FlushCommand() argument
35 mLogMask(logMask), in FlushCommand()
DCommandListener.cpp207 unsigned int logMask = -1; in runCommand() local
210 logMask = 0; in runCommand()
227 logMask |= 1 << id; in runCommand()
232 package_string(mBuf.formatStatistics(uid, pid, logMask)).c_str()); in runCommand()
DLogStatistics.cpp460 unsigned int logMask) const { in format()
470 if (!(logMask & (1 << id))) continue; in format()
487 if (!(logMask & (1 << id))) continue; in format()
509 if (!(logMask & (1 << id))) continue; in format()
534 if (!(logMask & (1 << id))) continue; in format()
562 if (!(logMask & (1 << id))) continue; in format()
579 if (enable && (logMask & (1 << LOG_ID_EVENTS))) { in format()
586 if (enable && (logMask & (1 << LOG_ID_SECURITY))) { in format()
DFlushCommand.h39 unsigned long tail = -1, unsigned int logMask = -1,
DLogTimes.cpp32 unsigned int logMask, pid_t pid, log_time start, in LogTimeEntry() argument
40 mLogMask(logMask), in LogTimeEntry()
DLogTimes.h54 unsigned long tail, unsigned int logMask, pid_t pid,
DLogBuffer.h133 std::string formatStatistics(uid_t uid, pid_t pid, unsigned int logMask);
DLogBuffer.cpp1192 unsigned int logMask) { in formatStatistics() argument
1195 std::string ret = stats.format(uid, pid, logMask); in formatStatistics()
DLogStatistics.h621 std::string format(uid_t uid, pid_t pid, unsigned int logMask) const;
/system/core/liblog/
Dlocal_logger.c349 unsigned logMask; in writeToLocalNode() local
361 logMask = transp->logMask; in writeToLocalNode()
371 if ((logMask & (1 << logId)) && !--tail) { in writeToLocalNode()
384 unsigned logMask; in writeToLocalRead() local
392 logMask = transp->logMask; in writeToLocalRead()
406 if (logMask & (1 << logId)) { in writeToLocalRead()
434 unsigned logMask = transp->logMask; in writeToLocalPoll() local
440 ret = !!(logMask & in writeToLocalPoll()
Dconfig_write.c111 transport->logMask = 0; in __android_log_config_write_close()
115 transport->logMask = 0; in __android_log_config_write_close()
Dlogger_write.c100 if (node->logMask) { in __android_log_cache_available()
108 node->logMask |= 1 << i; in __android_log_cache_available()
122 if (node->logMask) { in __android_log_dev_available()
202 if (!transport->logMask) { in __write_to_log_initialize()
217 if (!transport->logMask) { in __write_to_log_initialize()
359 if (node->logMask & i) { in __write_to_log_daemon()
369 if (node->logMask & i) { in __write_to_log_daemon()
Dlogger_read.c87 unsigned logMask = 0; in init_transport_context() local
97 logMask |= 1 << logId; in init_transport_context()
100 if (!logMask) { in init_transport_context()
109 transp->logMask = logMask; in init_transport_context()
135 if ((transp->logMask & (1 << logger_internal->logId)) && \
Dlogger.h43 unsigned logMask; /* mask cache of available() success */ member
123 unsigned logMask; /* mask of requested log buffers */ member
Dpmsg_reader.c201 if ((transp->logMask & (1 << buf.l.id)) && in pmsgRead()
309 transp.logMask = (unsigned)-1; in __android_log_pmsg_file_read()
311 transp.logMask = (1 << logId); in __android_log_pmsg_file_read()
313 transp.logMask &= in __android_log_pmsg_file_read()
315 if (!transp.logMask) { in __android_log_pmsg_file_read()