Searched refs:LogTimeEntry (Results 1 – 6 of 6) sorted by relevance
/system/core/logd/ |
D | LogTimes.cpp | 28 pthread_mutex_t LogTimeEntry::timesLock = PTHREAD_MUTEX_INITIALIZER; 30 LogTimeEntry::LogTimeEntry(LogReader& reader, SocketClient* client, in LogTimeEntry() function in LogTimeEntry 51 bool LogTimeEntry::startReader_Locked() { in startReader_Locked() 56 if (!pthread_create(&mThread, &attr, LogTimeEntry::threadStart, in startReader_Locked() 68 void* LogTimeEntry::threadStart(void* obj) { in threadStart() 71 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in threadStart() 147 int LogTimeEntry::FilterFirstPass(const LogBufferElement* element, void* obj) { in FilterFirstPass() 148 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in FilterFirstPass() 150 LogTimeEntry::wrlock(); in FilterFirstPass() 154 LogTimeEntry::unlock(); in FilterFirstPass() [all …]
|
D | FlushCommand.cpp | 39 LogTimeEntry* entry = nullptr; in runSocketCommand() 42 LogTimeEntry::wrlock(); in runSocketCommand() 48 LogTimeEntry::unlock(); in runSocketCommand() 53 LogTimeEntry::unlock(); in runSocketCommand() 61 LogTimeEntry::unlock(); in runSocketCommand() 66 LogTimeEntry::unlock(); in runSocketCommand() 72 LogTimeEntry::unlock(); in runSocketCommand()
|
D | LogReader.cpp | 63 LogTimeEntry::wrlock(); in onDataAvailable() 67 LogTimeEntry::unlock(); in onDataAvailable() 71 LogTimeEntry::unlock(); in onDataAvailable() 127 LogTimeEntry::wrlock(); in onDataAvailable() 128 LogTimeEntry::unlock(); in onDataAvailable() 219 LogTimeEntry::wrlock(); in onDataAvailable() 220 auto entry = std::make_unique<LogTimeEntry>( in onDataAvailable() 223 LogTimeEntry::unlock(); in onDataAvailable() 236 LogTimeEntry::unlock(); in onDataAvailable() 243 LogTimeEntry::wrlock(); in doSocketDelete() [all …]
|
D | LogTimes.h | 36 class LogTimeEntry { 53 LogTimeEntry(LogReader& reader, SocketClient* client, bool nonBlock, 103 typedef std::list<std::unique_ptr<LogTimeEntry>> LastLogTimes;
|
D | LogBuffer.cpp | 104 LogTimeEntry::wrlock(); in init() 108 LogTimeEntry* entry = times->get(); in init() 113 LogTimeEntry::unlock(); in init() 406 LogTimeEntry::rdlock(); in log() 410 LogTimeEntry* entry = times->get(); in log() 437 LogTimeEntry::unlock(); in log() 637 void LogBuffer::kickMe(LogTimeEntry* me, log_id_t id, unsigned long pruneRows) { in kickMe() 700 LogTimeEntry* oldest = nullptr; in prune() 704 LogTimeEntry::rdlock(); in prune() 709 LogTimeEntry* entry = times->get(); in prune() [all …]
|
D | LogBuffer.h | 188 void kickMe(LogTimeEntry* me, log_id_t id, unsigned long pruneRows);
|