Searched refs:log_buffer_ (Results 1 – 7 of 7) sorted by relevance
/system/logging/logd/ |
D | LogBufferTest.h | 77 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp() 79 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp() 84 log_id_for_each(i) { log_buffer_->SetSize(i, 1024 * 1024); } in SetUp() 89 EXPECT_GT(log_buffer_->Log(static_cast<log_id_t>(entry.lid), in LogMessages() 106 auto flush_to_state = log_buffer_->CreateFlushToState(1, kLogMaskAll); 107 EXPECT_TRUE(log_buffer_->FlushTo(test_writer.get(), *flush_to_state, nullptr)); 128 test_.log_buffer_.get(), &test_.reader_list_, std::move(test_writer), in TestReaderThread() 200 std::unique_ptr<LogBuffer> log_buffer_; variable
|
D | LogReaderThread.cpp | 34 : log_buffer_(log_buffer), in LogReaderThread() 45 flush_to_state_ = log_buffer_->CreateFlushToState(start, log_mask); in LogReaderThread() 71 auto first_pass_state = log_buffer_->CreateFlushToState(flush_to_state_->start(), in ThreadFunction() 73 log_buffer_->FlushTo(writer_.get(), *first_pass_state, in ThreadFunction() 79 bool flush_success = log_buffer_->FlushTo( in ThreadFunction()
|
D | LogReader.cpp | 104 : SocketListener(getLogSocket(), true), log_buffer_(logbuf), reader_list_(reader_list) {} in LogReader() 222 auto flush_to_state = log_buffer_->CreateFlushToState(sequence, logMask); in onDataAvailable() 223 log_buffer_->FlushTo(socket_log_writer.get(), *flush_to_state, log_find_start); in onDataAvailable() 229 sequence = log_buffer_->sequence(); in onDataAvailable() 244 auto entry = std::make_unique<LogReaderThread>(log_buffer_, reader_list_, in onDataAvailable()
|
D | ReplayMessages.cpp | 228 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation() 231 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation() 240 log_buffer_->Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, meta.pid, in Log() 259 std::unique_ptr<LogBuffer> log_buffer_; member in SingleBufferOperation 304 std::unique_ptr<FlushToState> flush_to_state = log_buffer_->CreateFlushToState(1, mask_); in End() 305 log_buffer_->FlushTo(test_writer.get(), *flush_to_state, nullptr); in End() 357 new LogReaderThread(log_buffer_.get(), &reader_list_, std::move(stdout_writer), in PrintAllLogs()
|
D | LogReader.h | 37 LogBuffer* log_buffer_; variable
|
D | LogReaderThread.h | 100 LogBuffer* log_buffer_; variable
|
D | LogBufferTest.cpp | 334 log_buffer_->Clear(LOG_ID_MAIN, 0); in TEST_P()
|