Home
last modified time | relevance | path

Searched refs:BIAS_FOREGROUND_SERVICE (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/
DThermalStatusRestriction.java96 if (bias >= JobInfo.BIAS_FOREGROUND_SERVICE) { in isJobRestricted()
126 if (bias >= JobInfo.BIAS_FOREGROUND_SERVICE in isJobRestricted()
141 if (bias >= JobInfo.BIAS_FOREGROUND_SERVICE) { in isJobRestricted()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java359 public static final int BIAS_FOREGROUND_SERVICE = 35; field in JobInfo
363 public static final int PRIORITY_FOREGROUND_SERVICE = BIAS_FOREGROUND_SERVICE;
2548 case BIAS_FOREGROUND_SERVICE: in getBiasString()
2549 return BIAS_FOREGROUND_SERVICE + " [FGS_APP]"; in getBiasString()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java117 JobInfo.BIAS_FOREGROUND_SERVICE,
398 int jobBias = JobInfo.BIAS_FOREGROUND_SERVICE; in testIsJobRestrictedBiasFgs_flagThermalRestrictionsToFgsJobsDisabled()
433 int jobBias = JobInfo.BIAS_FOREGROUND_SERVICE; in testIsJobRestrictedBiasFgs_flagThermalRestrictionsToFgsJobsEnabled()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DFlexibilityControllerTest.java19 import static android.app.job.JobInfo.BIAS_FOREGROUND_SERVICE;
1315 setUidBias(mSourceUid, JobInfo.BIAS_FOREGROUND_SERVICE); in testForegroundAppBypass()
1880 setUidBias(mSourceUid, BIAS_FOREGROUND_SERVICE); in testUidUpdatesLifeCycle()
1888 setUidBias(mSourceUid, BIAS_FOREGROUND_SERVICE); in testUidUpdatesLifeCycle()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java2265 } else if (js.lastEvaluatedBias >= JobInfo.BIAS_FOREGROUND_SERVICE) { in getJobWorkTypes()
2277 if (js.lastEvaluatedBias >= JobInfo.BIAS_FOREGROUND_SERVICE in getJobWorkTypes()
DJobSchedulerService.java2434 mUidBiasOverride.put(uid, JobInfo.BIAS_FOREGROUND_SERVICE);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java249 final int fgsPriority = prioritizeExistenceOver(JobInfo.BIAS_FOREGROUND_SERVICE - 1,
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java2476 createJobInfo(1).setBias(JobInfo.BIAS_FOREGROUND_SERVICE));