Searched refs:LogBufferElement (Results 1 – 13 of 13) sorted by relevance
/system/core/logd/ |
D | LogStatistics.h | 88 inline iterator add(TKey key, LogBufferElement *element) { in add() 108 void subtract(TKey key, LogBufferElement *element) { in subtract() 115 inline void drop(TKey key, LogBufferElement *element) { in drop() 169 EntryBase(LogBufferElement *element):size(element->getMsgLen()) { } in EntryBase() 173 inline void add(LogBufferElement *element) { size += element->getMsgLen(); } in add() 174 inline bool subtract(LogBufferElement *element) { in subtract() 204 EntryBaseDropped(LogBufferElement *element): in EntryBaseDropped() 211 inline void add(LogBufferElement *element) { in add() 215 inline bool subtract(LogBufferElement *element) { in subtract() 219 inline void drop(LogBufferElement *element) { in drop() [all …]
|
D | LogBufferElement.cpp | 34 const uint64_t LogBufferElement::FLUSH_ERROR(0); 35 atomic_int_fast64_t LogBufferElement::sequence(1); 37 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, in LogBufferElement() function in LogBufferElement 51 LogBufferElement::~LogBufferElement() { in ~LogBufferElement() 55 uint32_t LogBufferElement::getTag() const { in getTag() 109 size_t LogBufferElement::populateDroppedMessage(char *&buffer, in populateDroppedMessage() 202 uint64_t LogBufferElement::flushTo(SocketClient *reader, LogBuffer *parent, in flushTo()
|
D | LogWhiteBlackList.h | 45 int cmp(LogBufferElement *e) const { return cmp(e->getUid(), e->getPid()); } in cmp() 64 bool naughty(LogBufferElement *element); 66 bool nice(LogBufferElement *element);
|
D | LogBufferElement.h | 36 class LogBufferElement { 58 LogBufferElement(log_id_t log_id, log_time realtime, 61 virtual ~LogBufferElement();
|
D | LogBuffer.cpp | 160 LogBufferElement *e = *it; in init() 209 LogBufferElement *elem = new LogBufferElement(log_id, realtime, in log() 313 LogBufferElement *element = *it; in erase() 393 typedef std::unordered_map<uint64_t, LogBufferElement *> LogBufferElementMap; 398 bool coalesce(LogBufferElement *element, unsigned short dropped) { in coalesce() 404 LogBufferElement *found = it->second; in coalesce() 416 void add(LogBufferElement *element) { in add() 427 void clear(LogBufferElement *element) { in clear() 431 LogBufferElement *mapElement = it->second; in clear() 517 LogBufferElement *element = *it; in prune() [all …]
|
D | LogTimes.h | 30 class LogBufferElement; variable 116 static int FilterFirstPass(const LogBufferElement *element, void *me); 117 static int FilterSecondPass(const LogBufferElement *element, void *me);
|
D | LogTimes.cpp | 45 mEnd(LogBufferElement::getCurrentSequence()) { in LogTimeEntry() 161 if (start == LogBufferElement::FLUSH_ERROR) { in threadStart() 187 int LogTimeEntry::FilterFirstPass(const LogBufferElement *element, void *obj) { in FilterFirstPass() 215 int LogTimeEntry::FilterSecondPass(const LogBufferElement *element, void *obj) { in FilterSecondPass()
|
D | LogBuffer.h | 76 typedef std::list<LogBufferElement *> LogBufferElementCollection; 115 int (*filter)(const LogBufferElement *element, void *arg) = NULL,
|
D | FlushCommand.h | 22 class LogBufferElement; variable
|
D | Android.mk | 17 LogBufferElement.cpp \
|
D | LogReader.cpp | 142 static int callback(const LogBufferElement *element, void *obj) { in onDataAvailable() 178 sequence = LogBufferElement::getCurrentSequence(); in onDataAvailable()
|
D | LogWhiteBlackList.cpp | 253 bool PruneList::naughty(LogBufferElement *element) { in naughty() 263 bool PruneList::nice(LogBufferElement *element) { in nice()
|
D | LogStatistics.cpp | 64 void LogStatistics::add(LogBufferElement *element) { in add() 99 void LogStatistics::subtract(LogBufferElement *element) { in subtract() 136 void LogStatistics::drop(LogBufferElement *element) { in drop()
|