Searched refs:uiJob (Results 1 – 3 of 3) sorted by relevance
1673 final JobStatus uiJob = spy(createJobStatus( in testIsNetworkInStateForJobRunLocked_JobStatus() local1676 doReturn(true).when(uiJob).shouldTreatAsUserInitiatedJob(); in testIsNetworkInStateForJobRunLocked_JobStatus()1680 assertFalse(controller.isNetworkInStateForJobRunLocked(uiJob)); in testIsNetworkInStateForJobRunLocked_JobStatus()1686 uiJob.network = mock(Network.class); in testIsNetworkInStateForJobRunLocked_JobStatus()1690 assertTrue(controller.isNetworkInStateForJobRunLocked(uiJob)); in testIsNetworkInStateForJobRunLocked_JobStatus()1696 assertTrue(controller.isNetworkInStateForJobRunLocked(uiJob)); in testIsNetworkInStateForJobRunLocked_JobStatus()
1086 JobStatus uiJob = createJobStatus("testGetRescheduleJobForFailure", in testGetRescheduleJobForFailure_userStopped() local1095 JobStatus rescheduledUiJob = mService.getRescheduleJobForFailureLocked(uiJob, in testGetRescheduleJobForFailure_userStopped()
1415 final boolean uiJob;1419 uiJob = r != null && (r.getNotification().flags & FLAG_USER_INITIATED_JOB) != 0;1423 if (fgService || uiJob) {