Home
last modified time | relevance | path

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

/system/logging/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()
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
DSerializedFlushToState.h64 void Prune(log_id_t log_id) REQUIRES(logd_lock);
DChattyLogBuffer.h56 bool Prune(log_id_t id, unsigned long pruneRows, uid_t uid) REQUIRES(logd_lock) override;
DSerializedLogBuffer.cpp168 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()
DSerializedLogChunk.cpp76 reader->Prune(log_id); in NotifyReadersOfPrune()
DSerializedLogBuffer.h63 void Prune(log_id_t log_id, size_t bytes_to_free) REQUIRES(logd_lock);
DSimpleLogBuffer.h52 virtual bool Prune(log_id_t id, unsigned long prune_rows, uid_t uid) REQUIRES(logd_lock);
DSerializedFlushToStateTest.cpp295 TEST(SerializedFlushToState, Prune) { in TEST() argument
309 state.Prune(LOG_ID_MAIN); in TEST()
DSerializedFlushToState.cpp148 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