Searched refs:Prune (Results 1 – 12 of 12) sorted by relevance
/system/logging/logd/ |
D | PruneList.h | 26 class Prune { 31 Prune(uid_t uid, pid_t pid) : uid_(uid), pid_(pid) {} in Prune() function 61 std::list<Prune> high_priority_prune_; 62 std::list<Prune> low_priority_prune_;
|
D | PruneList.cpp | 26 bool Prune::Matches(LogBufferElement* element) const { in Matches() 31 std::string Prune::Format() const { in Format() 90 std::list<Prune>* list; in Init() 129 uid_t uid = Prune::UID_ALL; in Init() 137 pid_t pid = Prune::PID_ALL; in Init() 148 if (uid == Prune::UID_ALL && pid == Prune::PID_ALL) { in Init()
|
D | SimpleLogBuffer.cpp | 220 if (Prune(id, ULONG_MAX, uid)) { in Clear() 232 busy = !Prune(id, 1, uid); in Clear() 246 return Prune(id, ULONG_MAX, uid); in Clear() 271 Prune(id, prune_rows, 0); in MaybePrune() 275 bool SimpleLogBuffer::Prune(log_id_t id, unsigned long prune_rows, uid_t caller_uid) { in Prune() function in SimpleLogBuffer
|
D | SerializedFlushToState.h | 64 void Prune(log_id_t log_id) REQUIRES(logd_lock);
|
D | ChattyLogBuffer.h | 56 bool Prune(log_id_t id, unsigned long pruneRows, uid_t uid) REQUIRES(logd_lock) override;
|
D | SerializedLogBuffer.cpp | 168 Prune(log_id, total_size - max_size_[log_id]); in MaybePrune() 185 void SerializedLogBuffer::Prune(log_id_t log_id, size_t bytes_to_free) { in Prune() function in SerializedLogBuffer 304 Prune(id, ULONG_MAX); in Clear()
|
D | SerializedLogChunk.cpp | 76 reader->Prune(log_id); in NotifyReadersOfPrune()
|
D | SerializedLogBuffer.h | 63 void Prune(log_id_t log_id, size_t bytes_to_free) REQUIRES(logd_lock);
|
D | SimpleLogBuffer.h | 52 virtual bool Prune(log_id_t id, unsigned long prune_rows, uid_t uid) REQUIRES(logd_lock);
|
D | SerializedFlushToStateTest.cpp | 295 TEST(SerializedFlushToState, Prune) { in TEST() argument 309 state.Prune(LOG_ID_MAIN); in TEST()
|
D | SerializedFlushToState.cpp | 148 void SerializedFlushToState::Prune(log_id_t log_id) { in Prune() function in SerializedFlushToState
|
D | ChattyLogBuffer.cpp | 332 bool ChattyLogBuffer::Prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in Prune() function in ChattyLogBuffer
|