Home
last modified time | relevance | path

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

/system/core/logd/
DChattyLogBuffer.cpp384 pid_t worstPid = 0; // POSIX guarantees PID != 0 in Prune() local
397 stats()->WorstTwoSystemPids(id, worst_sizes, &worstPid, &second_worst_sizes); in Prune()
423 if (worstPid) { // begin scope for pid worst found iterator in Prune()
426 LogBufferPidIteratorMap::iterator found = mLastWorstPidOfSystem[id].find(worstPid); in Prune()
500 if (worstPid && ((!gc && element.pid() == worstPid) || in Prune()
508 if ((!gc && !worstPid && (key == worst)) || in Prune()
516 if (key != worst || (worstPid && element.pid() != worstPid)) { in Prune()
544 if (worstPid && (!gc || mLastWorstPidOfSystem[id].find(worstPid) == in Prune()
549 mLastWorstPidOfSystem[id][worstPid] = it; in Prune()
551 if ((!gc && !worstPid) || mLastWorst[id].find(worst) == mLastWorst[id].end()) { in Prune()