Home
last modified time | relevance | path

Searched refs:TOPICS_EPOCH_JOB_ID (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochJobService.java60 private static final int TOPICS_EPOCH_JOB_ID = TOPICS_EPOCH_JOB.getJobId(); field in EpochJobService
73 AdServicesJobServiceLogger.getInstance().recordOnStartJob(TOPICS_EPOCH_JOB_ID); in onStartJob()
105 TOPICS_EPOCH_JOB_ID, /* isSuccessful= */ true, shouldRetry); in onStartJob()
124 TOPICS_EPOCH_JOB_ID, in onStartJob()
160 .recordOnStopJob(params, TOPICS_EPOCH_JOB_ID, shouldRetry); in onStopJob()
172 TOPICS_EPOCH_JOB_ID, in schedule()
214 JobInfo job = jobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID); in scheduleIfNeeded()
238 jobScheduler.cancel(TOPICS_EPOCH_JOB_ID); in skipAndCancelBackgroundJob()
243 .recordJobSkipped(TOPICS_EPOCH_JOB_ID, skipReason); in skipAndCancelBackgroundJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochJobServiceTest.java84 private static final int TOPICS_EPOCH_JOB_ID = TOPICS_EPOCH_JOB.getJobId(); field in EpochJobServiceTest
107 .that(mJobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID)) in setup()
255 assertThat(mJobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID)).isNotNull(); in testScheduleIfNeeded_ScheduledWithSameParameters()
273 assertThat(mJobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID)).isNotNull(); in testScheduleIfNeeded_ScheduledWithDifferentParameters()
295 assertThat(mJobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID)).isNotNull(); in testScheduleIfNeeded_forceRun()
315 assertThat(mJobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID)).isNull(); in testScheduleIfNeeded_scheduledWithKillSwitchOn()
384 .that(mJobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID)) in verifyJobStartAndCancelled()
397 TOPICS_EPOCH_JOB_ID, in scheduleJobWithMinimumLatency()
402 assertThat(mJobScheduler.getPendingJob(TOPICS_EPOCH_JOB_ID)).isNotNull(); in scheduleJobWithMinimumLatency()