/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/ |
D | FirstConsentNotificationChannelTest.java | 30 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()
|
D | ConsentNotificationDebugChannelTest.java | 33 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()
|
D | RvcPostOTAChannelTest.java | 32 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()
|
D | GaGraduationChannelTest.java | 30 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()
|
D | ReconsentNotificationChannelTest.java | 35 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()
|
D | U18DetentionChannelTest.java | 32 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()
|
D | PasFirstConsentNotificationChannelTest.java | 32 import com.android.adservices.service.common.ConsentNotificationJobService; 65 .spyStatic(ConsentNotificationJobService.class) in setup() 74 ConsentNotificationJobService.schedule( in setup()
|
D | PasReconsentNotificationChannelTest.java | 39 import com.android.adservices.service.common.ConsentNotificationJobService; 74 .spyStatic(ConsentNotificationJobService.class) in setup() 84 ConsentNotificationJobService.schedule( in setup()
|
D | ConsentNotificationResetChannelTest.java | 31 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/ |
D | ConsentNotificationJobServiceTest.java | 27 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 …]
|
D | AdServicesCommonServiceImplTest.java | 98 @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/ |
D | UxEngineTest.java | 45 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/ |
D | ConsentNotificationDebugChannel.java | 26 import com.android.adservices.service.common.ConsentNotificationJobService; 47 ConsentNotificationJobService.schedule( in enroll()
|
D | FirstConsentNotificationChannel.java | 24 import com.android.adservices.service.common.ConsentNotificationJobService; 47 ConsentNotificationJobService.schedule( in enroll()
|
D | ReconsentNotificationChannel.java | 26 import com.android.adservices.service.common.ConsentNotificationJobService; 49 ConsentNotificationJobService.schedule( in enroll()
|
D | RvcPostOTAChannel.java | 26 import com.android.adservices.service.common.ConsentNotificationJobService; 52 ConsentNotificationJobService.schedule( in enroll()
|
D | PasFirstConsentNotificationChannel.java | 26 import com.android.adservices.service.common.ConsentNotificationJobService; 58 ConsentNotificationJobService.schedule( in enroll()
|
D | PasReconsentNotificationChannel.java | 27 import com.android.adservices.service.common.ConsentNotificationJobService; 72 ConsentNotificationJobService.schedule( in enroll()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | ConsentNotificationJobService.java | 63 public class ConsentNotificationJobService extends JobService { class 109 new ComponentName(context, ConsentNotificationJobService.class)) in schedule()
|
D | AdServicesCommonServiceImpl.java | 245 ConsentNotificationJobService.schedule(mContext, adIdEnabled, true); in setAdServicesEnabled() 247 ConsentNotificationJobService.schedule( in setAdServicesEnabled() 287 ConsentNotificationJobService.schedule(mContext, false, true); in reconsentIfNeededForEU()
|