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/ |
D | DeleteUninstalledJobServiceTest.java | 81 @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/ |
D | MeasurementServiceTest.java | 52 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/ |
D | DeleteUninstalledJobService.java | 48 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/ |
D | MeasurementService.java | 38 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/ |
D | BackgroundJobsManagerTest.java | 65 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/ |
D | BackgroundJobsManager.java | 60 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/ |
D | ConsentManagerV2Test.java | 131 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()
|
D | ConsentManagerTest.java | 135 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()
|