Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h395 int32_t curPriority = i->getPriority(); in wouldEvictLocked() local
396 if (curPriority >= highestPriority) { in wouldEvictLocked()
397 highestPriority = curPriority; in wouldEvictLocked()
411 int32_t curPriority = i->getPriority(); in wouldEvictLocked() local
420 if (conflicting && curPriority > priority) { in wouldEvictLocked()
426 (curPriority <= priority) && in wouldEvictLocked()
440 if (curPriority > priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1283 private int adjustJobPriority(int curPriority, JobStatus job) { in adjustJobPriority() argument
1284 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()