Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobService.java56 private static final int DELETE_EXPIRED_JOB_ID = FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID; field in DeleteExpiredJobService
94 FederatedComputeJobServiceLogger.getInstance(this).recordOnStartJob(DELETE_EXPIRED_JOB_ID); in onStartJob()
102 DELETE_EXPIRED_JOB_ID, in onStartJob()
149 DELETE_EXPIRED_JOB_ID, in onStartJob()
161 DELETE_EXPIRED_JOB_ID, in onStartJob()
176 .recordOnStopJob(params, DELETE_EXPIRED_JOB_ID, wantsReschedule); in onStopJob()
189 final JobInfo scheduledJob = jobScheduler.getPendingJob(DELETE_EXPIRED_JOB_ID); in scheduleJobIfNeeded()
192 DELETE_EXPIRED_JOB_ID, in scheduleJobIfNeeded()
204 LogUtil.d(TAG, "Scheduled job DeleteExpiredJobService id %d", DELETE_EXPIRED_JOB_ID); in scheduleJobIfNeeded()
210 DELETE_EXPIRED_JOB_ID); in scheduleJobIfNeeded()
DDeleteExpiredJob.java22 … static com.android.federatedcompute.services.common.FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID;
148 .recordOnSchedulingLegacy(DELETE_EXPIRED_JOB_ID, resultCode); in schedule()
160 .setJobId(DELETE_EXPIRED_JOB_ID) in createDefaultJobSpec()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/
DFederatedComputeBroadcastReceiverTest.java72 jobScheduler.cancel(FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID); in setup()
89 jobScheduler.getPendingJob(FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID) != null); in testOnReceive()
106 jobScheduler.getPendingJob(FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID) == null); in testOnReceiveKillSwitchOn()
122 jobScheduler.getPendingJob(FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID) == null); in testOnReceiveDeviceNotSupported()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/
DFederatedComputeJobInfo.java30 public static final int DELETE_EXPIRED_JOB_ID = 1001; field in FederatedComputeJobInfo
38 DELETE_EXPIRED_JOB_ID,
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/sharedlibrary/spe/
DFederatedComputeJobServiceFactoryTest.java20 … static com.android.federatedcompute.services.common.FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID;
102 .that(mFactory.getJobWorkerInstance(DELETE_EXPIRED_JOB_ID)) in testGetJobInstance()
117 mFactory.rescheduleJobWithLegacyMethod(sContext, DELETE_EXPIRED_JOB_ID); in testRescheduleJobWithLegacyMethod()
DFederatedComputeJobServiceTest.java23 … static com.android.federatedcompute.services.common.FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID;
171 DELETE_EXPIRED_JOB_ID)) in testShouldRescheduleWithLegacyMethod_speDisabled()
192 DELETE_EXPIRED_JOB_ID)) in testShouldRescheduleWithLegacyMethod_speEnabled()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/sharedlibrary/spe/
DFederatedComputeJobServiceFactory.java19 … static com.android.federatedcompute.services.common.FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID;
134 case DELETE_EXPIRED_JOB_ID: in getJobWorkerInstance()
181 case DELETE_EXPIRED_JOB_ID: in rescheduleJobWithLegacyMethod()
DFederatedComputeJobService.java19 … static com.android.federatedcompute.services.common.FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID;
74 if (jobId == DELETE_EXPIRED_JOB_ID && !flags.getSpePilotJobEnabled()) { in shouldRescheduleWithLegacyMethod()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobTest.java26 … static com.android.federatedcompute.services.common.FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID;
174 verify(loggerMock).recordOnSchedulingLegacy(DELETE_EXPIRED_JOB_ID, resultCode); in testSchedule_legacy()
181 .setJobId(DELETE_EXPIRED_JOB_ID) in testCreateDefaultJobSpec()
DDeleteExpiredJobServiceTest.java114 mJobScheduler.cancel(FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID); in setUp()
219 assertNotNull(mJobScheduler.getPendingJob(FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID)); in enableKillSwitch()
227 assertNull(mJobScheduler.getPendingJob(FederatedComputeJobInfo.DELETE_EXPIRED_JOB_ID)); in enableKillSwitch()