Home
last modified time | relevance | path

Searched refs:ConsentNotificationJobService (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DFirstConsentNotificationChannelTest.java30 import com.android.adservices.service.common.ConsentNotificationJobService;
43 @SpyStatic(ConsentNotificationJobService.class)
58 ConsentNotificationJobService.schedule( in setup()
116 verify(() -> ConsentNotificationJobService.schedule(any(), anyBoolean(), eq(false))); in enrollTest_nonReconsentNotification()
125 verify(() -> ConsentNotificationJobService.schedule(any(), eq(true), eq(false))); in enrollTest_adIdEnabledFirstConsentNotification()
134 verify(() -> ConsentNotificationJobService.schedule(any(), eq(false), eq(false))); in enrollTest_adIdDisabledFirstConsentNotification()
DConsentNotificationDebugChannelTest.java33 import com.android.adservices.service.common.ConsentNotificationJobService;
68 .spyStatic(ConsentNotificationJobService.class) in setup()
77 ConsentNotificationJobService.schedule( in setup()
116 ConsentNotificationJobService.schedule( in enrollTest_adIdDisabledConsentNotification()
129 ConsentNotificationJobService.schedule( in enrollTest_adIdEnabledConsentNotification()
DRvcPostOTAChannelTest.java32 import com.android.adservices.service.common.ConsentNotificationJobService;
68 .spyStatic(ConsentNotificationJobService.class) in setup()
77 ConsentNotificationJobService.schedule( in setup()
123 ConsentNotificationJobService.schedule( in enrollTest_optOutMsmt()
138 ConsentNotificationJobService.schedule( in enrollTest_optInMsmt()
DGaGraduationChannelTest.java30 import com.android.adservices.service.common.ConsentNotificationJobService;
61 .spyStatic(ConsentNotificationJobService.class) in setup()
70 ConsentNotificationJobService.schedule( in setup()
93 () -> ConsentNotificationJobService.schedule(any(), anyBoolean(), anyBoolean()), in isEligibleTest_enrollmentIsDisabled()
DReconsentNotificationChannelTest.java35 import com.android.adservices.service.common.ConsentNotificationJobService;
73 .spyStatic(ConsentNotificationJobService.class) in setup()
82 ConsentNotificationJobService.schedule( in setup()
198 ConsentNotificationJobService.schedule( in enrollTest_adIdDisabledConsentNotification()
211 ConsentNotificationJobService.schedule( in enrollTest_adIdEnabledConsentNotification()
DU18DetentionChannelTest.java32 import com.android.adservices.service.common.ConsentNotificationJobService;
65 .spyStatic(ConsentNotificationJobService.class) in setup()
74 ConsentNotificationJobService.schedule( in setup()
153 () -> ConsentNotificationJobService.schedule(any(), anyBoolean(), anyBoolean()), in isEligibleTest_noReenrollmentNotification()
DPasFirstConsentNotificationChannelTest.java32 import com.android.adservices.service.common.ConsentNotificationJobService;
65 .spyStatic(ConsentNotificationJobService.class) in setup()
74 ConsentNotificationJobService.schedule( in setup()
DPasReconsentNotificationChannelTest.java39 import com.android.adservices.service.common.ConsentNotificationJobService;
74 .spyStatic(ConsentNotificationJobService.class) in setup()
84 ConsentNotificationJobService.schedule( in setup()
DConsentNotificationResetChannelTest.java31 import com.android.adservices.service.common.ConsentNotificationJobService;
73 .spyStatic(ConsentNotificationJobService.class) in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DConsentNotificationJobServiceTest.java27 import static com.android.adservices.service.common.ConsentNotificationJobService.ADID_ENABLE_STATU…
28 import static com.android.adservices.service.common.ConsentNotificationJobService.MILLISECONDS_IN_T…
29 import static com.android.adservices.service.common.ConsentNotificationJobService.RE_CONSENT_STATUS;
87 private ConsentNotificationJobService mConsentNotificationJobService =
88 new ConsentNotificationJobService();
118 .spyStatic(ConsentNotificationJobService.class) in setup()
294 long initialDelay = ConsentNotificationJobService.calculateInitialDelay(calendar); in testDelaysWhenCalledBeforeIntervalBegins()
295 long deadline = ConsentNotificationJobService.calculateDeadline(calendar); in testDelaysWhenCalledBeforeIntervalBegins()
311 long initialDelay = ConsentNotificationJobService.calculateInitialDelay(calendar); in testDelaysWhenCalledWithinTheInterval()
312 long deadline = ConsentNotificationJobService.calculateDeadline(calendar); in testDelaysWhenCalledWithinTheInterval()
[all …]
DAdServicesCommonServiceImplTest.java98 @SpyStatic(ConsentNotificationJobService.class)
157 ConsentNotificationJobService.schedule( in setup()
288 ConsentNotificationJobService.schedule( in isAdservicesEnabledReconsentTest_happycase()
304 ConsentNotificationJobService.schedule( in isAdservicesEnabledReconsentTest_gaUxFeatureDisabled()
321 ConsentNotificationJobService.schedule( in isAdservicesEnabledReconsentTest_deviceNotEu()
338 ConsentNotificationJobService.schedule( in isAdservicesEnabledReconsentTest_gaUxNotificationDisplayed()
355 ConsentNotificationJobService.schedule( in isAdservicesEnabledReconsentTest_sharedPreferenceNotContain()
371 ConsentNotificationJobService.schedule( in isAdservicesEnabledReconsentTest_userConsentRevoked()
388 ConsentNotificationJobService.schedule( in setAdservicesEntryPointStatusTest()
407 ConsentNotificationJobService.schedule( in setAdservicesEntryPointStatusTest()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/
DUxEngineTest.java45 import com.android.adservices.service.common.ConsentNotificationJobService;
93 .spyStatic(ConsentNotificationJobService.class) in setup()
109 ConsentNotificationJobService.schedule( in setup()
170 ConsentNotificationJobService.schedule( in startTest_uxDisabled()
209 ConsentNotificationJobService.schedule( in startTest_entryPointDisabled()
334 ConsentNotificationJobService.schedule( in startTest_u18UxEligible()
385 ConsentNotificationJobService.schedule( in startTest_rvcSelected()
532 ConsentNotificationJobService.schedule( in startTest_gaUxEligible()
589 () -> ConsentNotificationJobService.schedule(any(), anyBoolean(), anyBoolean()), in startTest_betaUxNotAdultAccount()
640 ConsentNotificationJobService.schedule( in startTest_betaUxEligible()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DConsentNotificationDebugChannel.java26 import com.android.adservices.service.common.ConsentNotificationJobService;
47 ConsentNotificationJobService.schedule( in enroll()
DFirstConsentNotificationChannel.java24 import com.android.adservices.service.common.ConsentNotificationJobService;
47 ConsentNotificationJobService.schedule( in enroll()
DReconsentNotificationChannel.java26 import com.android.adservices.service.common.ConsentNotificationJobService;
49 ConsentNotificationJobService.schedule( in enroll()
DRvcPostOTAChannel.java26 import com.android.adservices.service.common.ConsentNotificationJobService;
52 ConsentNotificationJobService.schedule( in enroll()
DPasFirstConsentNotificationChannel.java26 import com.android.adservices.service.common.ConsentNotificationJobService;
58 ConsentNotificationJobService.schedule( in enroll()
DPasReconsentNotificationChannel.java27 import com.android.adservices.service.common.ConsentNotificationJobService;
72 ConsentNotificationJobService.schedule( in enroll()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DConsentNotificationJobService.java63 public class ConsentNotificationJobService extends JobService { class
109 new ComponentName(context, ConsentNotificationJobService.class)) in schedule()
DAdServicesCommonServiceImpl.java245 ConsentNotificationJobService.schedule(mContext, adIdEnabled, true); in setAdServicesEnabled()
247 ConsentNotificationJobService.schedule( in setAdServicesEnabled()
287 ConsentNotificationJobService.schedule(mContext, false, true); in reconsentIfNeededForEU()