Home
last modified time | relevance | path

Searched refs:MAINTENANCE_TASK_JOB_ID (Results 1 – 10 of 10) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobService.java26 …com.android.ondevicepersonalization.services.OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID;
72 if (!forceSchedule && jobScheduler.getPendingJob(MAINTENANCE_TASK_JOB_ID) != null) { in schedule()
78 JobInfo.Builder builder = new JobInfo.Builder(MAINTENANCE_TASK_JOB_ID, serviceComponent); in schedule()
140 OdpJobServiceLogger.getInstance(this).recordOnStartJob(MAINTENANCE_TASK_JOB_ID); in onStartJob()
188 MAINTENANCE_TASK_JOB_ID, in onStartJob()
203 MAINTENANCE_TASK_JOB_ID, in onStartJob()
226 MAINTENANCE_TASK_JOB_ID, in onStopJob()
234 jobScheduler.cancel(MAINTENANCE_TASK_JOB_ID); in cancelAndFinishJob()
237 MAINTENANCE_TASK_JOB_ID, in cancelAndFinishJob()
DOnDevicePersonalizationMaintenanceJob.java24 …com.android.ondevicepersonalization.services.OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID;
103 .recordOnSchedulingLegacy(MAINTENANCE_TASK_JOB_ID, resultCode); in schedule()
115 .setJobId(MAINTENANCE_TASK_JOB_ID) in createDefaultJobSpec()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationBroadcastReceiverTests.java81 jobScheduler.cancel(OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID); in setup()
100 jobScheduler.getPendingJob(OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID) in testOnReceive()
141 jobScheduler.getPendingJob(OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID) in testOnReceiveKillSwitchOn()
180 jobScheduler.getPendingJob(OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID) in testOnReceiveDeviceNotSupported()
216 jobScheduler.getPendingJob(OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID) in testOnReceiveInvalidIntent()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/sharedlibrary/spe/
DOdpJobServiceFactoryTest.java20 …com.android.ondevicepersonalization.services.OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID;
102 .that(mFactory.getJobWorkerInstance(MAINTENANCE_TASK_JOB_ID)) in testGetJobInstance()
117 mFactory.rescheduleJobWithLegacyMethod(sContext, MAINTENANCE_TASK_JOB_ID); in testRescheduleJobWithLegacyMethod()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationConfig.java70 public static final int MAINTENANCE_TASK_JOB_ID = 1005; field in OnDevicePersonalizationConfig
94 MAINTENANCE_TASK_JOB_ID,
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/sharedlibrary/spe/
DOdpJobServiceFactory.java20 …com.android.ondevicepersonalization.services.OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID;
133 case MAINTENANCE_TASK_JOB_ID: in getJobWorkerInstance()
177 case MAINTENANCE_TASK_JOB_ID: in rescheduleJobWithLegacyMethod()
DOdpJobService.java19 …com.android.ondevicepersonalization.services.OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID;
72 if (jobId == MAINTENANCE_TASK_JOB_ID && !flags.getSpePilotJobEnabled()) { in shouldRescheduleWithLegacyMethod()
/packages/modules/OnDevicePersonalization/tests/perftests/scenarios/src/android/ondevicepersonalization/test/scenario/ondevicepersonalization/
DDownloadHelper.java33 private static final String MAINTENANCE_TASK_JOB_ID = "1005"; field in DownloadHelper
92 + MAINTENANCE_TASK_JOB_ID); in cleanupDatabase()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobTest.java28 …com.android.ondevicepersonalization.services.OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID;
213 verify(loggerMock).recordOnSchedulingLegacy(MAINTENANCE_TASK_JOB_ID, resultCode); in testSchedule_legacy()
220 .setJobId(MAINTENANCE_TASK_JOB_ID) in testCreateDefaultJobSpec()
DOnDevicePersonalizationMaintenanceJobServiceTest.java207 mJobScheduler.getPendingJob(OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID) in onStartJobTestKillSwitchEnabled()
214 mJobScheduler.getPendingJob(OnDevicePersonalizationConfig.MAINTENANCE_TASK_JOB_ID) in onStartJobTestKillSwitchEnabled()