Home
last modified time | relevance | path

Searched refs:SerializedLogEntry (Results 1 – 8 of 8) sorted by relevance

/system/logging/logd/
DSerializedLogEntry.h34 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()
DSerializedLogChunk.h51 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()
DSerializedFlushToState.h32 const SerializedLogEntry* log_entry() const { return buffer_it->log_entry(read_offset); } in log_entry()
37 const SerializedLogEntry* entry;
DSerializedLogChunk.cpp84 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()
DSerializedLogChunkTest.cpp36 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()
DSerializedLogBuffer.cpp30 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()
DSerializedLogBufferTest.cpp78 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()
DSerializedFlushToState.cpp128 const SerializedLogEntry* entry = nullptr; in PopNextUnreadLog()