Searched refs:jobScheduler (Results 1 – 9 of 9) sorted by relevance
43 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob() local45 JobInfo pending = jobScheduler.getPendingJob(JOB_ID); in scheduleJob()53 jobScheduler.cancel(JOB_ID); in scheduleJob()58 jobScheduler.schedule(jobInfo); in scheduleJob()63 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in cancelJob() local64 jobScheduler.cancel(JOB_ID); in cancelJob()
70 JobScheduler jobScheduler = in schedule() local86 jobScheduler.schedule(jobInfoBuilder.build()); in schedule()95 JobScheduler jobScheduler = in unschedule() local98 jobScheduler.cancel(TIME_ZONE_UPDATE_IDLE_JOB_ID); in unschedule()
65 JobScheduler jobScheduler, in SystemJobScheduler() argument68 mJobScheduler = jobScheduler; in SystemJobScheduler()160 JobScheduler jobScheduler = (JobScheduler) in jobSchedulerCancelAll() local163 if (jobScheduler != null) { in jobSchedulerCancelAll()164 List<JobInfo> jobInfos = jobScheduler.getAllPendingJobs(); in jobSchedulerCancelAll()171 jobScheduler.cancel(jobInfo.getId()); in jobSchedulerCancelAll()
42 JobScheduler jobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in onCreate() local46 jobScheduler.cancelAll(); in onCreate()54 final int result = jobScheduler.schedule(jobBuilder.build()); in onCreate()
37 JobScheduler jobScheduler = (JobScheduler) InstrumentationRegistry.getTargetContext() in clearJobs() local39 jobScheduler.cancelAll(); in clearJobs()
45 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedule() local46 jobScheduler.schedule(pruneJob); in schedule()
70 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedule() local71 jobScheduler.schedule(expirationJob); in schedule()
102 final JobScheduler jobScheduler = (JobScheduler) context.getSystemService( in isDeferredForProvision() local111 jobScheduler.schedule(job); in isDeferredForProvision()
276 JobSchedulerInternal jobScheduler = in executeRunnableJob() local278 jobScheduler.noteJobStart(jobPackage, jobUserId); in executeRunnableJob()