Searched refs:curPriority (Results 1 – 2 of 2) sorted by relevance
395 int32_t curPriority = i->getPriority(); in wouldEvictLocked() local396 if (curPriority >= highestPriority) { in wouldEvictLocked()397 highestPriority = curPriority; in wouldEvictLocked()411 int32_t curPriority = i->getPriority(); in wouldEvictLocked() local420 if (conflicting && curPriority > priority) { in wouldEvictLocked()426 (curPriority <= priority) && in wouldEvictLocked()440 if (curPriority > priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()
1283 private int adjustJobPriority(int curPriority, JobStatus job) { in adjustJobPriority() argument1284 if (curPriority < JobInfo.PRIORITY_TOP_APP) { in adjustJobPriority()1287 curPriority += JobInfo.PRIORITY_ADJ_ALWAYS_RUNNING; in adjustJobPriority()1289 curPriority += JobInfo.PRIORITY_ADJ_OFTEN_RUNNING; in adjustJobPriority()1292 return curPriority; in adjustJobPriority()