/system/core/logd/ |
D | LogReaderThread.h | 41 LogMask log_mask, pid_t pid, log_time start_time, uint64_t sequence, 55 bool IsWatching(log_id_t id) const { return flush_to_state_->log_mask() & (1 << id); } in IsWatching() 56 bool IsWatchingMultiple(LogMask log_mask) const { in IsWatchingMultiple() argument 57 return flush_to_state_->log_mask() & log_mask; in IsWatchingMultiple()
|
D | LogBuffer.h | 35 FlushToState(uint64_t start, LogMask log_mask) : start_(start), log_mask_(log_mask) {} in FlushToState() argument 41 LogMask log_mask() const { return log_mask_; } in log_mask() function 64 virtual std::unique_ptr<FlushToState> CreateFlushToState(uint64_t start, LogMask log_mask) = 0;
|
D | LogReaderList.cpp | 21 void LogReaderList::NotifyNewLog(LogMask log_mask) const { in NotifyNewLog() 25 if (!entry->IsWatchingMultiple(log_mask)) { in NotifyNewLog()
|
D | SerializedFlushToState.cpp | 21 SerializedFlushToState::SerializedFlushToState(uint64_t start, LogMask log_mask) in SerializedFlushToState() argument 22 : FlushToState(start, log_mask) { in SerializedFlushToState() 24 if (((1 << i) & log_mask) == 0) { in SerializedFlushToState()
|
D | LogReaderThread.cpp | 30 unsigned long tail, LogMask log_mask, pid_t pid, in LogReaderThread() argument 44 flush_to_state_ = log_buffer_->CreateFlushToState(start, log_mask); in LogReaderThread() 69 flush_to_state_->log_mask()); in ThreadFunction()
|
D | SimpleLogBuffer.cpp | 117 ChattyFlushToState(uint64_t start, LogMask log_mask) : FlushToState(start, log_mask) {} in ChattyFlushToState() argument 130 LogMask log_mask) { in CreateFlushToState() argument 131 return std::make_unique<ChattyFlushToState>(start, log_mask); in CreateFlushToState() 170 if (((1 << element.log_id()) & state.log_mask()) == 0) { in FlushTo()
|
D | LogReaderList.h | 28 void NotifyNewLog(LogMask log_mask) const;
|
D | SerializedFlushToStateTest.cpp | 118 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 | SerializedFlushToState.h | 54 SerializedFlushToState(uint64_t start, LogMask log_mask);
|
D | SerializedLogBuffer.h | 44 std::unique_ptr<FlushToState> CreateFlushToState(uint64_t start, LogMask log_mask) override;
|
D | SimpleLogBuffer.h | 38 std::unique_ptr<FlushToState> CreateFlushToState(uint64_t start, LogMask log_mask) override;
|
D | SerializedLogBuffer.cpp | 217 LogMask log_mask) { in CreateFlushToState() argument 218 return std::make_unique<SerializedFlushToState>(start, log_mask); in CreateFlushToState()
|
/system/core/liblog/ |
D | logger.h | 34 uint32_t log_mask; member
|
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 | pmsg_reader.cpp | 93 if ((logger_list->log_mask & (1 << buf.l.id)) && in PmsgRead() 189 logger_list.log_mask = (unsigned)-1; in __android_log_pmsg_file_read() 191 logger_list.log_mask = (1 << logId); in __android_log_pmsg_file_read() 193 logger_list.log_mask &= ~((1 << LOG_ID_KERNEL) | (1 << LOG_ID_EVENTS) | (1 << LOG_ID_SECURITY)); in __android_log_pmsg_file_read() 194 if (!logger_list.log_mask) { in __android_log_pmsg_file_read()
|
D | logd_reader.cpp | 229 if ((1 << log_id) & logger_list->log_mask) { in android_logger_get_statistics() 288 if ((1 << log_id) & logger_list->log_mask) { in logdOpen()
|
/system/core/logd/fuzz/ |
D | log_buffer_log_fuzzer.cpp | 54 unsigned int log_mask; member 93 stats->Format(logInput->uid, logInput->pid, logInput->log_mask); in write_log_messages()
|