Home
last modified time | relevance | path

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

/system/core/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.h51 virtual void LogInternal(LogBufferElement&& elem) REQUIRES(lock_);
55 std::list<LogBufferElement>::iterator GetOldest(log_id_t log_id) REQUIRES(lock_);
56 std::list<LogBufferElement>::iterator Erase(std::list<LogBufferElement>::iterator it)
64 std::list<LogBufferElement>& logs() { return logs_; } in logs()
79 std::list<LogBufferElement> logs_ GUARDED_BY(lock_);
82 std::optional<std::list<LogBufferElement>::iterator> oldest_[LOG_ID_MAX] GUARDED_BY(lock_);
DChattyLogBuffer.h41 typedef std::list<LogBufferElement> LogBufferElementCollection;
58 void LogInternal(LogBufferElement&& elem) REQUIRES(lock_) override;
67 std::optional<LogBufferElement> last_logged_elements_[LOG_ID_MAX] GUARDED_BY(lock_);
70 std::optional<LogBufferElement> duplicate_elements_[LOG_ID_MAX] GUARDED_BY(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.cpp44 std::list<LogBufferElement>::iterator SimpleLogBuffer::GetOldest(log_id_t log_id) { in GetOldest()
99 LogInternal(LogBufferElement(log_id, realtime, uid, pid, tid, sequence, msg, len)); in Log()
103 void SimpleLogBuffer::LogInternal(LogBufferElement&& elem) { in LogInternal()
142 std::list<LogBufferElement>::iterator it; in FlushTo()
162 LogBufferElement& element = *it; in FlushTo()
294 LogBufferElement& element = *it; in Prune()
320 std::list<LogBufferElement>::iterator SimpleLogBuffer::Erase( in Erase()
321 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.bp59 "LogBufferElement.cpp",
DLogStatistics.cpp973 (sizeof(LogBufferElement) + 2 * sizeof(void*) + sizeof(uint64_t) - 1) & in Format()