Home
last modified time | relevance | path

Searched refs:DeleteUninstalledJobService (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DDeleteUninstalledJobServiceTest.java81 @Spy private DeleteUninstalledJobService mSpyService;
90 .spyStatic(DeleteUninstalledJobService.class)
194 DeleteUninstalledJobService.scheduleIfNeeded( in scheduleIfNeeded_killSwitchOn_dontSchedule()
199 () -> DeleteUninstalledJobService.schedule(any(), any()), never()); in scheduleIfNeeded_killSwitchOn_dontSchedule()
220 mockContext, DeleteUninstalledJobService.class)) in scheduleIfNeeded_sameJobInfo_dontSchedule()
229 DeleteUninstalledJobService.scheduleIfNeeded( in scheduleIfNeeded_sameJobInfo_dontSchedule()
234 () -> DeleteUninstalledJobService.schedule(any(), any()), never()); in scheduleIfNeeded_sameJobInfo_dontSchedule()
255 mockContext, DeleteUninstalledJobService.class)) in scheduleIfNeeded_diffJobInfo_doesSchedule()
265 DeleteUninstalledJobService.scheduleIfNeeded( in scheduleIfNeeded_diffJobInfo_doesSchedule()
270 () -> DeleteUninstalledJobService.schedule(any(), any())); in scheduleIfNeeded_diffJobInfo_doesSchedule()
[all …]
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/
DMeasurementServiceTest.java52 import com.android.adservices.service.measurement.DeleteUninstalledJobService;
88 @SpyStatic(DeleteUninstalledJobService.class)
235 .when(() -> DeleteUninstalledJobService.scheduleIfNeeded(any(), anyBoolean())); in runWithMocks()
276 () -> DeleteUninstalledJobService.scheduleIfNeeded(any(), anyBoolean()), in assertJobScheduled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DDeleteUninstalledJobService.java48 public final class DeleteUninstalledJobService extends JobService { class
143 new ComponentName(context, DeleteUninstalledJobService.class)) in buildJobInfo()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/measurement/
DMeasurementService.java38 import com.android.adservices.service.measurement.DeleteUninstalledJobService;
113 DeleteUninstalledJobService.scheduleIfNeeded(this, false); in schedulePeriodicJobsIfNeeded()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DBackgroundJobsManagerTest.java65 import com.android.adservices.service.measurement.DeleteUninstalledJobService;
96 @SpyStatic(DeleteUninstalledJobService.class)
130 doNothing().when(() -> DeleteUninstalledJobService.scheduleIfNeeded(any(), anyBoolean())); in setDefaultExpectations()
576 () -> DeleteUninstalledJobService.scheduleIfNeeded(any(), eq(false)), in assertMeasurementJobsScheduled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DBackgroundJobsManager.java60 import com.android.adservices.service.measurement.DeleteUninstalledJobService;
240 DeleteUninstalledJobService.scheduleIfNeeded(context, /* forceSchedule= */ false); in scheduleMeasurementBackgroundJobs()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java131 import com.android.adservices.service.measurement.DeleteUninstalledJobService;
193 @SpyStatic(DeleteUninstalledJobService.class)
334 doNothing().when(() -> DeleteUninstalledJobService.scheduleIfNeeded(any(), anyBoolean())); in setup()
649 verify(() -> DeleteUninstalledJobService.scheduleIfNeeded(any(Context.class), eq(false))); in testJobsAreScheduledAfterEnablingKillSwitchOff()
719 () -> DeleteUninstalledJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
DConsentManagerTest.java135 import com.android.adservices.service.measurement.DeleteUninstalledJobService;
198 @SpyStatic(DeleteUninstalledJobService.class)
312 doNothing().when(() -> DeleteUninstalledJobService.scheduleIfNeeded(any(), anyBoolean())); in setup()
656 verify(() -> DeleteUninstalledJobService.scheduleIfNeeded(any(Context.class), eq(false))); in testJobsAreScheduledAfterEnablingKillSwitchOff()
726 () -> DeleteUninstalledJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()