Home
last modified time | relevance | path

Searched refs:BackgroundJobsManager (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DBackgroundJobsManagerTest.java91 @SpyStatic(BackgroundJobsManager.class)
158 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_killSwitchOff()
193 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_measurementKillSwitchOn()
225 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_topicsKillSwitchOn()
251 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_mddKillSwitchOn()
281 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_encryptionKeyKillSwitchOn()
312 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_selectAdsKillSwitchOn()
340 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_topicsAndSelectAdsKillSwitchOn()
366 BackgroundJobsManager.scheduleAllBackgroundJobs(mMockContext); in testScheduleAllBackgroundJobs_cobaltLoggingDisabled()
384 BackgroundJobsManager.scheduleMeasurementBackgroundJobs(mMockContext); in testScheduleMeasurementBackgroundJobs_measurementKillSwitchOn()
[all …]
DAdServicesCommonServiceImplTest.java101 @SpyStatic(BackgroundJobsManager.class)
150 .when(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in setup()
392 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in setAdservicesEntryPointStatusTest()
DFledgeE2ETest.java203 @MockStatic(BackgroundJobsManager.class)
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/
DUxEngineTest.java44 import com.android.adservices.service.common.BackgroundJobsManager;
95 .spyStatic(BackgroundJobsManager.class) in setup()
118 BackgroundJobsManager.scheduleAllBackgroundJobs(any())); in setup()
120 .when(() -> BackgroundJobsManager.scheduleMeasurementBackgroundJobs(any())); in setup()
339 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(mContext), never()); in startTest_u18UxEligible()
341 () -> BackgroundJobsManager.scheduleMeasurementBackgroundJobs(mContext)); in startTest_u18UxEligible()
390 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(mContext), never()); in startTest_rvcSelected()
392 () -> BackgroundJobsManager.scheduleMeasurementBackgroundJobs(mContext)); in startTest_rvcSelected()
538 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(mContext) in startTest_gaUxEligible()
646 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(mContext) in startTest_betaUxEligible()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/util/
DUxEngineUtil.java25 import com.android.adservices.service.common.BackgroundJobsManager;
85 BackgroundJobsManager.scheduleAllBackgroundJobs(context); in startBackgroundTasksUponConsent()
94 BackgroundJobsManager.scheduleMeasurementBackgroundJobs(context); in startBackgroundTasksUponConsent()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/
DUxEngineUtilTest.java44 import com.android.adservices.service.common.BackgroundJobsManager;
97 .spyStatic(BackgroundJobsManager.class) in setup()
119 BackgroundJobsManager.scheduleAllBackgroundJobs(any())); in setup()
553 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(mContext), never() in startBackgroundTasksUponConsentTest_consentNotGiven()
568 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(mContext), times(1) in startBackgroundTasksUponConsentTest_consentGiven()
584 () -> BackgroundJobsManager.scheduleMeasurementBackgroundJobs(mContext), times(1)); in startBackgroundTasksUponConsentTest_u18UxConsentGiven()
599 () -> BackgroundJobsManager.scheduleMeasurementBackgroundJobs(mContext), times(1)); in startBackgroundTasksUponConsentTest_rvcUxConsentGiven()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManagerV2.java56 import com.android.adservices.service.common.BackgroundJobsManager;
354 BackgroundJobsManager.scheduleAllBackgroundJobs(context); in enable()
386 BackgroundJobsManager.unscheduleAllBackgroundJobs( in disable()
418 BackgroundJobsManager.scheduleJobsPerApi(context, apiType); in enable()
448 BackgroundJobsManager.unscheduleJobsPerApi( in disable()
457 BackgroundJobsManager.unscheduleAllBackgroundJobs( in disable()
DConsentManager.java65 import com.android.adservices.service.common.BackgroundJobsManager;
336 BackgroundJobsManager.scheduleAllBackgroundJobs(context); in enable()
375 BackgroundJobsManager.unscheduleAllBackgroundJobs( in disable()
412 BackgroundJobsManager.scheduleJobsPerApi(context, apiType); in enable()
446 BackgroundJobsManager.unscheduleJobsPerApi( in disable()
455 BackgroundJobsManager.unscheduleAllBackgroundJobs( in disable()
/packages/modules/AdServices/adservices/apk/tests/settings/src/com/android/adservices/ui/settings/
DDialogFragmentTest.java47 import com.android.adservices.service.common.BackgroundJobsManager;
69 @SpyStatic(BackgroundJobsManager.class)
128 .when(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in setup()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DBackgroundJobsManager.java81 public class BackgroundJobsManager { class
DAdServicesCommonServiceImpl.java253 BackgroundJobsManager.scheduleAllBackgroundJobs(mContext); in setAdServicesEnabled()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java123 import com.android.adservices.service.common.BackgroundJobsManager;
190 @SpyStatic(BackgroundJobsManager.class)
613 verify(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in testJobsAreScheduledAfterEnablingKillSwitchOff()
667 verify(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
3326 BackgroundJobsManager.unscheduleJobsPerApi( in testAllConsentAreRevokedClenaupIsExecuted()
3330 BackgroundJobsManager.unscheduleJobsPerApi( in testAllConsentAreRevokedClenaupIsExecuted()
3334 BackgroundJobsManager.unscheduleJobsPerApi( in testAllConsentAreRevokedClenaupIsExecuted()
3336 verify(() -> BackgroundJobsManager.unscheduleAllBackgroundJobs(any(JobScheduler.class))); in testAllConsentAreRevokedClenaupIsExecuted()
DConsentManagerTest.java128 import com.android.adservices.service.common.BackgroundJobsManager;
195 @SpyStatic(BackgroundJobsManager.class)
620 verify(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in testJobsAreScheduledAfterEnablingKillSwitchOff()
674 verify(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
3610 BackgroundJobsManager.unscheduleJobsPerApi( in testAllConsentAreRevokedClenaupIsExecuted()
3614 BackgroundJobsManager.unscheduleJobsPerApi( in testAllConsentAreRevokedClenaupIsExecuted()
3618 BackgroundJobsManager.unscheduleJobsPerApi( in testAllConsentAreRevokedClenaupIsExecuted()
3620 verify(() -> BackgroundJobsManager.unscheduleAllBackgroundJobs(any(JobScheduler.class))); in testAllConsentAreRevokedClenaupIsExecuted()