Searched refs:Prune (Results 1 – 10 of 10) sorted by relevance
/system/core/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 | SerializedLogBuffer.cpp | 109 Prune(log_id, total_size - max_size_[log_id], 0); in MaybePrune() 133 state.Prune(log_id, chunk); in NotifyReadersOfPrune() 137 bool SerializedLogBuffer::Prune(log_id_t log_id, size_t bytes_to_free, uid_t uid) { in Prune() function in SerializedLogBuffer 272 bool prune_success = Prune(id, ULONG_MAX, uid); in Clear() 285 busy = !Prune(id, 1, uid); in Clear() 299 return Prune(id, ULONG_MAX, uid); in Clear()
|
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 | ChattyLogBuffer.h | 57 bool Prune(log_id_t id, unsigned long pruneRows, uid_t uid) REQUIRES(lock_) override;
|
D | SerializedFlushToState.h | 75 void Prune(log_id_t log_id, const std::list<SerializedLogChunk>::iterator& buffer_it);
|
D | SerializedLogBuffer.h | 58 bool Prune(log_id_t log_id, size_t bytes_to_free, uid_t uid) REQUIRES(lock_);
|
D | SimpleLogBuffer.h | 50 virtual bool Prune(log_id_t id, unsigned long prune_rows, uid_t uid) REQUIRES(lock_);
|
D | SerializedFlushToState.cpp | 129 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
|