/system/logging/logd/ |
D | LogBuffer.h | 38 FlushToState(uint64_t start, LogMask log_mask) : start_(start), log_mask_(log_mask) {} in FlushToState() argument 44 LogMask log_mask() const { return log_mask_; } in log_mask() function 67 virtual std::unique_ptr<FlushToState> CreateFlushToState(uint64_t start, LogMask log_mask)
|
D | LogReaderThread.h | 52 LogMask log_mask, pid_t pid, log_time start_time, uint64_t sequence, 69 return flush_to_state_->log_mask() & (1 << id); in IsWatching() 71 bool IsWatchingMultiple(LogMask log_mask) const REQUIRES(logd_lock) { in IsWatchingMultiple() argument 72 return flush_to_state_->log_mask() & log_mask; in IsWatchingMultiple()
|
D | LogReaderThread.cpp | 31 unsigned long tail, LogMask log_mask, pid_t pid, in LogReaderThread() argument 45 flush_to_state_ = log_buffer_->CreateFlushToState(start, log_mask); in LogReaderThread() 72 flush_to_state_->log_mask()); in ThreadFunction()
|
D | SerializedFlushToState.cpp | 23 SerializedFlushToState::SerializedFlushToState(uint64_t start, LogMask log_mask, in SerializedFlushToState() argument 25 : FlushToState(start, log_mask), logs_(logs) { in SerializedFlushToState() 27 if (((1 << i) & log_mask) == 0) { in SerializedFlushToState()
|
D | LogReaderList.cpp | 44 void LogReaderList::NotifyNewLog(LogMask log_mask) const { in NotifyNewLog() 46 if (!entry->IsWatchingMultiple(log_mask)) { in NotifyNewLog()
|
D | LogReaderList.h | 29 void NotifyNewLog(LogMask log_mask) const REQUIRES(logd_lock);
|
D | SerializedFlushToState.h | 48 SerializedFlushToState(uint64_t start, LogMask log_mask, std::list<SerializedLogChunk>* logs)
|
D | SimpleLogBuffer.cpp | 114 LogMask log_mask) { in CreateFlushToState() argument 115 return std::make_unique<FlushToState>(start, log_mask); in CreateFlushToState() 152 if (((1 << element.log_id()) & state.log_mask()) == 0) { in FlushTo()
|
D | SerializedFlushToStateTest.cpp | 117 void TestReading(uint64_t start, LogMask log_mask, SerializedFlushToState& state) in TestReading() argument 121 if (((1 << i) & log_mask) == 0) { in TestReading() 144 << "start: " << start << " log_mask: " << log_mask << " " in TestReading()
|
D | LogBufferTest.h | 114 LogMask log_mask = kLogMaskAll; member 129 params.non_block, params.tail, params.log_mask, params.pid, params.start_time, in TestReaderThread()
|
D | SerializedLogBuffer.h | 47 std::unique_ptr<FlushToState> CreateFlushToState(uint64_t start, LogMask log_mask)
|
D | ReplayMessages.cpp | 114 LogMask log_mask = 0; in BuffersToLogMask() local 121 log_mask |= 1 << buffer_id; in BuffersToLogMask() 123 return log_mask; in BuffersToLogMask()
|
D | SimpleLogBuffer.h | 38 std::unique_ptr<FlushToState> CreateFlushToState(uint64_t start, LogMask log_mask)
|
D | SerializedLogBuffer.cpp | 247 LogMask log_mask) { in CreateFlushToState() argument 248 return std::make_unique<SerializedFlushToState>(start, log_mask, logs_); in CreateFlushToState()
|
/system/logging/liblog/ |
D | logger_read.cpp | 69 logger_list->log_mask |= 1 << logId; in android_logger_open() 94 if (logger_list == nullptr || logger_list->log_mask == 0) { in android_logger_list_read()
|
D | logger.h | 34 uint32_t log_mask; member
|
D | pmsg_reader.cpp | 93 if ((logger_list->log_mask & (1 << buf.l.id)) && in PmsgRead() 187 .log_mask = (unsigned)-1}; in __android_log_pmsg_file_read() 188 logger_list.log_mask = (1 << logId); in __android_log_pmsg_file_read() 189 logger_list.log_mask &= ~((1 << LOG_ID_KERNEL) | (1 << LOG_ID_EVENTS) | (1 << LOG_ID_SECURITY)); in __android_log_pmsg_file_read() 190 if (!logger_list.log_mask) { in __android_log_pmsg_file_read()
|
D | logd_reader.cpp | 242 if ((1 << log_id) & logger_list->log_mask) { in android_logger_get_statistics() 301 if ((1 << log_id) & logger_list->log_mask) { in logdOpen()
|
/system/logging/logd/fuzz/ |
D | serialized_log_buffer_fuzzer.cpp | 45 unsigned int log_mask; member 84 stats->Format(logInput->uid, logInput->pid, logInput->log_mask); in write_log_messages()
|