Home
last modified time | relevance | path

Searched refs:KEY_GA_UX_FEATURE_ENABLED (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/
DUxEngineTest.java20 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/
DBetaUxTest.java19 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()
DGaUxTest.java19 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/
DBetaUx.java18 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
39 return !uxStatesManager.getFlag(KEY_GA_UX_FEATURE_ENABLED) in isEligible()
DGaUx.java18 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/
DSettingsRvcUxSelectorUiAutomatorTest.java21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
48 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
DSettingsGaUxSelectorUiAutomatorTest.java21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
46 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
DBlockedTopicsSettingsUxSelectorUiAutomatorTest.java26 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/
DSettingsGaUiAutomatorTest.java19 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/
DUxEngineUtilTest.java21 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/
DBlockedTopicsSettingsUiAutomatorTest.java23 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
64 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
DConsentSettingsUiAutomatorTest.java19 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/
DNotificationActivityRvcUxSelectorUiAutomatorTest.java21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
53 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
DNotificationActivityU18UxSelectorUiAutomatorTest.java21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
54 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
DNotificationActivityGAV2UxSelectorUiAutomatorTest.java21 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
57 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
DNotificationActivityGAV2UiAutomatorTest.java20 import static com.android.adservices.service.FlagsConstants.KEY_GA_UX_FEATURE_ENABLED;
54 .setFlag(KEY_GA_UX_FEATURE_ENABLED, true)
DConsentNotificationTriggerTest.java19 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/
DUiApiLoggingHostTest.java22 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/
DConsentNotificationTrigger.java19 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/
DFlagsConstants.java1090 public static final String KEY_GA_UX_FEATURE_ENABLED = "ga_ux_enabled"; field in FlagsConstants
DPhFlags.java2948 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/
DPhFlagsTest.java758 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()