Home
last modified time | relevance | path

Searched refs:LogWriter (Results 1 – 15 of 15) sorted by relevance

/system/logging/logd/
DLogWriter.h24 class LogWriter {
26 LogWriter(uid_t uid, bool privileged) : uid_(uid), privileged_(privileged) {} in LogWriter() function
27 virtual ~LogWriter() {} in ~LogWriter()
DLogBufferTest.h50 class TestWriter : public LogWriter {
53 : LogWriter(0, true), mutex_(mutex ?: &logd_lock), msgs_(msgs), released_(released) {} in TestWriter()
103 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, mutex, nullptr));
125 std::unique_ptr<LogWriter> test_writer( in TestReaderThread()
DLogReaderThread.h51 std::unique_ptr<LogWriter> writer, bool non_block, unsigned long tail,
102 std::unique_ptr<LogWriter> writer_ GUARDED_BY(logd_lock);
DLogReader.cpp74 class SocketLogWriter : public LogWriter {
77 : LogWriter(client->getUid(), privileged), reader_(reader), client_(client) {} in SocketLogWriter()
194 std::unique_ptr<LogWriter> socket_log_writer(new SocketLogWriter(this, cli, privileged)); in onDataAvailable()
DLogBufferElement.h39 bool FlushTo(LogWriter* writer);
DReplayMessages.cpp126 class StdoutWriter : public LogWriter {
128 StdoutWriter() : LogWriter(0, true) {} in StdoutWriter()
303 std::unique_ptr<LogWriter> test_writer(new StdoutWriter()); in End()
355 std::unique_ptr<LogWriter> stdout_writer(new StdoutWriter()); in PrintAllLogs()
DLogBuffer.h70 LogWriter* writer, FlushToState& state,
DSerializedLogEntry.h65 bool Flush(LogWriter* writer, log_id_t log_id) const { in Flush()
DSerializedLogBuffer.h49 bool FlushTo(LogWriter* writer, FlushToState& state,
DSimpleLogBuffer.h40 bool FlushTo(LogWriter* writer, FlushToState& state,
DLogReaderThread.cpp30 std::unique_ptr<LogWriter> writer, bool non_block, in LogReaderThread()
DLogBufferElement.cpp145 bool LogBufferElement::FlushTo(LogWriter* writer) { in FlushTo()
DSimpleLogBuffer.cpp119 LogWriter* writer, FlushToState& abstract_state, in FlushTo()
DSerializedLogBuffer.cpp252 LogWriter* writer, FlushToState& abstract_state, in FlushTo()
/system/logging/logd/fuzz/
Dserialized_log_buffer_fuzzer.cpp89 class NoopWriter : public LogWriter {
91 NoopWriter() : LogWriter(0, true) {} in NoopWriter()
129 std::unique_ptr<LogWriter> test_writer(new NoopWriter()); in LLVMFuzzerTestOneInput()