Home
last modified time | relevance | path

Searched defs:log_id (Results 1 – 25 of 31) sorted by relevance

12

/aosp12/system/logging/logd/
H A DSerializedFlushToState.cpp42 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 DSerializedLogBuffer.cpp52 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 DSimpleLogBuffer.cpp45 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 DRecordingLogBuffer.cpp26 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 DSerializedLogEntry.h51 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 DLogSize.cpp48 size_t GetBufferSizeFromProperties(log_id_t log_id) { in GetBufferSizeFromProperties()
H A DSerializedFlushToState.h36 log_id_t log_id; member
H A DRecordedLogMessage.h29 uint8_t log_id; member
H A DLogUtils.h64 static inline bool IsBinary(log_id_t log_id) { in IsBinary()
H A DCommandListener.cpp76 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 DSerializedFlushToStateTest.cpp55 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 DLogBufferElement.h50 log_id_t log_id() const { return static_cast<log_id_t>(log_id_); } in log_id() function
H A DSerializedLogChunk.cpp72 void SerializedLogChunk::NotifyReadersOfPrune(log_id_t log_id) { in NotifyReadersOfPrune()
H A DLogReaderThread.cpp126 FilterResult LogReaderThread::FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t, in FilterSecondPass()
H A DLogStatistics.cpp118 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 DLogBufferElement.cpp33 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in LogBufferElement()
H A Dmain.cpp203 const char* tag, const char* file, unsigned int line, const char* message) { in main()
/aosp12/system/logging/liblog/
H A Dlogd_reader.cpp157 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 Dlogger_name.cpp36 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 Dlog_buffer_log_fuzzer.cpp39 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 Dliblog_event_list.rs42 pub fn new(log_type: log_bindgen::log_id, tag: u32) -> Option<LogContext> { in new()
/aosp12/system/logging/liblog/tests/
H A Dliblog_global_state.cpp35 unsigned int line, const char* message) { in TEST()
86 unsigned int line, const char* message) { in TEST()
H A Dlog_id_test.cpp33 TEST(liblog, log_id) { in TEST() argument
/aosp12/system/libbase/
H A Dlogging_splitters.h48 static void SplitByLogdChunks(LogId log_id, LogSeverity severity, const char* tag, const char* file, in SplitByLogdChunks()
/aosp12/system/logging/liblog/include/android/
H A Dlog.h138 typedef enum log_id { enum

12