Home
last modified time | relevance | path

Searched refs:logger_entry (Results 1 – 19 of 19) sorted by relevance

/system/logging/liblog/tests/
Dlogprint_test.cpp106 logger_entry* header = reinterpret_cast<logger_entry*>(buf); in TEST()
141 alignas(logger_entry) char buf[LOGGER_ENTRY_MAX_LEN]; in TEST()
142 create_buf(buf, sizeof(buf), sizeof(logger_entry)); in TEST()
146 android_log_processLogBuffer(reinterpret_cast<logger_entry*>(buf), &entry_normal_size)); in TEST()
149 create_buf(buf, sizeof(buf), sizeof(logger_entry) + 3); in TEST()
151 ASSERT_EQ(0, android_log_processLogBuffer(reinterpret_cast<logger_entry*>(buf), &entry_odd_size)); in TEST()
/system/logging/liblog/include/log/
Dlogprint.h122 int android_log_processLogBuffer(struct logger_entry* buf,
131 int android_log_processBinaryLogBuffer(struct logger_entry* buf,
Dlog_read.h39 struct logger_entry { struct
60 struct logger_entry entry; argument
/system/logging/logd/
DChattyLogBufferTest.cpp24 logger_entry entry = { in TEST_P()
92 logger_entry entry = { in TEST_P()
132 logger_entry entry = { in TEST_P()
196 logger_entry entry = {.pid = pid, .tid = 1, .sec = sec, .nsec = 1, .lid = lid, .uid = uid}; in TEST_P()
252 logger_entry entry = { in TEST_P()
DSerializedLogEntry.h67 struct logger_entry entry = {}; in Flush()
69 entry.hdr_size = sizeof(struct logger_entry); in Flush()
DLogWriter.h29 virtual bool Write(const logger_entry& entry, const char* msg) = 0;
DLogBufferTest.cpp41 static std::vector<std::string> CompareLoggerEntries(const logger_entry& expected, in CompareLoggerEntries()
42 const logger_entry& result, bool ignore_len) { in CompareLoggerEntries()
172 entry.hdr_size = sizeof(logger_entry); in FixupMessages()
231 logger_entry entry = { in GenerateRandomLogMessage()
232 .hdr_size = sizeof(logger_entry), in GenerateRandomLogMessage()
DLogBufferTest.h37 logger_entry entry;
54 bool Write(const logger_entry& entry, const char* message) override { in Write()
DLogReader.cpp53 bool Write(const logger_entry& entry, const char* msg) override { in Write()
55 iovec[0].iov_base = const_cast<logger_entry*>(&entry); in Write()
DLogBufferElement.cpp271 struct logger_entry entry = {}; in FlushTo()
273 entry.hdr_size = sizeof(struct logger_entry); in FlushTo()
DReplayMessages.cpp129 bool Write(const logger_entry& entry, const char* message) override { in Write()
Dlogd_test.cpp256 EXPECT_GE(msg->entry.hdr_size, sizeof(logger_entry)); in dump_log_msg()
/system/logging/liblog/include_vndk/log/
Dlog_read.h39 struct logger_entry { struct
60 struct logger_entry entry; argument
/system/core/debuggerd/libdebuggerd/test/
Dlog_fake.cpp90 struct logger_entry*, in android_log_processBinaryLogBuffer() argument
/system/unwinding/libunwindstack/tests/
DLogFake.cpp99 struct logger_entry*, in android_log_processBinaryLogBuffer() argument
/system/logging/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp91 bool Write(const logger_entry&, const char*) override { return true; } in Write() argument
/system/logging/liblog/
DREADME.protocol.md91 logd sends a `logger_entry` struct to liblog followed by the payload. The payload is identical to
Dlogprint.cpp499 int android_log_processLogBuffer(struct logger_entry* buf, AndroidLogEntry* entry) { in android_log_processLogBuffer()
533 if (buf->hdr_size < sizeof(logger_entry)) { in android_log_processLogBuffer()
972 struct logger_entry* buf, AndroidLogEntry* entry, in android_log_processBinaryLogBuffer()
989 if (buf->hdr_size < sizeof(logger_entry)) { in android_log_processBinaryLogBuffer()
Dpmsg_reader.cpp168 struct logger_entry entry; in __android_log_pmsg_file_read()