Home
last modified time | relevance | path

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

/system/core/logd/
DLogReader.cpp39 void LogReader::notifyNewLog(log_mask_t logMask) { in notifyNewLog() argument
40 FlushCommand command(*this, logMask); in notifyNewLog()
83 unsigned int logMask = -1; in onDataAvailable() local
87 logMask = 0; in onDataAvailable()
95 logMask |= 1 << val; in onDataAvailable()
145 LogFindStart(pid_t pid, unsigned logMask, log_time& sequence, in onDataAvailable() argument
148 mLogMask(logMask), in onDataAvailable()
183 } logFindStart(pid, logMask, sequence, in onDataAvailable()
200 logMask, (int)pid, sequence.nsec(), timeout); in onDataAvailable()
202 FlushCommand command(*this, nonBlock, tail, logMask, pid, sequence, timeout); in onDataAvailable()
DFlushCommand.h40 log_mask_t logMask, pid_t pid, log_time start, in FlushCommand() argument
45 mLogMask(logMask), in FlushCommand()
52 explicit FlushCommand(LogReader& reader, log_mask_t logMask) in FlushCommand() argument
56 mLogMask(logMask), in FlushCommand()
DLogTimes.h56 unsigned long tail, log_mask_t logMask, pid_t pid,
141 bool isWatchingMultiple(log_mask_t logMask) const { in isWatchingMultiple() argument
142 return mLogMask & logMask; in isWatchingMultiple()
DLogReader.h33 void notifyNewLog(log_mask_t logMask);
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.cpp615 unsigned int logMask) const { in format()
625 if (!(logMask & (1 << id))) continue; in format()
642 if (!(logMask & (1 << id))) continue; in format()
664 if (!(logMask & (1 << id))) continue; in format()
695 if (!(logMask & (1 << id))) continue; in format()
750 if (!(logMask & (1 << id))) continue; in format()
778 if (!(logMask & (1 << id))) continue; in format()
795 if (enable && (logMask & (1 << LOG_ID_EVENTS))) { in format()
802 if (enable && (logMask & (1 << LOG_ID_SECURITY))) { in format()
DLogTimes.cpp31 bool nonBlock, unsigned long tail, log_mask_t logMask, in LogTimeEntry() argument
39 mLogMask(logMask), in LogTimeEntry()
DLogBuffer.h134 std::string formatStatistics(uid_t uid, pid_t pid, unsigned int logMask);
DLogBuffer.cpp1207 unsigned int logMask) { in formatStatistics() argument
1210 std::string ret = stats.format(uid, pid, logMask); in formatStatistics()
DLogStatistics.h785 std::string format(uid_t uid, pid_t pid, unsigned int logMask) const;
/system/core/liblog/
Dlocal_logger.c350 unsigned logMask; in writeToLocalNode() local
362 logMask = transp->logMask; in writeToLocalNode()
372 if ((logMask & (1 << logId)) && !--tail) { in writeToLocalNode()
385 unsigned logMask; in writeToLocalRead() local
393 logMask = transp->logMask; in writeToLocalRead()
407 if (logMask & (1 << logId)) { in writeToLocalRead()
435 unsigned logMask = transp->logMask; in writeToLocalPoll() local
441 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_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_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()
366 if (node->logMask & i) { in __write_to_log_daemon()
376 if (node->logMask & i) { in __write_to_log_daemon()
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()