/system/core/logd/fuzz/ |
D | log_buffer_log_fuzzer.cpp | 57 int write_log_messages(const uint8_t** pdata, size_t* data_left, LogBuffer* log_buffer, in write_log_messages() argument 91 log_buffer->Log(log_id, logInput->realtime, logInput->uid, logInput->pid, logInput->tid, msg, in write_log_messages() 118 std::unique_ptr<LogBuffer> log_buffer; 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() 129 log_id_for_each(i) { log_buffer->SetSize(i, 10000); } in LLVMFuzzerTestOneInput() 132 if (!write_log_messages(pdata, &data_left, log_buffer.get(), &stats)) { in LLVMFuzzerTestOneInput() 142 new LogReaderThread(log_buffer.get(), &reader_list, std::move(test_writer), true, 0, in LLVMFuzzerTestOneInput() 156 log_id_for_each(i) { log_buffer->Clear(i, 0); } in LLVMFuzzerTestOneInput()
|
/system/core/logd/ |
D | main.cpp | 282 LogBuffer* log_buffer = nullptr; 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() 303 LogListener* swl = new LogListener(log_buffer); in main() 310 CommandListener* cl = new CommandListener(log_buffer, &log_tags, &prune_list, &log_statistics); in main() 321 al = new LogAudit(log_buffer, dmesg_fd, &log_statistics); in main() 326 kl = new LogKlog(log_buffer, fdDmesg, fdPmesg, al != nullptr, &log_statistics); in main()
|
D | SerializedLogBuffer.cpp | 152 auto& log_buffer = logs_[log_id]; in Prune() local 153 auto it = log_buffer.begin(); in Prune() 154 while (it != log_buffer.end()) { in Prune() 171 log_buffer.erase(it_to_prune); in Prune() 176 log_buffer.erase(it_to_prune); in Prune() 186 if (it == log_buffer.end()) { in Prune()
|
D | LogReaderThread.cpp | 28 LogReaderThread::LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list, in LogReaderThread() argument 33 : log_buffer_(log_buffer), in LogReaderThread()
|
D | LogReaderThread.h | 39 LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list,
|
D | README.replay.md | 10 `log_buffer = new SimpleLogBuffer(&reader_list, &log_tags, &log_statistics);` in `main.cpp`.
|
/system/chre/host/msm/daemon/ |
D | chre_daemon.cc | 160 static void log_buffer(const uint8_t * /*buffer*/, size_t /*size*/) {} in log_buffer() function 162 static void log_buffer(const uint8_t *buffer, size_t size) { in log_buffer() function 604 log_buffer(static_cast<const uint8_t *>(data), length); in sendMessageToChre() 835 log_buffer(messageBuffer, messageLen); in chre_message_to_host_thread()
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 82 static void RunLogTests(log_id_t log_buffer, FWrite write_messages, FCheck check_message) { in RunLogTests() argument 86 android_logger_list_open(log_buffer, 0, 1000, pid)}; in RunLogTests() 98 ASSERT_EQ(log_buffer, log_msg.id()); in RunLogTests() 107 android_logger_list_open(log_buffer, ANDROID_LOG_NONBLOCK, 1000, pid)}; in RunLogTests() 119 ASSERT_EQ(log_buffer, log_msg.id()); in RunLogTests()
|