Home
last modified time | relevance | path

Searched refs:EpochJobService (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochJobServiceTest.java77 @SpyStatic(EpochJobService.class)
91 @Spy private EpochJobService mSpyEpochJobService;
240 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule= */ false)) in testScheduleIfNeeded_Success()
253 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule */ false)) in testScheduleIfNeeded_ScheduledWithSameParameters()
258 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule */ false)) in testScheduleIfNeeded_ScheduledWithSameParameters()
271 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule */ false)) in testScheduleIfNeeded_ScheduledWithDifferentParameters()
280 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule */ false)) in testScheduleIfNeeded_ScheduledWithDifferentParameters()
293 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule */ false)) in testScheduleIfNeeded_forceRun()
298 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule */ false)) in testScheduleIfNeeded_forceRun()
302 assertThat(EpochJobService.scheduleIfNeeded(/* forceSchedule */ true)) in testScheduleIfNeeded_forceRun()
[all …]
DEpochJobTest.java60 @SpyStatic(EpochJobService.class)
123 doReturn(resultCode).when(() -> EpochJobService.scheduleIfNeeded(anyBoolean())); in testSchedule_legacy()
128 verify(() -> EpochJobService.scheduleIfNeeded(anyBoolean())); in testSchedule_legacy()
/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/spe/
DAdServicesJobServiceFactoryTest.java44 import com.android.adservices.service.topics.EpochJobService;
64 @MockStatic(EpochJobService.class)
164 verify(() -> EpochJobService.scheduleIfNeeded(forceSchedule)); in testRescheduleJobWithLegacyMethod()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/spe/
DAdServicesJobServiceFactory.java37 import com.android.adservices.service.topics.EpochJobService;
202 EpochJobService.scheduleIfNeeded(forceSchedule); in rescheduleJobWithLegacyMethod()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochJobService.java59 public final class EpochJobService extends JobService { class
173 new ComponentName(context, EpochJobService.class)) in schedule()
DEpochJob.java78 int resultCode = EpochJobService.scheduleIfNeeded(/* forceSchedule= */ false); in schedule()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DBackgroundJobsManager.java74 import com.android.adservices.service.topics.EpochJobService;