Searched refs:curPriority (Results 1 – 3 of 3) sorted by relevance
469 ClientPriority curPriority = i->getPriority(); in wouldEvictLocked() local470 if (curPriority <= highestPriority) { in wouldEvictLocked()471 highestPriority = curPriority; in wouldEvictLocked()485 ClientPriority curPriority = i->getPriority(); in wouldEvictLocked() local494 if (conflicting && curPriority < priority) { in wouldEvictLocked()500 (curPriority >= priority) && in wouldEvictLocked()514 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()
161 int32_t curPriority = source_priority(client->source()); in getHighestPriorityClient() local162 if (curPriority >= topPriority) { in getHighestPriorityClient()164 topPriority = curPriority; in getHighestPriorityClient()
2413 private int adjustJobPriority(int curPriority, JobStatus job) { in adjustJobPriority() argument2414 if (curPriority < JobInfo.PRIORITY_TOP_APP) { in adjustJobPriority()2417 curPriority += JobInfo.PRIORITY_ADJ_ALWAYS_RUNNING; in adjustJobPriority()2419 curPriority += JobInfo.PRIORITY_ADJ_OFTEN_RUNNING; in adjustJobPriority()2422 return curPriority; in adjustJobPriority()