/aosp12/system/logging/logd/ |
H A D | SerializedFlushToState.cpp | 42 void SerializedFlushToState::CreateLogPosition(log_id_t log_id) { in CreateLogPosition() 69 void SerializedFlushToState::UpdateLogsNeeded(log_id_t log_id) { in UpdateLogsNeeded() 127 log_id_t log_id; in PopNextUnreadLog() local 148 void SerializedFlushToState::Prune(log_id_t log_id) { in Prune()
|
H A D | SerializedLogBuffer.cpp | 52 log_id_t log_id, LogStatistics* stats) REQUIRES(logd_lock) { in ClearLogsByUid() 114 bool SerializedLogBuffer::ShouldLog(log_id_t log_id, const char* msg, uint16_t len) { in ShouldLog() 136 int SerializedLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() 164 void SerializedLogBuffer::MaybePrune(log_id_t log_id) { in MaybePrune() 177 void SerializedLogBuffer::RemoveChunkFromStats(log_id_t log_id, SerializedLogChunk& chunk) { in RemoveChunkFromStats() 185 void SerializedLogBuffer::Prune(log_id_t log_id, size_t bytes_to_free) { in Prune() 232 void SerializedLogBuffer::UidClear(log_id_t log_id, uid_t uid) { in UidClear() 253 const std::function<FilterResult(log_id_t log_id, pid_t pid, uint64_t sequence, in FlushTo() 260 auto log_id = top.log_id; in FlushTo() local
|
H A D | SimpleLogBuffer.cpp | 45 std::list<LogBufferElement>::iterator SimpleLogBuffer::GetOldest(log_id_t log_id) { in GetOldest() 59 bool SimpleLogBuffer::ShouldLog(log_id_t log_id, const char* msg, uint16_t len) { in ShouldLog() 81 int SimpleLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() 105 log_id_t log_id = elem.log_id(); in LogInternal() local 137 const std::function<FilterResult(log_id_t log_id, pid_t pid, uint64_t sequence, in FlushTo()
|
H A D | RecordingLogBuffer.cpp | 26 void RecordingLogBuffer::RecordLogMessage(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in RecordLogMessage() 58 int RecordingLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log()
|
H A D | SerializedLogEntry.h | 51 LogStatisticsElement ToLogStatisticsElement(log_id_t log_id) const { in ToLogStatisticsElement() 66 bool Flush(LogWriter* writer, log_id_t log_id) const { in Flush()
|
H A D | LogSize.cpp | 48 size_t GetBufferSizeFromProperties(log_id_t log_id) { in GetBufferSizeFromProperties()
|
H A D | SerializedFlushToState.h | 36 log_id_t log_id; member
|
H A D | RecordedLogMessage.h | 29 uint8_t log_id; member
|
H A D | LogUtils.h | 64 static inline bool IsBinary(log_id_t log_id) { in IsBinary()
|
H A D | CommandListener.cpp | 76 int log_id; in LogIdCommand() local 100 return LogIdCommand(cli, argc, argv, [&](log_id_t log_id) { in LogSizeCommand() 131 return LogIdCommand(cli, argc, argv, [&](log_id_t log_id) { in runCommand()
|
H A D | SerializedFlushToStateTest.cpp | 55 int log_id = sequence_to_log_id(sequence); in TestReport() local 64 int log_id = sequence_to_log_id(sequence); in TestReport() local
|
H A D | LogBufferElement.h | 50 log_id_t log_id() const { return static_cast<log_id_t>(log_id_); } in log_id() function
|
H A D | SerializedLogChunk.cpp | 72 void SerializedLogChunk::NotifyReadersOfPrune(log_id_t log_id) { in NotifyReadersOfPrune()
|
H A D | LogReaderThread.cpp | 126 FilterResult LogReaderThread::FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t, in FilterSecondPass()
|
H A D | LogStatistics.cpp | 118 void LogStatistics::AddTotal(log_id_t log_id, uint16_t size) { in AddTotal() 133 log_id_t log_id = element.log_id; in Add() local 209 log_id_t log_id = element.log_id; in Subtract() local 257 log_id_t log_id = element.log_id; in Drop() local 300 log_id_t log_id = element.log_id; in Erase() local
|
H A D | LogBufferElement.cpp | 33 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in LogBufferElement()
|
H A D | main.cpp | 203 const char* tag, const char* file, unsigned int line, const char* message) { in main()
|
/aosp12/system/logging/liblog/ |
H A D | logd_reader.cpp | 157 uint32_t log_id = android_logger_get_id(logger); in android_logger_clear() local 175 uint32_t log_id = android_logger_get_id(logger); in GetLogSize() local 221 uint32_t log_id = android_logger_get_id(logger); in android_logger_set_log_size() local 246 for (size_t log_id = 0; log_id < LOG_ID_MAX; ++log_id) { in android_logger_get_statistics() local 305 for (size_t log_id = 0; log_id < LOG_ID_MAX; ++log_id) { in logdOpen() local
|
H A D | logger_name.cpp | 36 const char* android_log_id_to_name(log_id_t log_id) { in android_log_id_to_name()
|
/aosp12/system/logging/logd/fuzz/ |
H A D | log_buffer_log_fuzzer.cpp | 39 log_id_t log_id; member 80 log_id_t log_id = static_cast<log_id_t>(unsigned(logInput->log_id) % (LOG_ID_MAX + 1)); in write_log_messages() local
|
/aosp12/system/logging/rust/ |
H A D | liblog_event_list.rs | 42 pub fn new(log_type: log_bindgen::log_id, tag: u32) -> Option<LogContext> { in new()
|
/aosp12/system/logging/liblog/tests/ |
H A D | liblog_global_state.cpp | 35 unsigned int line, const char* message) { in TEST() 86 unsigned int line, const char* message) { in TEST()
|
H A D | log_id_test.cpp | 33 TEST(liblog, log_id) { in TEST() argument
|
/aosp12/system/libbase/ |
H A D | logging_splitters.h | 48 static void SplitByLogdChunks(LogId log_id, LogSeverity severity, const char* tag, const char* file, in SplitByLogdChunks()
|
/aosp12/system/logging/liblog/include/android/ |
H A D | log.h | 138 typedef enum log_id { enum
|