/system/chre/platform/shared/ |
D | log_buffer.cc | 26 LogBuffer::LogBuffer(LogBufferCallbackInterface *callback, void *buffer, in LogBuffer() function in chre::LogBuffer 34 void LogBuffer::handleLog(LogBufferLogLevel logLevel, uint32_t timestampMs, in handleLog() 42 void LogBuffer::handleLogVa(LogBufferLogLevel logLevel, uint32_t timestampMs, in handleLogVa() 92 size_t LogBuffer::copyLogs(void *destination, size_t size, in copyLogs() 98 bool LogBuffer::logWouldCauseOverflow(size_t logSize) { in logWouldCauseOverflow() 104 void LogBuffer::transferTo(LogBuffer &buffer) { in transferTo() 125 void LogBuffer::updateNotificationSetting(LogBufferNotificationSetting setting, in updateNotificationSetting() 133 void LogBuffer::reset() { in reset() 138 const uint8_t *LogBuffer::getBufferData() { in getBufferData() 142 size_t LogBuffer::getBufferSize() { in getBufferSize() [all …]
|
/system/chre/platform/tests/ |
D | log_buffer_test.cc | 48 TEST(LogBuffer, HandleOneLogAndCopy) { in TEST() argument 56 LogBuffer logBuffer(&callback, buffer, kDefaultBufferSize); in TEST() 68 TEST(LogBuffer, HandleTwoLogsAndCopy) { in TEST() argument 77 LogBuffer logBuffer(&callback, buffer, kDefaultBufferSize); in TEST() 94 TEST(LogBuffer, FailOnMoreCopyThanHandle) { in TEST() argument 101 LogBuffer logBuffer(&callback, buffer, kDefaultBufferSize); in TEST() 111 TEST(LogBuffer, FailOnHandleLargerLogThanBufferSize) { in TEST() argument 120 LogBuffer logBuffer(&callback, buffer, kDefaultBufferSize); in TEST() 131 TEST(LogBuffer, LogOverwritten) { in TEST() argument 137 LogBuffer logBuffer(&callback, buffer, kDefaultBufferSize); in TEST() [all …]
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | log_buffer.h | 47 class LogBuffer; variable 71 class LogBuffer { 84 LogBuffer(LogBufferCallbackInterface *callback, void *buffer, 150 void transferTo(LogBuffer &otherBuffer);
|
D | log_buffer_manager.h | 122 LogBuffer mPrimaryLogBuffer; 123 LogBuffer mSecondaryLogBuffer;
|
/system/logging/logd/ |
D | LogListener.h | 23 explicit LogListener(LogBuffer* buf); 32 LogBuffer* logbuf_;
|
D | LogReader.h | 27 explicit LogReader(LogBuffer* logbuf, LogReaderList* reader_list); 37 LogBuffer* log_buffer_;
|
D | CommandListener.h | 30 CommandListener(LogBuffer* buf, LogTags* tags, PruneList* prune, LogStatistics* log_statistics); 36 LogBuffer* buf_; 50 LogBuffer* buf() const { return parent_->buf_; } \
|
D | LogKlog.h | 26 LogBuffer* logbuf; 40 LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats);
|
D | LogAudit.h | 27 LogBuffer* logbuf; 34 LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats);
|
D | LogBuffer.h | 58 class LogBuffer { 60 virtual ~LogBuffer() {} in ~LogBuffer()
|
D | LogReaderThread.h | 40 LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list, 77 LogBuffer* log_buffer_;
|
D | LogListener.cpp | 35 LogListener::LogListener(LogBuffer* buf) : socket_(GetLogSocket()), logbuf_(buf) {} in LogListener()
|
D | SerializedLogBuffer.h | 37 class SerializedLogBuffer final : public LogBuffer {
|
D | SimpleLogBuffer.h | 30 class SimpleLogBuffer : public LogBuffer {
|
D | LogReaderThread.cpp | 29 LogReaderThread::LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list, in LogReaderThread()
|
D | LogBufferTest.h | 181 std::unique_ptr<LogBuffer> log_buffer_;
|
D | main.cpp | 252 LogBuffer* log_buffer = nullptr; in main()
|
D | LogReader.cpp | 77 LogReader::LogReader(LogBuffer* logbuf, LogReaderList* reader_list) in LogReader()
|
D | CommandListener.cpp | 44 CommandListener::CommandListener(LogBuffer* buf, LogTags* tags, PruneList* prune, in CommandListener()
|
D | LogAudit.cpp | 51 LogAudit::LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats) in LogAudit()
|
D | ReplayMessages.cpp | 281 std::unique_ptr<LogBuffer> log_buffer_;
|
D | LogKlog.cpp | 204 LogKlog::LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats) in LogKlog()
|
/system/logging/logd/fuzz/ |
D | log_buffer_log_fuzzer.cpp | 47 int write_log_messages(const uint8_t** pdata, size_t* data_left, LogBuffer* log_buffer, in write_log_messages() 108 std::unique_ptr<LogBuffer> log_buffer; in LLVMFuzzerTestOneInput()
|
/system/core/debuggerd/proto/ |
D | tombstone.proto | 31 repeated LogBuffer log_buffers = 18; 191 message LogBuffer { message
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone_proto.cpp | 472 LogBuffer buffer; in dump_log_file()
|