Home
last modified time | relevance | path

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

/aosp12/system/logging/liblog/tests/
H A 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()
/aosp12/system/logging/logd/
H A 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()
H A DSerializedLogEntry.h67 struct logger_entry entry = {}; in Flush()
69 entry.hdr_size = sizeof(struct logger_entry); in Flush()
H A 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()
H A DLogBufferTest.h37 logger_entry entry;
54 bool Write(const logger_entry& entry, const char* message) override { in Write()
H A DLogWriter.h29 virtual bool Write(const logger_entry& entry, const char* msg) = 0;
H A 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()
H A DLogBufferElement.cpp271 struct logger_entry entry = {}; in FlushTo()
273 entry.hdr_size = sizeof(struct logger_entry); in FlushTo()
H A DReplayMessages.cpp129 bool Write(const logger_entry& entry, const char* message) override { in Write()
H A Dlogd_test.cpp256 EXPECT_GE(msg->entry.hdr_size, sizeof(logger_entry)); in dump_log_msg()
/aosp12/system/logging/liblog/include/log/
H A Dlogprint.h122 int android_log_processLogBuffer(struct logger_entry* buf,
131 int android_log_processBinaryLogBuffer(struct logger_entry* buf,
H A Dlog_read.h39 struct logger_entry { struct
60 struct logger_entry entry; argument
/aosp12/system/logging/liblog/include_vndk/log/
H A Dlog_read.h39 struct logger_entry { struct
60 struct logger_entry entry; argument
/aosp12/system/core/debuggerd/libdebuggerd/test/
H A Dlog_fake.cpp90 struct logger_entry*, in android_log_processBinaryLogBuffer() argument
/aosp12/system/unwinding/libunwindstack/tests/
H A DLogFake.cpp99 struct logger_entry*, in android_log_processBinaryLogBuffer() argument
/aosp12/bionic/libc/malloc_debug/tests/
H A Dlog_fake.cpp107 struct logger_entry*, in android_log_processBinaryLogBuffer() argument
/aosp12/system/logging/logd/fuzz/
H A Dlog_buffer_log_fuzzer.cpp91 bool Write(const logger_entry&, const char*) override { return true; } in Write() argument
/aosp12/system/logging/liblog/
H A DREADME.protocol.md91 logd sends a `logger_entry` struct to liblog followed by the payload. The payload is identical to
H A 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,
989 if (buf->hdr_size < sizeof(logger_entry)) {
H A Dpmsg_reader.cpp168 struct logger_entry entry; in __android_log_pmsg_file_read()