Searched refs:Prune (Results 1 – 10 of 10) sorted by relevance
/system/logging/logd/ |
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 | 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 | SimpleLogBuffer.cpp | 186 if (Prune(id, ULONG_MAX, uid)) { in Clear() 198 busy = !Prune(id, 1, uid); in Clear() 212 return Prune(id, ULONG_MAX, uid); in Clear() 237 Prune(id, prune_rows, 0); in MaybePrune() 241 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 | 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
|