Searched refs:mJobSchedulerService (Results 1 – 3 of 3) sorted by relevance
74 private JobSchedulerService mJobSchedulerService; field in StateControllerTest108 when(mJobSchedulerService.getTestableContext()).thenReturn(mContext); in setUp()109 when(mJobSchedulerService.getLock()).thenReturn(mJobSchedulerService); in setUp()110 when(mJobSchedulerService.getConstants()).thenReturn(mConstants); in setUp()125 mStateController = new TestStateController(mJobSchedulerService); in setUp()152 when(mJobSchedulerService.areComponentsInPlaceLocked(job)).thenReturn(false); in testWouldBeReadyWithConstraintLocked()156 when(mJobSchedulerService.areComponentsInPlaceLocked(job)).thenReturn(true); in testWouldBeReadyWithConstraintLocked()
83 private JobSchedulerService mJobSchedulerService; field in TimeControllerTest94 when(mJobSchedulerService.getTestableContext()).thenReturn(mContext); in setUp()95 when(mJobSchedulerService.getLock()).thenReturn(mJobSchedulerService); in setUp()96 when(mJobSchedulerService.getConstants()).thenReturn(mock(Constants.class)); in setUp()113 mTimeController = new TimeController(mJobSchedulerService); in setUp()
124 private JobSchedulerService mJobSchedulerService; field in QuotaControllerTest139 when(mJobSchedulerService.getTestableContext()).thenReturn(mContext); in setUp()140 when(mJobSchedulerService.getLock()).thenReturn(mJobSchedulerService); in setUp()141 when(mJobSchedulerService.getConstants()).thenReturn(mock(Constants.class)); in setUp()165 when(mJobSchedulerService.getJobStore()).thenReturn(mJobStore); in setUp()186 mQuotaController = new QuotaController(mJobSchedulerService); in setUp()2459 InOrder inOrder = inOrder(mJobSchedulerService); in testTracking_OutOfQuota_ForegroundAndBackground()2473 inOrder.verify(mJobSchedulerService, in testTracking_OutOfQuota_ForegroundAndBackground()2481 inOrder.verify(mJobSchedulerService, in testTracking_OutOfQuota_ForegroundAndBackground()2496 inOrder.verify(mJobSchedulerService, timeout(SECOND_IN_MILLIS).times(1)) in testTracking_OutOfQuota_ForegroundAndBackground()[all …]