Searched refs:SerializedLogEntry (Results 1 – 8 of 8) sorted by relevance
/system/logging/logd/ |
D | SerializedLogEntry.h | 34 class __attribute__((packed)) SerializedLogEntry { 36 SerializedLogEntry(uid_t uid, pid_t pid, pid_t tid, uint64_t sequence, log_time realtime, in SerializedLogEntry() function 44 SerializedLogEntry(const SerializedLogEntry& elem) = delete; 45 SerializedLogEntry& operator=(const SerializedLogEntry& elem) = delete; 46 ~SerializedLogEntry() { in ~SerializedLogEntry()
|
D | SerializedLogChunk.h | 51 const SerializedLogEntry& operator*() const { return *chunk_.log_entry(read_offset_); } 71 SerializedLogEntry* Log(uint64_t sequence, log_time realtime, uid_t uid, pid_t pid, pid_t tid, 81 const SerializedLogEntry* log_entry(int offset) const { in log_entry() 83 return reinterpret_cast<const SerializedLogEntry*>(data() + offset); in log_entry()
|
D | SerializedFlushToState.h | 32 const SerializedLogEntry* log_entry() const { return buffer_it->log_entry(read_offset); } in log_entry() 37 const SerializedLogEntry* entry;
|
D | SerializedLogChunk.cpp | 84 SerializedLogEntry* SerializedLogChunk::Log(uint64_t sequence, log_time realtime, uid_t uid, in Log() 87 auto* entry = new (new_log_address) SerializedLogEntry(uid, pid, tid, sequence, realtime, len); in Log()
|
D | SerializedLogChunkTest.cpp | 36 size_t expected_total_len = sizeof(SerializedLogEntry) + sizeof(log_message); in TEST() 61 size_t individual_message_size = sizeof(SerializedLogEntry) + sizeof(log_message); in TEST()
|
D | SerializedLogBuffer.cpp | 30 static SerializedLogEntry* LogToLogBuffer(std::list<SerializedLogChunk>& log_buffer, in LogToLogBuffer() 38 auto total_len = sizeof(SerializedLogEntry) + len; in LogToLogBuffer() 289 if (!reinterpret_cast<SerializedLogEntry*>(entry_copy)->Flush(writer, log_id)) { in FlushTo()
|
D | SerializedLogBufferTest.cpp | 78 if (!chunk.CanLog(sizeof(SerializedLogEntry) + entry.msg.size())) { in CreateChunk() 252 (sizeof(SerializedLogEntry) + kMsg.size()) * SerializedLogBuffer::kChunkSizeDivisor; in TEST() 317 (sizeof(SerializedLogEntry) + kMsg.size()) * SerializedLogBuffer::kChunkSizeDivisor * 2; in TEST()
|
D | SerializedFlushToState.cpp | 128 const SerializedLogEntry* entry = nullptr; in PopNextUnreadLog()
|