Home
last modified time | relevance | path

Searched refs:mJobScheduler (Results 1 – 3 of 3) 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.java328 private final JobScheduler mJobScheduler; field in JobIntentService.JobWorkEnqueuer
335 mJobScheduler = (JobScheduler) context.getApplicationContext().getSystemService( in JobWorkEnqueuer()
342 mJobScheduler.enqueue(mJobInfo, new JobWorkItem(work)); in enqueueWork()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java231 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()