/system/logging/liblog/tests/ |
D | logprint_test.cpp | 106 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/ |
D | logprint.h | 122 int android_log_processLogBuffer(struct logger_entry* buf, 131 int android_log_processBinaryLogBuffer(struct logger_entry* buf,
|
D | log_read.h | 39 struct logger_entry { struct 60 struct logger_entry entry; argument
|
/system/logging/logd/ |
D | ChattyLogBufferTest.cpp | 24 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()
|
D | SerializedLogEntry.h | 67 struct logger_entry entry = {}; in Flush() 69 entry.hdr_size = sizeof(struct logger_entry); in Flush()
|
D | LogWriter.h | 29 virtual bool Write(const logger_entry& entry, const char* msg) = 0;
|
D | LogBufferTest.cpp | 41 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()
|
D | LogBufferTest.h | 37 logger_entry entry; 54 bool Write(const logger_entry& entry, const char* message) override { in Write()
|
D | LogReader.cpp | 53 bool Write(const logger_entry& entry, const char* msg) override { in Write() 55 iovec[0].iov_base = const_cast<logger_entry*>(&entry); in Write()
|
D | LogBufferElement.cpp | 271 struct logger_entry entry = {}; in FlushTo() 273 entry.hdr_size = sizeof(struct logger_entry); in FlushTo()
|
D | ReplayMessages.cpp | 129 bool Write(const logger_entry& entry, const char* message) override { in Write()
|
D | logd_test.cpp | 256 EXPECT_GE(msg->entry.hdr_size, sizeof(logger_entry)); in dump_log_msg()
|
/system/logging/liblog/include_vndk/log/ |
D | log_read.h | 39 struct logger_entry { struct 60 struct logger_entry entry; argument
|
/system/core/debuggerd/libdebuggerd/test/ |
D | log_fake.cpp | 90 struct logger_entry*, in android_log_processBinaryLogBuffer() argument
|
/system/unwinding/libunwindstack/tests/ |
D | LogFake.cpp | 99 struct logger_entry*, in android_log_processBinaryLogBuffer() argument
|
/system/logging/logd/fuzz/ |
D | log_buffer_log_fuzzer.cpp | 91 bool Write(const logger_entry&, const char*) override { return true; } in Write() argument
|
/system/logging/liblog/ |
D | README.protocol.md | 91 logd sends a `logger_entry` struct to liblog followed by the payload. The payload is identical to
|
D | logprint.cpp | 499 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()
|
D | pmsg_reader.cpp | 168 struct logger_entry entry; in __android_log_pmsg_file_read()
|