Home
last modified time | relevance | path

Searched refs:pendingJob (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyCleanupJobServiceTest.java89 JobInfo pendingJob = pendingJobs.get(0); in scheduleCleanUp() local
90 assertThat(pendingJob.getId()).isEqualTo(R.integer.job_anomaly_clean_up); in scheduleCleanUp()
91 assertThat(pendingJob.getIntervalMillis()).isEqualTo(TimeUnit.DAYS.toMillis(1)); in scheduleCleanUp()
92 assertThat(pendingJob.isRequireDeviceIdle()).isTrue(); in scheduleCleanUp()
93 assertThat(pendingJob.isRequireCharging()).isTrue(); in scheduleCleanUp()
94 assertThat(pendingJob.isPersisted()).isTrue(); in scheduleCleanUp()
DAnomalyConfigJobServiceTest.java86 JobInfo pendingJob = pendingJobs.get(0); in testScheduleConfigUpdate() local
87 assertThat(pendingJob.getId()).isEqualTo(R.integer.job_anomaly_config_update); in testScheduleConfigUpdate()
88 assertThat(pendingJob.getIntervalMillis()).isEqualTo(TimeUnit.DAYS.toMillis(1)); in testScheduleConfigUpdate()
89 assertThat(pendingJob.isRequireDeviceIdle()).isTrue(); in testScheduleConfigUpdate()
90 assertThat(pendingJob.isRequireCharging()).isTrue(); in testScheduleConfigUpdate()
91 assertThat(pendingJob.isPersisted()).isTrue(); in testScheduleConfigUpdate()
DAnomalyDetectionJobServiceTest.java134 JobInfo pendingJob = pendingJobs.get(0); in scheduleCleanUp() local
135 assertThat(pendingJob.getId()).isEqualTo(R.integer.job_anomaly_detection); in scheduleCleanUp()
136 assertThat(pendingJob.getMaxExecutionDelayMillis()) in scheduleCleanUp()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskSchedulerJobService.java103 JobInfo pendingJob = jobScheduler.getPendingJob(ScheduledJobIds.VVM_TASK_SCHEDULER_JOB); in scheduleJob() local
105 if (pendingJob != null) { in scheduleJob()
109 pendingJob.getTransientExtras().getParcelableArray(EXTRA_TASK_EXTRAS_ARRAY)); in scheduleJob()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DJobSchedulingUtils.java60 JobInfo pendingJob = jobScheduler.getPendingJob(UPLOAD_JOB_ID); in scheduleUploadJob() local
62 if (pendingJob != null) { in scheduleUploadJob()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DBaseTunerTvInputService.java64 JobInfo pendingJob = jobScheduler.getPendingJob(DVR_STORAGE_CLEANUP_JOB_ID); in onCreate() local
65 if (pendingJob != null) { in onCreate()