Searched refs:mJobScheduler (Results 1 – 8 of 8) sorted by relevance
54 private JobScheduler mJobScheduler; field in JobSchedulerWrapper69 mJobScheduler = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in JobSchedulerWrapper()80 printJobsOnce(mJobScheduler.getAllPendingJobs()); in JobSchedulerWrapper()169 mJobScheduler.schedule(jobInfo); in scheduleAJob()209 for (JobInfo job : mJobScheduler.getAllPendingJobs()) { in checkIdForExistence()241 List<JobInfo> currentJobs = mJobScheduler.getAllPendingJobs(); in updateJobs()
43 @Mock private JobScheduler mJobScheduler; field in AutomaticStorageBroadcastReceiverTest54 mJobScheduler); in testSetupJobServicesOnBoot()61 verify(mJobScheduler, times(1)).schedule(jobCaptor.capture()); in testSetupJobServicesOnBoot()62 verifyNoMoreInteractions(mJobScheduler); in testSetupJobServicesOnBoot()
61 private JobScheduler mJobScheduler; field in AnomalyConfigJobServiceTest69 mJobScheduler = spy(mContext.getSystemService(JobScheduler.class)); in setUp()70 when(mContext.getSystemService(JobScheduler.class)).thenReturn(mJobScheduler); in setUp()99 verify(mJobScheduler, times(1)).schedule(any()); in testScheduleConfigUpdate_invokeTwice_onlyScheduleOnce()
64 private JobScheduler mJobScheduler; field in AnomalyCleanupJobServiceTest73 mJobScheduler = spy(mContext.getSystemService(JobScheduler.class)); in setUp()74 when(mContext.getSystemService(JobScheduler.class)).thenReturn(mJobScheduler); in setUp()102 verify(mJobScheduler, times(1)).schedule(any()); in scheduleCleanUp_invokeTwice_onlyScheduleOnce()
70 private JobScheduler mJobScheduler; field in GarageMode145 mJobScheduler = controller.getJobSchedulerService(); in GarageMode()279 List<JobInfo> startedJobs = mJobScheduler.getStartedJobs(); in getListOfIdleJobsRunning()304 List<JobSnapshot> allScheduledJobs = mJobScheduler.getAllJobSnapshots(); in getListOfPendingJobs()
143 private final JobScheduler mJobScheduler; field in AbstractDownloadProviderFunctionalTest.TestContext150 mJobScheduler = mock(JobScheduler.class); in TestContext()171 return mJobScheduler; in getSystemService()
114 private final JobScheduler mJobScheduler; field in DynamicShortcuts128 mJobScheduler = jobScheduler; in DynamicShortcuts()441 mJobScheduler.cancel(ContactsJobService.DYNAMIC_SHORTCUTS_JOB_ID); in handleFlagDisabled()472 mJobScheduler.schedule(job); in scheduleUpdateJob()
145 private final @NonNull JobScheduler mJobScheduler; field in LocationAccessCheck323 mJobScheduler = getSystemServiceSafe(mContext, JobScheduler.class); in LocationAccessCheck()730 int scheduleResult = mJobScheduler.schedule(b.build()); in checkLocationAccessSoon()