Lines Matching refs:worst
379 int worst = -1; // not valid for uid() or getKey() in Prune() local
389 stats()->WorstTwoTags(threshold, &worst, &worst_sizes, &second_worst_sizes); in Prune()
392 stats()->WorstTwoUids(id, threshold, &worst, &worst_sizes, &second_worst_sizes); in Prune()
394 if (worst == AID_SYSTEM && prune_->worst_pid_of_system_enabled()) { in Prune()
401 if (worst == -1 && !check_high_priority) { in Prune()
413 if (!gc && (worst != -1)) { in Prune()
415 LogBufferIteratorMap::iterator found = mLastWorst[id].find(worst); in Prune()
481 if (key == worst) { in Prune()
506 if ((!gc && !worstPid && (key == worst)) || in Prune()
514 if (key != worst || (worstPid && element.pid() != worstPid)) { in Prune()
549 if ((!gc && !worstPid) || mLastWorst[id].find(worst) == mLastWorst[id].end()) { in Prune()
550 mLastWorst[id][worst] = it; in Prune()