Home | History | Annotate | Download | only in logd

Lines Matching defs:worst

559 // pruning for worst UID.
669 // the worst offender by logging source. Thus the logs slowly loose content
674 // The first loop performs blacklisting and worst offender pruning. Falling
675 // through when there are no notable worst offenders and have not hit the
676 // region lock preventing further worst offender pruning. This loop also looks
760 // prune by worst offenders; by blacklist, UID, and by PID of system UID
763 // recalculate the worst offender on every batched pass
764 int worst = -1; // not valid for getUid() or getKey()
775 .findWorst(worst, worst_sizes, second_worst_sizes,
780 .findWorst(worst, worst_sizes, second_worst_sizes,
783 if ((worst == AID_SYSTEM) && mPrune.worstPidOfSystemEnabled()) {
784 stats.sortPids(worst, (pid_t)0, 2, id)
790 // skip if we have neither worst nor naughty filters
791 if ((worst == -1) && !hasBlacklist) {
803 if (!gc && (worst != -1)) {
804 { // begin scope for worst found iterator
806 mLastWorst[id].find(worst);
813 if (worstPid) { // begin scope for pid worst found iterator
879 if (key == worst) {
905 if ((!gc && !worstPid && (key == worst)) ||
913 if ((key != worst) ||
920 // key == worst below here
951 (mLastWorst[id].find(worst) == mLastWorst[id].end())) {
952 mLastWorst[id][worst] = it;