Searched refs:BIAS_TOP_APP (Results 1 – 15 of 15) sorted by relevance
110 if (mService.getUidBias(uid) == JobInfo.BIAS_TOP_APP) { in prepareForExecutionLocked()153 if (prevBias == JobInfo.BIAS_TOP_APP || newBias == JobInfo.BIAS_TOP_APP) { in onUidBiasChangedLocked()160 return mService.getUidBias(taskStatus.getSourceUid()) == JobInfo.BIAS_TOP_APP in hasTopExemptionLocked()
206 final boolean isNowTop = newBias == JobInfo.BIAS_TOP_APP; in onUidBiasChangedLocked()207 final boolean wasTop = prevBias == JobInfo.BIAS_TOP_APP; in onUidBiasChangedLocked()335 mService.getUidBias(jobStatus.getSourceUid()) == JobInfo.BIAS_TOP_APP; in updateConstraintLocked()
397 if (jobStatus.lastEvaluatedBias == JobInfo.BIAS_TOP_APP) { in prepareForExecutionLocked()419 if (jobStatus.lastEvaluatedBias == JobInfo.BIAS_TOP_APP) { in unprepareFromExecutionLocked()494 || mService.getUidBias(js.getSourceUid()) == JobInfo.BIAS_TOP_APP in isFlexibilitySatisfiedLocked()774 if (hasPrefetch && prevBias == JobInfo.BIAS_TOP_APP) { in onUidBiasChangedLocked()
230 final int topPriority = prioritizeExistenceOver(JobInfo.BIAS_TOP_APP - 1,
321 setUidBias(uid1, JobInfo.BIAS_TOP_APP); in testTopPowerConnectedExemption()353 setUidBias(uid3, JobInfo.BIAS_TOP_APP); in testTopPowerConnectedExemption()402 setUidBias(mSourceUid, JobInfo.BIAS_TOP_APP); in testControllerOnlyTracksPowerJobs()
20 import static android.app.job.JobInfo.BIAS_TOP_APP;1337 setUidBias(mSourceUid, JobInfo.BIAS_TOP_APP); in testTopAppBypass()1879 setUidBias(mSourceUid, BIAS_TOP_APP); in testUidUpdatesLifeCycle()1887 setUidBias(mSourceUid, BIAS_TOP_APP); in testUidUpdatesLifeCycle()
349 setUidBias(uid, JobInfo.BIAS_TOP_APP); in testConstraintSatisfiedWhenTop()
91 if (bias >= JobInfo.BIAS_TOP_APP) { in isJobRestricted()
375 if (js1.lastEvaluatedBias == JobInfo.BIAS_TOP_APP) {376 if (js2.lastEvaluatedBias != JobInfo.BIAS_TOP_APP) {379 } else if (js2.lastEvaluatedBias == JobInfo.BIAS_TOP_APP) {998 canReplace = runningJob.lastEvaluatedBias < JobInfo.BIAS_TOP_APP // Case 2 in determineAssignmentsLocked()999 || currentJobBias < JobInfo.BIAS_TOP_APP // Case 3 in determineAssignmentsLocked()1246 if (job.lastEvaluatedBias == JobInfo.BIAS_TOP_APP) { in hasImmediacyPrivilegeLocked()1288 if (prevBias != JobInfo.BIAS_TOP_APP && newBias != JobInfo.BIAS_TOP_APP) { in onUidBiasChangedLocked()1490 if (jobStatus.lastEvaluatedBias >= JobInfo.BIAS_TOP_APP) { in isPkgConcurrencyLimitedLocked()2263 if (js.lastEvaluatedBias >= JobInfo.BIAS_TOP_APP) { in getJobWorkTypes()
484 if (job.lastEvaluatedBias >= JobInfo.BIAS_TOP_APP) { in noteActive()495 if (job.lastEvaluatedBias >= JobInfo.BIAS_TOP_APP) { in noteInactive()
2432 mUidBiasOverride.put(uid, JobInfo.BIAS_TOP_APP);4211 if (curBias < JobInfo.BIAS_TOP_APP) {
618 job.lastEvaluatedBias = JobInfo.BIAS_TOP_APP; in testHasImmediacyPrivilege()633 job.lastEvaluatedBias = JobInfo.BIAS_TOP_APP; in testHasImmediacyPrivilege()638 job.lastEvaluatedBias = JobInfo.BIAS_TOP_APP; in testHasImmediacyPrivilege()682 topJob.lastEvaluatedBias = JobInfo.BIAS_TOP_APP; in testIsPkgConcurrencyLimited_top()
2480 createJobInfo(2).setBias(JobInfo.BIAS_TOP_APP));2493 createJobInfo(1).setBias(JobInfo.BIAS_TOP_APP));
370 public static final int BIAS_TOP_APP = 40; field in JobInfo2550 case BIAS_TOP_APP: in getBiasString()2551 return BIAS_TOP_APP + " [TOP_APP]"; in getBiasString()
118 JobInfo.BIAS_TOP_APP358 int jobBias = JobInfo.BIAS_TOP_APP; in testIsJobRestrictedBiasTopApp()