Home
last modified time | relevance | path

Searched refs:mJobScheduler (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPrioritySchedulingTest.java37 JobScheduler mJobScheduler; field in PrioritySchedulingTest
49 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleBackupFollowUpJob.java70 private JobScheduler mJobScheduler; field in PeopleBackupFollowUpJob
92 mJobScheduler = mContext.getSystemService(JobScheduler.class); in onCreate()
103 mJobScheduler = jobScheduler; in setManagers()
191 mJobScheduler.cancel(JOB_ID); in cancelJobAndClearRemainingWidgets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleBackupFollowUpJobTest.java83 private JobScheduler mJobScheduler; field in PeopleBackupFollowUpJobTest
107 mContext, mPackageManager, mIPeopleManager, mJobScheduler); in setUp()
193 verify(mJobScheduler, times(1)).cancel(anyInt()); in testCancelJobAndClearRemainingWidgets()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java243 private JobScheduler mJobScheduler; field in SyncManager
489 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java161 private JobScheduler mJobScheduler; field in DataManagerTest
237 when(mContext.getSystemService(Context.JOB_SCHEDULER_SERVICE)).thenReturn(mJobScheduler); in setUp()