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()
514 (curPriority >= priority) && in wouldEvictLocked()
528 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/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java2360 private int adjustJobPriority(int curPriority, JobStatus job) {
2361 if (curPriority < JobInfo.PRIORITY_TOP_APP) {
2364 curPriority += JobInfo.PRIORITY_ADJ_ALWAYS_RUNNING;
2366 curPriority += JobInfo.PRIORITY_ADJ_OFTEN_RUNNING;
2369 return curPriority;