Home
last modified time | relevance | path

Searched refs:jobScheduler (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DJobSchedulingUtils.java54 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleUploadJob() local
55 if (jobScheduler == null) { in scheduleUploadJob()
60 JobInfo pendingJob = jobScheduler.getPendingJob(UPLOAD_JOB_ID); in scheduleUploadJob()
69 jobScheduler.schedule(new JobInfo.Builder(UPLOAD_JOB_ID, in scheduleUploadJob()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DRegularMaintenanceJobService.java119 final JobScheduler jobScheduler = in schedule() local
134 jobScheduler.schedule(regularMaintenanceJob); in schedule()
140 final JobScheduler jobScheduler = in unschedule() local
142 jobScheduler.cancel(REGULAR_MAINTENANCE_ID); in unschedule()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskSchedulerJobService.java102 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob() local
103 JobInfo pendingJob = jobScheduler.getPendingJob(ScheduledJobIds.VVM_TASK_SCHEDULER_JOB); in scheduleJob()
123 jobScheduler.cancel(ScheduledJobIds.VVM_TASK_SCHEDULER_JOB); in scheduleJob()
147 jobScheduler.schedule(builder.build()); in scheduleJob()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DDeferredMetricsReader.java60 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleDumpMetrics() local
61 if (jobScheduler != null) { in scheduleDumpMetrics()
62 jobScheduler.schedule(jobInfo); in scheduleDumpMetrics()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DStatusCheckJobService.java40 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedule() local
41 if (jobScheduler.getPendingJob(ScheduledJobIds.VVM_STATUS_CHECK_JOB) != null) { in schedule()
46 jobScheduler.schedule( in schedule()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DAnomalyCleanupJobService.java42 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleCleanUp() local
51 final JobInfo pending = jobScheduler.getPendingJob(R.integer.job_anomaly_clean_up); in scheduleCleanUp()
55 if (pending == null && jobScheduler.schedule(jobBuilder.build()) in scheduleCleanUp()
DAnomalyConfigJobService.java51 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleConfigUpdate() local
60 final JobInfo pending = jobScheduler.getPendingJob(R.integer.job_anomaly_config_update); in scheduleConfigUpdate()
64 if (pending == null && jobScheduler.schedule(jobBuilder.build()) in scheduleConfigUpdate()
DAnomalyDetectionJobService.java73 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleAnomalyDetection() local
80 if (jobScheduler.enqueue(jobBuilder.build(), new JobWorkItem(intent)) in scheduleAnomalyDetection()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyCleanupJobService.java42 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleCleanUp() local
51 final JobInfo pending = jobScheduler.getPendingJob(R.integer.job_anomaly_clean_up); in scheduleCleanUp()
55 if (pending == null && jobScheduler.schedule(jobBuilder.build()) in scheduleCleanUp()
DAnomalyConfigJobService.java51 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleConfigUpdate() local
60 final JobInfo pending = jobScheduler.getPendingJob(R.integer.job_anomaly_config_update); in scheduleConfigUpdate()
64 if (pending == null && jobScheduler.schedule(jobBuilder.build()) in scheduleConfigUpdate()
DAnomalyDetectionJobService.java73 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleAnomalyDetection() local
80 if (jobScheduler.enqueue(jobBuilder.build(), new JobWorkItem(intent)) in scheduleAnomalyDetection()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DPeriodicJobService.java61 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedulePeriodicJob() local
62 if (jobScheduler.getPendingJob(ScheduledJobIds.SHORTCUT_PERIODIC_JOB) != null) { in schedulePeriodicJob()
75 jobScheduler.schedule(jobInfo); in schedulePeriodicJob()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DBaseTunerTvInputService.java62 JobScheduler jobScheduler = in onCreate() local
64 JobInfo pendingJob = jobScheduler.getPendingJob(DVR_STORAGE_CLEANUP_JOB_ID); in onCreate()
75 jobScheduler.schedule(job); in onCreate()
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DAutomaticStorageBroadcastReceiver.java40 JobScheduler jobScheduler = in onReceive() local
50 jobScheduler.schedule(job); in onReceive()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelPreviewUpdater.java110 JobScheduler jobScheduler = in startRoutineService() local
112 if (jobScheduler.getPendingJob(UPATE_PREVIEW_PROGRAMS_JOB_ID) != null) { in startRoutineService()
123 if (jobScheduler.schedule(job) < 0) { in startRoutineService()
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java124 ShortcutManager shortcutManager, JobScheduler jobScheduler) { in DynamicShortcuts() argument
128 mJobScheduler = jobScheduler; in DynamicShortcuts()
514 final JobScheduler jobScheduler = in reset() local
516 jobScheduler.cancel(ContactsJobService.DYNAMIC_SHORTCUTS_JOB_ID); in reset()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyCleanupJobServiceTest.java86 JobScheduler jobScheduler = mContext.getSystemService(JobScheduler.class); in scheduleCleanUp() local
87 List<JobInfo> pendingJobs = jobScheduler.getAllPendingJobs(); in scheduleCleanUp()
DAnomalyConfigJobServiceTest.java83 JobScheduler jobScheduler = mContext.getSystemService(JobScheduler.class); in testScheduleConfigUpdate() local
84 List<JobInfo> pendingJobs = jobScheduler.getAllPendingJobs(); in testScheduleConfigUpdate()
DAnomalyDetectionJobServiceTest.java130 JobScheduler jobScheduler = application.getSystemService(JobScheduler.class); in scheduleCleanUp() local
131 List<JobInfo> pendingJobs = jobScheduler.getAllPendingJobs(); in scheduleCleanUp()
/packages/apps/Dialer/java/com/android/dialer/calllog/config/
DCallLogConfigImpl.java182 JobScheduler jobScheduler = Assert.isNotNull(appContext.getSystemService(JobScheduler.class));
194 jobScheduler.schedule(jobInfo);
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java329 ShortcutManager shortcutManager, JobScheduler jobScheduler) {
331 shortcutManager, jobScheduler);
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java225 JobScheduler jobScheduler = in startRoutineService() local
227 for (JobInfo job : jobScheduler.getAllPendingJobs()) { in startRoutineService()
240 jobScheduler.schedule(job); in startRoutineService()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java755 JobScheduler jobScheduler = getSystemServiceSafe(context, JobScheduler.class); in onReceive() local
762 if (jobScheduler.getPendingJob(PERIODIC_LOCATION_ACCESS_CHECK_JOB_ID) == null) { in onReceive()
768 int scheduleResult = jobScheduler.schedule(b.build()); in onReceive()