/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ |
D | UxEngineTest.java | 20 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 244 verify(mUxStatesManager, times(2)).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_u18FeatureDisabled() 269 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_isNotU18Account() 284 verify(mUxStatesManager, times(2)).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_isNotU18Account() 324 verify(mUxStatesManager, never()).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_u18UxEligible() 372 verify(mUxStatesManager, never()).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_rvcSelected() 417 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_gaUxFeatureDisabled() 432 verify(mUxStatesManager, times(2)).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_gaUxFeatureDisabled() 463 doReturn(true).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_gaUxNotAdultAccount() 478 verify(mUxStatesManager, times(2)).getFlag(KEY_GA_UX_FEATURE_ENABLED); in startTest_gaUxNotAdultAccount() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ux/ |
D | BetaUxTest.java | 19 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 70 doReturn(true).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_adultUserWithGaFlagOn() 78 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_adultUserWithGaFlagOff() 86 doReturn(true).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_nonAdultUserWithGaFlagOn() 94 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_nonAdultUserWithGaFlagOff()
|
D | GaUxTest.java | 19 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 70 doReturn(true).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_adultUserWithGaFlagOn() 78 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_adultUserWithGaFlagOff() 86 doReturn(true).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_nonAdultUserWithGaFlagOn() 94 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in isEligibleTest_nonAdultUserWithGaFlagOff()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/ux/impl/ |
D | BetaUx.java | 18 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 39 return !uxStatesManager.getFlag(KEY_GA_UX_FEATURE_ENABLED) in isEligible()
|
D | GaUx.java | 18 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 39 return uxStatesManager.getFlag(KEY_GA_UX_FEATURE_ENABLED) in isEligible()
|
/packages/modules/AdServices/adservices/apk/tests/settingsgauxselector/src/com/android/adservices/ui/settingsga/ |
D | SettingsRvcUxSelectorUiAutomatorTest.java | 21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 48 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
D | SettingsGaUxSelectorUiAutomatorTest.java | 21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 46 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
D | BlockedTopicsSettingsUxSelectorUiAutomatorTest.java | 26 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 69 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
/packages/modules/AdServices/adservices/apk/tests/settingsgaota/src/com/android/adservices/ui/settingsga/ |
D | SettingsGaUiAutomatorTest.java | 19 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 43 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/ |
D | UxEngineUtilTest.java | 21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 150 doReturn(true).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in getEligibleUxCollectionTest_adultUserGaFlagOn() 159 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in getEligibleUxCollectionTest_adultUserGaFlagOff() 187 doReturn(true).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in getEligibleUxCollectionTest_gaAndU18Eligible() 199 doReturn(false).when(mUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in getEligibleUxCollectionTest_betaAndU18Eligible()
|
/packages/modules/AdServices/adservices/apk/tests/settings/src/com/android/adservices/ui/settings/ |
D | BlockedTopicsSettingsUiAutomatorTest.java | 23 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 64 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
D | ConsentSettingsUiAutomatorTest.java | 19 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 52 .setFlag(KEY_GA_UX_FEATURE_ENABLED, false);
|
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | NotificationActivityRvcUxSelectorUiAutomatorTest.java | 21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 53 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
D | NotificationActivityU18UxSelectorUiAutomatorTest.java | 21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 54 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
D | NotificationActivityGAV2UxSelectorUiAutomatorTest.java | 21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 57 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
D | NotificationActivityGAV2UiAutomatorTest.java | 20 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 54 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
|
D | ConsentNotificationTriggerTest.java | 19 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 160 doReturn(true).when(mMockUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in testEuNotification_gaUxFlagEnabled() 229 doReturn(true).when(mMockUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in testNonEuNotifications_gaUxEnabled() 273 doReturn(true).when(mMockUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in testEuNotifications_gaUxEnabled_nonDismissable() 360 doReturn(true).when(mMockUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() 452 doReturn(false).when(mMockUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in testNotificationsDisabled() 591 doReturn(true).when(mMockUxStatesManager).getFlag(KEY_GA_UX_FEATURE_ENABLED); in testRvcPostOtaNotification()
|
/packages/modules/AdServices/adservices/tests/cts/hosttests/src/com/android/adservices/cts/ |
D | UiApiLoggingHostTest.java | 22 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 71 @SetFlagEnabled(KEY_GA_UX_FEATURE_ENABLED)
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTrigger.java | 19 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 75 UxStatesManager.getInstance().getFlag(KEY_GA_UX_FEATURE_ENABLED); in showConsentNotification()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ |
D | FlagsConstants.java | 1090 public static final String KEY_GA_UX_FEATURE_ENABLED = "ga_ux_enabled"; field in FlagsConstants
|
D | PhFlags.java | 2948 getSystemPropertyName(FlagsConstants.KEY_GA_UX_FEATURE_ENABLED), in getGaUxFeatureEnabled() 2950 FlagsConstants.KEY_GA_UX_FEATURE_ENABLED, GA_UX_FEATURE_ENABLED)); in getGaUxFeatureEnabled() 5759 uxMap.put(FlagsConstants.KEY_GA_UX_FEATURE_ENABLED, getGaUxFeatureEnabled()); in getUxFlags()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/ |
D | PhFlagsTest.java | 758 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED; 2643 KEY_GA_UX_FEATURE_ENABLED, GA_UX_FEATURE_ENABLED, Flags::getGaUxFeatureEnabled); in testGetGaUxFeatureEnabled()
|