Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java488 final JobStatus jobHigh = createJobStatus( in testStrongEnough_Cellular() local
527 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
539 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
550 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
561 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
575 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
586 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
597 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
611 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
625 assertTrue(controller.isSatisfied(jobHigh, net, caps, mConstants)); in testStrongEnough_Cellular()
[all …]
DQuotaControllerTest.java1357 JobStatus jobHigh = createJobStatus("testGetMaxJobExecutionTimeLocked", in testGetMaxJobExecutionTimeLocked_Regular() local
1361 setStandbyBucket(RARE_INDEX, jobHigh); in testGetMaxJobExecutionTimeLocked_Regular()
1370 mQuotaController.getMaxJobExecutionTimeMsLocked((jobHigh))); in testGetMaxJobExecutionTimeLocked_Regular()
1381 mQuotaController.getMaxJobExecutionTimeMsLocked((jobHigh))); in testGetMaxJobExecutionTimeLocked_Regular()
1387 trackJobs(job, jobDefIWF, jobHigh); in testGetMaxJobExecutionTimeLocked_Regular()
1390 mQuotaController.prepareForExecutionLocked(jobHigh); in testGetMaxJobExecutionTimeLocked_Regular()
1399 mQuotaController.getMaxJobExecutionTimeMsLocked((jobHigh))); in testGetMaxJobExecutionTimeLocked_Regular()
1402 mQuotaController.maybeStopTrackingJobLocked(jobHigh, null); in testGetMaxJobExecutionTimeLocked_Regular()
1412 mQuotaController.getMaxJobExecutionTimeMsLocked(jobHigh)); in testGetMaxJobExecutionTimeLocked_Regular()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java281 JobStatus jobHigh = createJobStatus("testGetMinJobExecutionGuaranteeMs", in testGetMinJobExecutionGuaranteeMs() local
293 spyOn(jobHigh); in testGetMinJobExecutionGuaranteeMs()
301 when(jobHigh.shouldTreatAsExpeditedJob()).thenReturn(false); in testGetMinJobExecutionGuaranteeMs()
322 mService.getMinJobExecutionGuaranteeMs(jobHigh)); in testGetMinJobExecutionGuaranteeMs()