Home
last modified time | relevance | path

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

/system/core/logd/
DLogWriter.h24 class LogWriter {
26 LogWriter(uid_t uid, bool privileged) : uid_(uid), privileged_(privileged) {} in LogWriter() function
27 virtual ~LogWriter() {} in ~LogWriter()
DLogReaderThread.h40 std::unique_ptr<LogWriter> writer, bool non_block, unsigned long tail,
74 std::unique_ptr<LogWriter> writer_;
DLogBufferTest.h46 class TestWriter : public LogWriter {
49 : LogWriter(0, true), msgs_(msgs), released_(released) {} in TestWriter()
DChattyLogBufferTest.cpp63 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P()
120 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P()
176 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P()
261 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P()
321 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P()
DLogReader.cpp47 class SocketLogWriter : public LogWriter {
50 : LogWriter(client->getUid(), privileged), reader_(reader), client_(client) {} in SocketLogWriter()
167 std::unique_ptr<LogWriter> socket_log_writer(new SocketLogWriter(this, cli, privileged)); in onDataAvailable()
DLogBufferTest.cpp203 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P()
241 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P()
315 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P()
349 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P()
386 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P()
451 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages_after_clear, nullptr)); in TEST_P()
DLogBuffer.h66 LogWriter* writer, FlushToState& state,
DLogBufferElement.h46 bool FlushTo(LogWriter* writer, LogStatistics* parent, bool lastSame);
DSerializedLogEntry.h66 bool Flush(LogWriter* writer, log_id_t log_id) const { in Flush()
DReplayMessages.cpp120 class StdoutWriter : public LogWriter {
122 StdoutWriter() : LogWriter(0, true) {} in StdoutWriter()
330 std::unique_ptr<LogWriter> test_writer(new StdoutWriter()); in End()
DSerializedLogBuffer.h45 bool FlushTo(LogWriter* writer, FlushToState& state,
DSimpleLogBuffer.h39 bool FlushTo(LogWriter* writer, FlushToState& state,
DLogReaderThread.cpp29 std::unique_ptr<LogWriter> writer, bool non_block, in LogReaderThread()
DLogBufferElement.cpp270 bool LogBufferElement::FlushTo(LogWriter* writer, LogStatistics* stats, bool lastSame) { in FlushTo()
DSimpleLogBuffer.cpp135 LogWriter* writer, FlushToState& abstract_state, in FlushTo()
DSerializedLogBuffer.cpp222 LogWriter* writer, FlushToState& abstract_state, in FlushTo()
/system/core/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp98 class NoopWriter : public LogWriter {
100 NoopWriter() : LogWriter(0, true) {} in NoopWriter()
140 std::unique_ptr<LogWriter> test_writer(new NoopWriter()); in LLVMFuzzerTestOneInput()