Searched refs:BackgroundJobsManager (Results 1 – 13 of 13) sorted by relevance
91 @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 …]
101 @SpyStatic(BackgroundJobsManager.class)150 .when(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in setup()392 () -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in setAdservicesEntryPointStatusTest()
203 @MockStatic(BackgroundJobsManager.class)
44 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 …]
25 import com.android.adservices.service.common.BackgroundJobsManager;85 BackgroundJobsManager.scheduleAllBackgroundJobs(context); in startBackgroundTasksUponConsent()94 BackgroundJobsManager.scheduleMeasurementBackgroundJobs(context); in startBackgroundTasksUponConsent()
44 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()
56 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()
65 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()
47 import com.android.adservices.service.common.BackgroundJobsManager;69 @SpyStatic(BackgroundJobsManager.class)128 .when(() -> BackgroundJobsManager.scheduleAllBackgroundJobs(any(Context.class))); in setup()
81 public class BackgroundJobsManager { class
253 BackgroundJobsManager.scheduleAllBackgroundJobs(mContext); in setAdServicesEnabled()
123 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()
128 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()