Home
last modified time | relevance | path

Searched refs:SimpleLogBuffer (Results 1 – 11 of 11) sorted by relevance

/system/core/logd/
DSimpleLogBuffer.cpp23 SimpleLogBuffer::SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in SimpleLogBuffer() function in SimpleLogBuffer
28 SimpleLogBuffer::~SimpleLogBuffer() {} in ~SimpleLogBuffer()
30 void SimpleLogBuffer::Init() { in Init()
44 std::list<LogBufferElement>::iterator SimpleLogBuffer::GetOldest(log_id_t log_id) { in GetOldest()
58 bool SimpleLogBuffer::ShouldLog(log_id_t log_id, const char* msg, uint16_t len) { in ShouldLog()
80 int SimpleLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log()
103 void SimpleLogBuffer::LogInternal(LogBufferElement&& elem) { in LogInternal()
129 std::unique_ptr<FlushToState> SimpleLogBuffer::CreateFlushToState(uint64_t start, in CreateFlushToState()
134 bool SimpleLogBuffer::FlushTo( in FlushTo()
215 bool SimpleLogBuffer::Clear(log_id_t id, uid_t uid) { in Clear()
[all …]
DRecordingLogBuffer.h29 class RecordingLogBuffer : public SimpleLogBuffer {
32 : SimpleLogBuffer(reader_list, tags, stats) {} in RecordingLogBuffer()
DSimpleLogBuffer.h30 class SimpleLogBuffer : public LogBuffer {
32 SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats);
33 ~SimpleLogBuffer();
DChattyLogBuffer.cpp45 : SimpleLogBuffer(reader_list, tags, stats), prune_(prune) {} in ChattyLogBuffer()
105 SimpleLogBuffer::LogInternal(std::move(elem)); in LogInternal()
113 SimpleLogBuffer::LogInternal(std::move(elem)); in LogInternal()
124 SimpleLogBuffer::LogInternal(std::move(*duplicate_elements_[log_id])); in LogInternal()
128 SimpleLogBuffer::LogInternal(std::move(current_last)); in LogInternal()
131 SimpleLogBuffer::LogInternal(std::move(elem)); in LogInternal()
153 SimpleLogBuffer::LogInternal(std::move(current_last)); in LogInternal()
166 SimpleLogBuffer::LogInternal(std::move(*duplicate_elements_[log_id])); in LogInternal()
214 it = SimpleLogBuffer::Erase(it); in Erase()
DChattyLogBuffer.h43 class ChattyLogBuffer : public SimpleLogBuffer {
DRecordingLogBuffer.cpp61 return SimpleLogBuffer::Log(log_id, realtime, uid, pid, tid, msg, len); in Log()
DLogBufferTest.h74 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp()
DReplayMessages.cpp221 SimpleLogBuffer simple_log_buffer_{&reader_list_, &tags_, &stats_simple_};
235 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation()
DAndroid.bp66 "SimpleLogBuffer.cpp",
Dmain.cpp288 log_buffer = new SimpleLogBuffer(&reader_list, &log_tags, &log_statistics); in main()
DREADME.replay.md10 `log_buffer = new SimpleLogBuffer(&reader_list, &log_tags, &log_statistics);` in `main.cpp`.