Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPrioritySchedulingTest.java36 JobScheduler mJobScheduler; field in PrioritySchedulingTest
43 mJobScheduler = (JobScheduler) getContext().getSystemService(Context.JOB_SCHEDULER_SERVICE); in setUp()
44 mJobScheduler.cancelAll(); in setUp()
49 mJobScheduler.cancelAll(); in tearDown()
71 mJobScheduler.schedule(job1); in testLowerPriorityJobPreempted()
72 mJobScheduler.schedule(job2); in testLowerPriorityJobPreempted()
73 mJobScheduler.schedule(job3); in testLowerPriorityJobPreempted()
74 mJobScheduler.schedule(job4); in testLowerPriorityJobPreempted()
109 mJobScheduler.schedule(job1); in testHigherPriorityJobNotPreempted()
110 mJobScheduler.schedule(job2); in testHigherPriorityJobNotPreempted()
[all …]
/frameworks/support/compat/java/android/support/v4/app/
DJobIntentService.java302 private final JobScheduler mJobScheduler; field in JobIntentService.JobWorkEnqueuer
309 mJobScheduler = (JobScheduler) context.getApplicationContext().getSystemService( in JobWorkEnqueuer()
316 mJobScheduler.enqueue(mJobInfo, new JobWorkItem(work)); in enqueueWork()
/frameworks/base/services/tests/servicestests/src/com/android/server/retaildemo/
DRetailDemoModeServiceTest.java104 private @Mock JobScheduler mJobScheduler; field in RetailDemoModeServiceTest
121 when(mContext.getSystemService(Context.JOB_SCHEDULER_SERVICE)).thenReturn(mJobScheduler); in setUp()
232 verify(mJobScheduler).schedule(any(JobInfo.class)); in testSettingsObserver_disableDemoMode()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java225 private JobScheduler mJobScheduler; field in SyncManager
458 mJobScheduler.cancel(opy.jobId); in cleanupJobs()
467 if (mJobScheduler != null) { in verifyJobScheduler()
473 mJobScheduler = (JobScheduler) mContext.getSystemService( in verifyJobScheduler()
477 List<JobInfo> pendingJobs = mJobScheduler.getAllPendingJobs(); in verifyJobScheduler()
493 return mJobScheduler; in getJobScheduler()