Searched refs:test_writer (Results 1 – 4 of 4) sorted by relevance
/system/core/logd/ |
D | ChattyLogBufferTest.cpp | 63 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()
|
D | LogBufferTest.cpp | 203 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 …]
|
D | ReplayMessages.cpp | 330 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/ |
D | log_buffer_log_fuzzer.cpp | 140 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()
|