/system/core/logd/ |
D | LogReader.cpp | 39 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()
|
D | FlushCommand.h | 40 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()
|
D | LogTimes.h | 56 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()
|
D | LogReader.h | 33 void notifyNewLog(log_mask_t logMask);
|
D | CommandListener.cpp | 207 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()
|
D | LogStatistics.cpp | 615 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()
|
D | LogTimes.cpp | 31 bool nonBlock, unsigned long tail, log_mask_t logMask, in LogTimeEntry() argument 39 mLogMask(logMask), in LogTimeEntry()
|
D | LogBuffer.h | 134 std::string formatStatistics(uid_t uid, pid_t pid, unsigned int logMask);
|
D | LogBuffer.cpp | 1207 unsigned int logMask) { in formatStatistics() argument 1210 std::string ret = stats.format(uid, pid, logMask); in formatStatistics()
|
D | LogStatistics.h | 785 std::string format(uid_t uid, pid_t pid, unsigned int logMask) const;
|
/system/core/liblog/ |
D | local_logger.c | 350 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()
|
D | config_write.c | 111 transport->logMask = 0; in __android_log_config_write_close() 115 transport->logMask = 0; in __android_log_config_write_close()
|
D | logger_read.c | 87 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)) && \
|
D | logger_write.c | 100 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()
|
D | logger.h | 43 unsigned logMask; /* mask cache of available() success */ member 123 unsigned logMask; /* mask of requested log buffers */ member
|
D | pmsg_reader.c | 201 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()
|