Home
last modified time | relevance | path

Searched refs:LogBuffer (Results 1 – 25 of 26) sorted by relevance

12

/system/chre/platform/shared/
Dlog_buffer.cc26 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/
Dlog_buffer_test.cc48 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/
Dlog_buffer.h47 class LogBuffer; variable
71 class LogBuffer {
84 LogBuffer(LogBufferCallbackInterface *callback, void *buffer,
150 void transferTo(LogBuffer &otherBuffer);
Dlog_buffer_manager.h122 LogBuffer mPrimaryLogBuffer;
123 LogBuffer mSecondaryLogBuffer;
/system/logging/logd/
DLogListener.h23 explicit LogListener(LogBuffer* buf);
32 LogBuffer* logbuf_;
DLogReader.h27 explicit LogReader(LogBuffer* logbuf, LogReaderList* reader_list);
37 LogBuffer* log_buffer_;
DCommandListener.h30 CommandListener(LogBuffer* buf, LogTags* tags, PruneList* prune, LogStatistics* log_statistics);
36 LogBuffer* buf_;
50 LogBuffer* buf() const { return parent_->buf_; } \
DLogKlog.h26 LogBuffer* logbuf;
40 LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats);
DLogAudit.h27 LogBuffer* logbuf;
34 LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats);
DLogBuffer.h58 class LogBuffer {
60 virtual ~LogBuffer() {} in ~LogBuffer()
DLogReaderThread.h40 LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list,
77 LogBuffer* log_buffer_;
DLogListener.cpp35 LogListener::LogListener(LogBuffer* buf) : socket_(GetLogSocket()), logbuf_(buf) {} in LogListener()
DSerializedLogBuffer.h37 class SerializedLogBuffer final : public LogBuffer {
DSimpleLogBuffer.h30 class SimpleLogBuffer : public LogBuffer {
DLogReaderThread.cpp29 LogReaderThread::LogReaderThread(LogBuffer* log_buffer, LogReaderList* reader_list, in LogReaderThread()
DLogBufferTest.h181 std::unique_ptr<LogBuffer> log_buffer_;
Dmain.cpp252 LogBuffer* log_buffer = nullptr; in main()
DLogReader.cpp77 LogReader::LogReader(LogBuffer* logbuf, LogReaderList* reader_list) in LogReader()
DCommandListener.cpp44 CommandListener::CommandListener(LogBuffer* buf, LogTags* tags, PruneList* prune, in CommandListener()
DLogAudit.cpp51 LogAudit::LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats) in LogAudit()
DReplayMessages.cpp281 std::unique_ptr<LogBuffer> log_buffer_;
DLogKlog.cpp204 LogKlog::LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats) in LogKlog()
/system/logging/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp47 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/
Dtombstone.proto31 repeated LogBuffer log_buffers = 18;
191 message LogBuffer { message
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto.cpp472 LogBuffer buffer; in dump_log_file()

12