/system/core/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 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) { in ThreadFunction() argument 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) { in ThreadFunction() argument 79 return FilterSecondPass(log_id, pid, sequence, realtime); in ThreadFunction() 120 FilterResult LogReaderThread::FilterFirstPass(log_id_t, pid_t pid, uint64_t, log_time realtime) { in FilterFirstPass() argument 123 if ((!pid_ || pid_ == pid) && (start_time_ == log_time::EPOCH || start_time_ <= realtime)) { in FilterFirstPass() 132 log_time realtime) { in FilterSecondPass() argument 149 if (start_time_ != log_time::EPOCH && realtime <= start_time_) { in FilterSecondPass()
|
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 | SimpleLogBuffer.cpp | 80 int SimpleLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument 95 if ((realtime.tv_nsec % 1000) == 0) ++realtime.tv_nsec; in Log() 99 LogInternal(LogBufferElement(log_id, realtime, uid, pid, tid, sequence, msg, len)); in Log() 137 log_time realtime)>& filter) { in FlushTo() 176 filter(element.log_id(), element.pid(), element.sequence(), element.realtime()); in FlushTo()
|
D | LogBuffer.h | 61 virtual int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, 68 log_time realtime)>& filter) = 0;
|
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 | LogReaderThread.h | 68 FilterResult FilterFirstPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime); 69 FilterResult FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime);
|
D | SerializedLogChunk.cpp | 106 SerializedLogEntry* SerializedLogChunk::Log(uint64_t sequence, log_time realtime, uid_t uid, in Log() argument 109 auto* entry = new (new_log_address) SerializedLogEntry(uid, pid, tid, sequence, realtime, len); in Log()
|
D | RecordedLogMessage.h | 27 log_time realtime; member
|
D | SerializedLogBuffer.h | 42 int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char* msg, 47 log_time realtime)>& filter) override;
|
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() 493 if (element.realtime() < (lastt->realtime() - too_old) || in Prune() 494 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, 41 log_time realtime)>& filter) override;
|
D | ReplayMessages.cpp | 117 return meta->realtime; in GetFirstTimeStamp() 194 simple_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log() 197 chatty_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log() 200 serialized_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log() 251 log_buffer_->Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, meta.pid, in Log()
|
D | SerializedLogBuffer.cpp | 71 int SerializedLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument 96 auto entry = logs_[log_id].back().Log(sequence, realtime, uid, pid, tid, msg, len); in Log() 224 log_time realtime)>& filter) { in FlushTo() 245 auto ret = filter(log_id, entry->pid(), entry->sequence(), entry->realtime()); in FlushTo()
|
D | SerializedLogChunk.h | 39 SerializedLogEntry* Log(uint64_t sequence, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
|
/system/core/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 | 114 header.realtime.tv_sec = ts->tv_sec; in LogdWrite() 115 header.realtime.tv_nsec = ts->tv_nsec; in LogdWrite()
|
D | pmsg_writer.cpp | 119 header.realtime.tv_sec = ts->tv_sec; in PmsgWrite() 120 header.realtime.tv_nsec = ts->tv_nsec; in PmsgWrite()
|
/system/core/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/core/logd/fuzz/ |
D | log_buffer_log_fuzzer.cpp | 50 log_time realtime; member 91 log_buffer->Log(log_id, logInput->realtime, logInput->uid, logInput->pid, logInput->tid, msg, in write_log_messages()
|
/system/core/libstats/socket/ |
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/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/core/liblog/include/private/ |
D | android_logger.h | 52 log_time realtime; member
|