Searched refs:mJobScheduler (Results 1 – 5 of 5) sorted by relevance
37 JobScheduler mJobScheduler; field in PrioritySchedulingTest49 mJobScheduler = (JobScheduler) getContext().getSystemService(Context.JOB_SCHEDULER_SERVICE); in setUp()50 mJobScheduler.cancelAll(); in setUp()55 mJobScheduler.cancelAll(); in tearDown()65 mJobScheduler.schedule(job); in testLowerPriorityJobPreempted()73 mJobScheduler.schedule(jobHigher); in testLowerPriorityJobPreempted()96 mJobScheduler.schedule(job); in testHigherPriorityJobNotPreempted()104 mJobScheduler.schedule(jobLower); in testHigherPriorityJobNotPreempted()
70 private JobScheduler mJobScheduler; field in PeopleBackupFollowUpJob92 mJobScheduler = mContext.getSystemService(JobScheduler.class); in onCreate()103 mJobScheduler = jobScheduler; in setManagers()191 mJobScheduler.cancel(JOB_ID); in cancelJobAndClearRemainingWidgets()
83 private JobScheduler mJobScheduler; field in PeopleBackupFollowUpJobTest107 mContext, mPackageManager, mIPeopleManager, mJobScheduler); in setUp()193 verify(mJobScheduler, times(1)).cancel(anyInt()); in testCancelJobAndClearRemainingWidgets()
243 private JobScheduler mJobScheduler; field in SyncManager489 if (mJobScheduler != null) { in verifyJobScheduler()497 mJobScheduler = (JobScheduler) mContext.getSystemService( in verifyJobScheduler()501 List<JobInfo> pendingJobs = mJobScheduler.getAllPendingJobs(); in verifyJobScheduler()554 return mJobScheduler; in getJobScheduler()
161 private JobScheduler mJobScheduler; field in DataManagerTest237 when(mContext.getSystemService(Context.JOB_SCHEDULER_SERVICE)).thenReturn(mJobScheduler); in setUp()