Home
last modified time | relevance | path

Searched refs:LogBufferElement (Results 1 – 10 of 10) sorted by relevance

/system/logging/logd/
DLogBufferElement.h35 class __attribute__((packed)) LogBufferElement {
37 LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
39 LogBufferElement(const LogBufferElement& elem);
40 LogBufferElement(LogBufferElement&& elem) noexcept;
41 ~LogBufferElement();
DLogBufferElement.cpp33 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in LogBufferElement() function in LogBufferElement
47 LogBufferElement::LogBufferElement(const LogBufferElement& elem) in LogBufferElement() function in LogBufferElement
64 LogBufferElement::LogBufferElement(LogBufferElement&& elem) noexcept in LogBufferElement() function in LogBufferElement
81 LogBufferElement::~LogBufferElement() { in ~LogBufferElement()
87 uint32_t LogBufferElement::GetTag() const { in GetTag()
101 LogStatisticsElement LogBufferElement::ToLogStatisticsElement() const { in ToLogStatisticsElement()
120 uint16_t LogBufferElement::SetDropped(uint16_t value) { in SetDropped()
183 size_t LogBufferElement::PopulateDroppedMessage(char*& buffer, LogStatistics* stats, in PopulateDroppedMessage()
270 bool LogBufferElement::FlushTo(LogWriter* writer, LogStatistics* stats, bool lastSame) { in FlushTo()
DSimpleLogBuffer.h53 virtual void LogInternal(LogBufferElement&& elem) REQUIRES(logd_lock);
57 std::list<LogBufferElement>::iterator GetOldest(log_id_t log_id) REQUIRES(logd_lock);
58 std::list<LogBufferElement>::iterator Erase(std::list<LogBufferElement>::iterator it)
66 std::list<LogBufferElement>& logs() { return logs_; } in logs()
79 std::list<LogBufferElement> logs_ GUARDED_BY(logd_lock);
82 std::optional<std::list<LogBufferElement>::iterator> oldest_[LOG_ID_MAX] GUARDED_BY(logd_lock);
DChattyLogBuffer.h40 typedef std::list<LogBufferElement> LogBufferElementCollection;
57 void LogInternal(LogBufferElement&& elem) REQUIRES(logd_lock) override;
66 std::optional<LogBufferElement> last_logged_elements_[LOG_ID_MAX] GUARDED_BY(logd_lock);
69 std::optional<LogBufferElement> duplicate_elements_[LOG_ID_MAX] GUARDED_BY(logd_lock);
DPruneList.h33 bool Matches(LogBufferElement* element) const;
51 bool IsHighPriority(LogBufferElement* element) const;
52 bool IsLowPriority(LogBufferElement* element) const;
DChattyLogBuffer.cpp51 static enum match_type Identical(const LogBufferElement& elem, const LogBufferElement& last) { in Identical()
102 void ChattyLogBuffer::LogInternal(LogBufferElement&& elem) { in LogInternal()
117 LogBufferElement& current_last = *last_logged_elements_[log_id]; in LogInternal()
179 LogBufferElement& element = *it; in Erase()
237 typedef std::unordered_map<uint64_t, LogBufferElement*> LogBufferElementMap;
241 bool coalesce(LogBufferElement* element, uint16_t dropped) { in coalesce()
245 LogBufferElement* found = it->second; in coalesce()
257 void add(LogBufferElement* element) { in add()
264 void clear(LogBufferElement* element) { in clear()
267 LogBufferElement* mapElement = it->second; in clear()
[all …]
DSimpleLogBuffer.cpp45 std::list<LogBufferElement>::iterator SimpleLogBuffer::GetOldest(log_id_t log_id) { in GetOldest()
100 LogInternal(LogBufferElement(log_id, realtime, uid, pid, tid, sequence, msg, len)); in Log()
104 void SimpleLogBuffer::LogInternal(LogBufferElement&& elem) { in LogInternal()
141 std::list<LogBufferElement>::iterator it; in FlushTo()
161 LogBufferElement& element = *it; in FlushTo()
292 LogBufferElement& element = *it; in Prune()
318 std::list<LogBufferElement>::iterator SimpleLogBuffer::Erase( in Erase()
319 std::list<LogBufferElement>::iterator it) { in Erase()
DPruneList.cpp26 bool Prune::Matches(LogBufferElement* element) const { in Matches()
185 bool PruneList::IsHighPriority(LogBufferElement* element) const { in IsHighPriority()
194 bool PruneList::IsLowPriority(LogBufferElement* element) const { in IsLowPriority()
DAndroid.bp64 "LogBufferElement.cpp",
DLogStatistics.cpp973 (sizeof(LogBufferElement) + 2 * sizeof(void*) + sizeof(uint64_t) - 1) & in Format()