Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h469 ClientPriority curPriority = i->getPriority(); in wouldEvictLocked() local
470 if (curPriority <= highestPriority) { in wouldEvictLocked()
471 highestPriority = curPriority; in wouldEvictLocked()
485 ClientPriority curPriority = i->getPriority(); in wouldEvictLocked() local
494 if (conflicting && curPriority < priority) { in wouldEvictLocked()
500 (curPriority >= priority) && in wouldEvictLocked()
514 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp161 int32_t curPriority = source_priority(client->source()); in getHighestPriorityClient() local
162 if (curPriority >= topPriority) { in getHighestPriorityClient()
164 topPriority = curPriority; in getHighestPriorityClient()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java2413 private int adjustJobPriority(int curPriority, JobStatus job) { in adjustJobPriority() argument
2414 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()