Home
last modified time | relevance | path

Searched refs:reader_list (Results 1 – 14 of 14) sorted by relevance

/system/core/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp114 LogReaderList reader_list; in LLVMFuzzerTestOneInput() local
120 log_buffer.reset(new SerializedLogBuffer(&reader_list, &tags, &stats)); in LLVMFuzzerTestOneInput()
122 log_buffer.reset(new ChattyLogBuffer(&reader_list, &tags, &prune_list, &stats)); in LLVMFuzzerTestOneInput()
139 auto lock = std::unique_lock{reader_list.reader_threads_lock()}; in LLVMFuzzerTestOneInput()
142 new LogReaderThread(log_buffer.get(), &reader_list, std::move(test_writer), true, 0, in LLVMFuzzerTestOneInput()
144 reader_list.reader_threads().emplace_back(std::move(log_reader)); in LLVMFuzzerTestOneInput()
150 auto lock = std::unique_lock{reader_list.reader_threads_lock()}; in LLVMFuzzerTestOneInput()
151 if (reader_list.reader_threads().size() == 0) { in LLVMFuzzerTestOneInput()
/system/core/logd/
DRecordingLogBuffer.h31 RecordingLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in RecordingLogBuffer() argument
32 : SimpleLogBuffer(reader_list, tags, stats) {} in RecordingLogBuffer()
Dmain.cpp279 LogReaderList reader_list; in main() local
284 log_buffer = new ChattyLogBuffer(&reader_list, &log_tags, &prune_list, &log_statistics); in main()
286 log_buffer = new SerializedLogBuffer(&reader_list, &log_tags, &log_statistics); in main()
288 log_buffer = new SimpleLogBuffer(&reader_list, &log_tags, &log_statistics); in main()
295 LogReader* reader = new LogReader(log_buffer, &reader_list); in main()
DLogReader.h29 explicit LogReader(LogBuffer* logbuf, LogReaderList* reader_list);
DSimpleLogBuffer.h32 SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats);
62 LogReaderList* reader_list() { return reader_list_; } in reader_list() function
DLogReaderThread.cpp28 LogReaderThread::LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list, in LogReaderThread() argument
34 reader_list_(reader_list), in LogReaderThread()
DChattyLogBuffer.h52 ChattyLogBuffer(LogReaderList* reader_list, LogTags* tags, PruneList* prune,
DLogReaderThread.h39 LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list,
DLogReader.cpp76 LogReader::LogReader(LogBuffer* logbuf, LogReaderList* reader_list) in LogReader() argument
77 : SocketListener(getLogSocket(), true), log_buffer_(logbuf), reader_list_(reader_list) {} in LogReader()
DSerializedLogBuffer.h39 SerializedLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats);
DChattyLogBuffer.cpp43 ChattyLogBuffer::ChattyLogBuffer(LogReaderList* reader_list, LogTags* tags, PruneList* prune, in ChattyLogBuffer() argument
45 : SimpleLogBuffer(reader_list, tags, stats), prune_(prune) {} in ChattyLogBuffer()
336 auto reader_threads_lock = std::lock_guard{reader_list()->reader_threads_lock()}; in Prune()
339 for (const auto& reader_thread : reader_list()->reader_threads()) { in Prune()
DSimpleLogBuffer.cpp23 SimpleLogBuffer::SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in SimpleLogBuffer() argument
24 : reader_list_(reader_list), tags_(tags), stats_(stats) { in SimpleLogBuffer()
DSerializedLogBuffer.cpp29 SerializedLogBuffer::SerializedLogBuffer(LogReaderList* reader_list, LogTags* tags, in SerializedLogBuffer() argument
31 : reader_list_(reader_list), tags_(tags), stats_(stats) { in SerializedLogBuffer()
DREADME.replay.md10 `log_buffer = new SimpleLogBuffer(&reader_list, &log_tags, &log_statistics);` in `main.cpp`.