Home
last modified time | relevance | path

Searched refs:test_writer (Results 1 – 4 of 4) sorted by relevance

/system/core/logd/
DChattyLogBufferTest.cpp63 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P() local
65 EXPECT_TRUE(log_buffer_->FlushTo(test_writer.get(), *flush_to_state, nullptr)); in TEST_P()
120 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P() local
122 EXPECT_TRUE(log_buffer_->FlushTo(test_writer.get(), *flush_to_state, nullptr)); in TEST_P()
176 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P() local
178 EXPECT_TRUE(log_buffer_->FlushTo(test_writer.get(), *flush_to_state, nullptr)); in TEST_P()
261 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P() local
263 new LogReaderThread(log_buffer_.get(), &reader_list_, std::move(test_writer), true, in TEST_P()
321 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P() local
323 new LogReaderThread(log_buffer_.get(), &reader_list_, std::move(test_writer), true, in TEST_P()
DLogBufferTest.cpp203 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, nullptr)); in TEST_P() local
205 EXPECT_TRUE(log_buffer_->FlushTo(test_writer.get(), *flush_to_state, nullptr)); in TEST_P()
241 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P() local
243 new LogReaderThread(log_buffer_.get(), &reader_list_, std::move(test_writer), true, in TEST_P()
315 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P() local
317 new LogReaderThread(log_buffer_.get(), &reader_list_, std::move(test_writer), true, in TEST_P()
349 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P() local
351 new LogReaderThread(log_buffer_.get(), &reader_list_, std::move(test_writer), true, in TEST_P()
386 std::unique_ptr<LogWriter> test_writer(new TestWriter(&read_log_messages, &released)); in TEST_P() local
388 new LogReaderThread(log_buffer_.get(), &reader_list_, std::move(test_writer), false, in TEST_P()
[all …]
DReplayMessages.cpp330 std::unique_ptr<LogWriter> test_writer(new StdoutWriter()); in End() local
332 log_buffer_->FlushTo(test_writer.get(), *flush_to_state, nullptr); in End()
/system/core/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp140 std::unique_ptr<LogWriter> test_writer(new NoopWriter()); in LLVMFuzzerTestOneInput() local
142 new LogReaderThread(log_buffer.get(), &reader_list, std::move(test_writer), true, 0, in LLVMFuzzerTestOneInput()