/system/logging/logd/ |
D | SerializedLogEntry.h | 36 SerializedLogEntry(uid_t uid, pid_t pid, pid_t tid, uint64_t sequence, log_time realtime, in SerializedLogEntry() argument 42 realtime_(realtime), in SerializedLogEntry() 57 .realtime = realtime(), in ToLogStatisticsElement() 74 entry.sec = realtime().tv_sec; in Flush() 75 entry.nsec = realtime().tv_nsec; in Flush() 86 log_time realtime() const { return realtime_; } in realtime() function
|
D | RecordingLogBuffer.cpp | 26 void RecordingLogBuffer::RecordLogMessage(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in RecordLogMessage() argument 37 .realtime = realtime, in RecordLogMessage() 58 int RecordingLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument 60 RecordLogMessage(log_id, realtime, uid, pid, tid, msg, len); in Log() 61 return SimpleLogBuffer::Log(log_id, realtime, uid, pid, tid, msg, len); in Log()
|
D | LogReaderThread.cpp | 72 log_time realtime) REQUIRES(logd_lock) { in ThreadFunction() 73 return FilterFirstPass(log_id, pid, sequence, realtime); in ThreadFunction() 78 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) REQUIRES( in ThreadFunction() 79 logd_lock) { return FilterSecondPass(log_id, pid, sequence, realtime); }); in ThreadFunction() 117 FilterResult LogReaderThread::FilterFirstPass(log_id_t, pid_t pid, uint64_t, log_time realtime) { in FilterFirstPass() argument 118 if ((!pid_ || pid_ == pid) && (start_time_ == log_time::EPOCH || start_time_ <= realtime)) { in FilterFirstPass() 127 log_time realtime) { in FilterSecondPass() argument 142 if (start_time_ != log_time::EPOCH && realtime <= start_time_) { in FilterSecondPass()
|
D | SerializedLogBufferTest.cpp | 69 log_time realtime; member 82 chunk.Log(entry.sequence, entry.realtime, entry.uid, entry.pid, entry.tid, entry.msg.data(), in CreateChunk() 151 .realtime = log_time(0, 1), in TEST() 195 .realtime = log_time(0, 1), in TEST() 201 .realtime = log_time(0, 1), in TEST() 226 .realtime = log_time(0, 1), in TEST() 232 .realtime = log_time(0, 1), in TEST() 260 .realtime = log_time(0, 1), in TEST() 269 .realtime = log_time(0, 1), in TEST() 278 .realtime = log_time(0, 1), in TEST() [all …]
|
D | RecordingLogBuffer.h | 34 int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char* msg, 38 void RecordLogMessage(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
|
D | SerializedLogBuffer.cpp | 31 size_t max_size, uint64_t sequence, log_time realtime, in LogToLogBuffer() argument 44 return log_buffer.back().Log(sequence, realtime, uid, pid, tid, msg, len); in LogToLogBuffer() 84 LogToLogBuffer(new_logs, max_size, entry.sequence(), entry.realtime(), entry.uid(), in ClearLogsByUid() 136 int SerializedLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument 154 auto entry = LogToLogBuffer(logs_[log_id], max_size_[log_id], sequence, realtime, uid, pid, tid, in Log() 254 log_time realtime)>& filter) { in FlushTo() 272 auto ret = filter(log_id, entry->pid(), entry->sequence(), entry->realtime()); in FlushTo()
|
D | LogBufferElement.h | 37 LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, 57 log_time realtime() const { return realtime_; } in realtime() function
|
D | SimpleLogBuffer.cpp | 81 int SimpleLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument 96 if ((realtime.tv_nsec % 1000) == 0) ++realtime.tv_nsec; in Log() 100 LogInternal(LogBufferElement(log_id, realtime, uid, pid, tid, sequence, msg, len)); in Log() 138 log_time realtime)>& filter) { in FlushTo() 175 filter(element.log_id(), element.pid(), element.sequence(), element.realtime()); in FlushTo()
|
D | LogBuffer.h | 64 virtual int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, 72 log_time realtime)>& filter) REQUIRES(logd_lock) = 0;
|
D | SerializedLogChunk.cpp | 84 SerializedLogEntry* SerializedLogChunk::Log(uint64_t sequence, log_time realtime, uid_t uid, in Log() argument 87 auto* entry = new (new_log_address) SerializedLogEntry(uid, pid, tid, sequence, realtime, len); in Log()
|
D | RecordedLogMessage.h | 27 log_time realtime; member
|
D | LogReaderThread.h | 71 FilterResult FilterFirstPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) 73 FilterResult FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime)
|
D | SerializedLogBuffer.h | 45 int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char* msg, 51 log_time realtime)>& filter)
|
D | ChattyLogBuffer.cpp | 61 if (elem.realtime().nsec() > (last.realtime().nsec() + 60 * NS_PER_SEC)) return DIFFERENT; in Identical() 265 uint64_t current = element->realtime().nsec() - (EXPIRE_RATELIMIT * NS_PER_SEC); in clear() 269 current > mapElement->realtime().nsec()) { in clear() 491 if (element.realtime() < (lastt->realtime() - too_old) || in Prune() 492 element.realtime() > lastt->realtime()) { in Prune()
|
D | LogBufferElement.cpp | 33 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in LogBufferElement() argument 39 realtime_(realtime), in LogBufferElement() 111 .realtime = realtime(), in ToLogStatisticsElement()
|
D | SimpleLogBuffer.h | 36 int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char* msg, 42 log_time realtime)>& filter)
|
D | ReplayMessages.cpp | 106 return meta->realtime; in GetFirstTimeStamp() 205 simple_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log() 208 chatty_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log() 211 serialized_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log() 262 log_buffer_->Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, meta.pid, in Log()
|
D | LogListener.cpp | 119 logbuf_->Log(logId, header->realtime, cred->uid, cred->pid, header->tid, msg, in HandleData()
|
/system/logging/liblog/ |
D | pmsg_reader.cpp | 82 (buf.l.realtime.tv_nsec >= NS_PER_SEC) || in PmsgRead() 95 ((logger_list->start.tv_sec <= buf.l.realtime.tv_sec) && in PmsgRead() 96 ((logger_list->start.tv_sec != buf.l.realtime.tv_sec) || in PmsgRead() 97 (logger_list->start.tv_nsec <= buf.l.realtime.tv_nsec)))) && in PmsgRead() 117 log_msg->entry.sec = buf.l.realtime.tv_sec; in PmsgRead() 118 log_msg->entry.nsec = buf.l.realtime.tv_nsec; in PmsgRead()
|
D | logd_writer.cpp | 145 header.realtime.tv_sec = ts->tv_sec; in LogdWrite() 146 header.realtime.tv_nsec = ts->tv_nsec; in LogdWrite()
|
D | pmsg_writer.cpp | 127 header.realtime.tv_sec = ts->tv_sec; in PmsgWrite() 128 header.realtime.tv_nsec = ts->tv_nsec; in PmsgWrite()
|
/system/logging/liblog/tests/ |
D | liblog_benchmark.cpp | 198 header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_short() 199 header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_short() 285 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_short_aligned() 286 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_short_aligned() 360 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_short_unaligned1() 361 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_short_unaligned1() 435 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_long_aligned() 436 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_long_aligned() 508 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_long_unaligned1() 509 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_long_unaligned1()
|
/system/logging/logd/fuzz/ |
D | log_buffer_log_fuzzer.cpp | 40 log_time realtime; member 81 log_buffer->Log(log_id, logInput->realtime, logInput->uid, logInput->pid, logInput->tid, msg, in write_log_messages()
|
/system/core/libstats/push_compat/ |
D | statsd_writer.c | 192 header.realtime.tv_sec = ts->tv_sec; in statsdWrite() 193 header.realtime.tv_nsec = ts->tv_nsec; in statsdWrite()
|
/system/logging/liblog/include/private/ |
D | android_logger.h | 52 log_time realtime; member
|