Home
last modified time | relevance | path

Searched refs:isEeaDevice (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/
DDeviceRegionProviderTest.java100 doReturn(Flags.IS_EEA_DEVICE).when(mMockFlags).isEeaDevice(); in isGbDeviceTrue()
111 doReturn(Flags.IS_EEA_DEVICE).when(mMockFlags).isEeaDevice(); in isChDeviceTrue()
122 doReturn(Flags.IS_EEA_DEVICE).when(mMockFlags).isEeaDevice(); in isEuDeviceTrue()
133 doReturn(Flags.IS_EEA_DEVICE).when(mMockFlags).isEeaDevice(); in isEuDeviceFalse()
144 doReturn(Flags.IS_EEA_DEVICE).when(mMockFlags).isEeaDevice(); in noSimCardInstalledTest()
173 doReturn(true).when(mMockFlags).isEeaDevice(); in deviceRegionFlagOnTest_isEeaDeviceNoSim()
186 doReturn(true).when(mMockFlags).isEeaDevice(); in deviceRegionFlagOnTest_isEeaDeviceUsSim()
199 doReturn(true).when(mMockFlags).isEeaDevice(); in deviceRegionFlagOnTest_isEeaDeviceGbSim()
212 doReturn(false).when(mMockFlags).isEeaDevice(); in deviceRegionFlagOnTest_notEeaDeviceUsSim()
225 doReturn(false).when(mMockFlags).isEeaDevice(); in deviceRegionFlagOnTest_notEeaDeviceChSim()
[all …]
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DConsentNotificationTriggerTest.java139 doReturn(false).when(mMockUxStatesManager).isEeaDevice(); in setUp()
159 doReturn(true).when(mMockFlags).isEeaDevice(); in testEuNotification_gaUxFlagEnabled()
228 doReturn(false).when(mMockFlags).isEeaDevice(); in testNonEuNotifications_gaUxEnabled()
272 doReturn(true).when(mMockFlags).isEeaDevice(); in testEuNotifications_gaUxEnabled_nonDismissable()
354 doReturn(true).when(mMockFlags).isEeaDevice(); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage()
480 private void testRvcUxNotification(boolean isEeaDevice) in testRvcUxNotification() argument
482 doReturn(isEeaDevice).when(mMockFlags).isEeaDevice(); in testRvcUxNotification()
497 ConsentNotificationTrigger.showConsentNotification(mSpyContext, isEeaDevice); in testRvcUxNotification()
504 if (isEeaDevice) { in testRvcUxNotification()
528 if (isEeaDevice) { in testRvcUxNotification()
[all …]
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/
DUxUtil.java38 public static boolean isEeaDevice(FragmentActivity fragmentActivity) { in isEeaDevice() method in UxUtil
42 .getBooleanExtra("isEUDevice", UxStatesManager.getInstance().isEeaDevice()) in isEeaDevice()
44 || UxStatesManager.getInstance().isEeaDevice(); in isEeaDevice()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DDeviceRegionProvider.java49 return FlagsFactory.getFlags().isEeaDevice(); in isEuDevice()
60 return FlagsFactory.getFlags().isEeaDevice(); in isEuDevice()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DMeasurementCobaltLogger.java118 boolean isEeaDevice) { in logRegistrationStatus() argument
132 isEeaDevice ? EEA_REGION_CODE : ROW_REGION_CODE)); in logRegistrationStatus()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/
DUxStatesManager.java131 public boolean isEeaDevice() { in isEeaDevice() method in UxStatesManager
190 if (isEeaDevice()) { in pasUxIsActive()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DConsentNotificationJobServiceTest.java183 Mockito.doReturn(true).when(mUxStatesManager).isEeaDevice(); in testOnStartJobAsyncUtilExecute_Reconsent_GaUxDisabled()
218 Mockito.doReturn(true).when(mUxStatesManager).isEeaDevice(); in testOnStartJobAsyncUtilExecute_ReconsentFalse()
454 Mockito.doReturn(true).when(mUxStatesManager).isEeaDevice(); in testOnStartJobAsyncUtilExecute()
532 Mockito.doReturn(true).when(mUxStatesManager).isEeaDevice(); in mockEuDevice()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DConsentNotificationJobService.java225 !mConsentManager.isAdIdEnabled() || mUxStatesManager.isEeaDevice(); in onStartJob()
229 mConsentManager.isAdIdEnabled(), mUxStatesManager.isEeaDevice(), isEeaNotification); in onStartJob()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/data/
DUxStatesManagerTest.java153 assertThat(mUxStatesManager.isEeaDevice()).isFalse(); in isEeaDeviceTest_rowDevice()
161 assertThat(mUxStatesManager.isEeaDevice()).isTrue(); in isEeaDeviceTest_eeaDevice()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DAdServicesLoggerImplTest.java538 boolean isEeaDevice = false; in testLogMsmtRegistrationResponseSize()
551 mockMsmtCobaltLogger(isEeaDevice); in testLogMsmtRegistrationResponseSize()
562 isEeaDevice); in testLogMsmtRegistrationResponseSize()
1169 private void mockMsmtCobaltLogger(boolean isEeaDevice) { in mockMsmtCobaltLogger() argument
1172 when(mMockFlags.isEeaDevice()).thenReturn(isEeaDevice); in mockMsmtCobaltLogger()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/ganotifications/
DConsentNotificationGaV2Screen1Fragment.java65 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in onCreateView()
DConsentNotificationGaV2Screen2Fragment.java85 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in setupActivity()
DConsentNotificationGaFragment.java91 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in setupActivity()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationFragment.java89 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in setupActivity()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DAdServicesLoggerImpl.java439 /* isEeaDevice= */ FlagsFactory.getFlags().isEeaDevice()); in cobaltLogMsmtRegistration()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DPhFlags.java2919 public boolean isEeaDevice() { in isEeaDevice() method in PhFlags
4962 writer.println("\t" + FlagsConstants.KEY_IS_EEA_DEVICE + " = " + isEeaDevice()); in dump()
5732 if (!isEeaDeviceFeatureEnabled() || isEeaDevice()) { in getPasUxEnabled()
5739 && !isEeaDevice() in getPasUxEnabled()
5755 uxMap.put(FlagsConstants.KEY_IS_EEA_DEVICE, isEeaDevice()); in getUxFlags()
DFlags.java3397 default boolean isEeaDevice() { in isEeaDevice() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DPhFlagsTest.java3614 mFlagsTestHelper.testConfigFlag(KEY_IS_EEA_DEVICE, IS_EEA_DEVICE, Flags::isEeaDevice); in testIsEeaDevice()