Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/
DIdleService.java33 private static final int IDLE_JOB_ID = -200; field in IdleService
64 if (scheduler.getPendingJob(IDLE_JOB_ID) == null) { in scheduleIdlePass()
65 final JobInfo job = new JobInfo.Builder(IDLE_JOB_ID, in scheduleIdlePass()
/packages/providers/MediaProvider/src/com/android/providers/media/stableuris/job/
DStableUriIdleMaintenanceService.java41 private static final int IDLE_JOB_ID = -500; field in StableUriIdleMaintenanceService
71 if (scheduler.getPendingJob(IDLE_JOB_ID) == null) { in scheduleIdlePass()
72 final JobInfo job = new JobInfo.Builder(IDLE_JOB_ID, in scheduleIdlePass()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/stableuris/job/
DStableUriIdleMaintenanceServiceTest.java77 private static final int IDLE_JOB_ID = -500; field in StableUriIdleMaintenanceServiceTest
265 assertNull(scheduler.getPendingJob(IDLE_JOB_ID)); in testJobScheduling()
268 assertNotNull(scheduler.getPendingJob(IDLE_JOB_ID)); in testJobScheduling()
301 if (scheduler.getPendingJob(IDLE_JOB_ID) != null) { in cancelJob()
302 scheduler.cancel(IDLE_JOB_ID); in cancelJob()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadIdleService.java19 import static com.android.providers.downloads.Constants.IDLE_JOB_ID;
88 if (scheduler.getPendingJob(IDLE_JOB_ID) == null) { in scheduleIdlePass()
89 final JobInfo job = new JobInfo.Builder(IDLE_JOB_ID, in scheduleIdlePass()
DConstants.java89 public static final int IDLE_JOB_ID = -100; field in Constants
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DIdleServiceTest.java89 private static final int IDLE_JOB_ID = -200; field in IdleServiceTest
295 assertNull(scheduler.getPendingJob(IDLE_JOB_ID)); in testJobScheduling()
298 assertNotNull(scheduler.getPendingJob(IDLE_JOB_ID)); in testJobScheduling()
307 if (scheduler.getPendingJob(IDLE_JOB_ID) != null) { in cancelJob()
308 scheduler.cancel(IDLE_JOB_ID); in cancelJob()