Home
last modified time | relevance | path

Searched refs:Prune (Results 1 – 10 of 10) sorted by relevance

/system/core/logd/
DPruneList.h26 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_;
DPruneList.cpp26 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()
DSerializedLogBuffer.cpp109 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()
DSimpleLogBuffer.cpp220 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
DChattyLogBuffer.h57 bool Prune(log_id_t id, unsigned long pruneRows, uid_t uid) REQUIRES(lock_) override;
DSerializedFlushToState.h75 void Prune(log_id_t log_id, const std::list<SerializedLogChunk>::iterator& buffer_it);
DSerializedLogBuffer.h58 bool Prune(log_id_t log_id, size_t bytes_to_free, uid_t uid) REQUIRES(lock_);
DSimpleLogBuffer.h50 virtual bool Prune(log_id_t id, unsigned long prune_rows, uid_t uid) REQUIRES(lock_);
DSerializedFlushToState.cpp129 void SerializedFlushToState::Prune(log_id_t log_id, in Prune() function in SerializedFlushToState
DChattyLogBuffer.cpp332 bool ChattyLogBuffer::Prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in Prune() function in ChattyLogBuffer