Home
last modified time | relevance | path

Searched refs:expeditedJob (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java1664 final JobStatus expeditedJob = in testIsNetworkInStateForJobRunLocked_JobStatus() local
1666 doReturn(true).when(expeditedJob).shouldTreatAsExpeditedJob(); in testIsNetworkInStateForJobRunLocked_JobStatus()
1677 assertFalse(controller.isNetworkInStateForJobRunLocked(expeditedJob)); in testIsNetworkInStateForJobRunLocked_JobStatus()
1683 expeditedJob.network = mock(Network.class); in testIsNetworkInStateForJobRunLocked_JobStatus()
1687 assertTrue(controller.isNetworkInStateForJobRunLocked(expeditedJob)); in testIsNetworkInStateForJobRunLocked_JobStatus()
1693 assertTrue(controller.isNetworkInStateForJobRunLocked(expeditedJob)); in testIsNetworkInStateForJobRunLocked_JobStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java2072 JobStatus expeditedJob = createJobStatus("testActiveJobBatching", in testActiveJobBatching_activeBatchingEnabled() local
2074 spyOn(expeditedJob); in testActiveJobBatching_activeBatchingEnabled()
2075 when(expeditedJob.shouldTreatAsExpeditedJob()).thenReturn(true); in testActiveJobBatching_activeBatchingEnabled()
2076 expeditedJob.setStandbyBucket(RARE_INDEX); in testActiveJobBatching_activeBatchingEnabled()
2086 maybeQueueFunctor.accept(expeditedJob); in testActiveJobBatching_activeBatchingEnabled()