/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/ |
D | DeviceRegionProviderTest.java | 100 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/ |
D | ConsentNotificationTriggerTest.java | 139 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/ |
D | UxUtil.java | 38 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/ |
D | DeviceRegionProvider.java | 49 return FlagsFactory.getFlags().isEeaDevice(); in isEuDevice() 60 return FlagsFactory.getFlags().isEeaDevice(); in isEuDevice()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/ |
D | MeasurementCobaltLogger.java | 118 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/ |
D | UxStatesManager.java | 131 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/ |
D | ConsentNotificationJobServiceTest.java | 183 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/ |
D | ConsentNotificationJobService.java | 225 !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/ |
D | UxStatesManagerTest.java | 153 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/ |
D | AdServicesLoggerImplTest.java | 538 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/ |
D | ConsentNotificationGaV2Screen1Fragment.java | 65 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in onCreateView()
|
D | ConsentNotificationGaV2Screen2Fragment.java | 85 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in setupActivity()
|
D | ConsentNotificationGaFragment.java | 91 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in setupActivity()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/ |
D | ConsentNotificationFragment.java | 89 mIsEUDevice = UxUtil.isEeaDevice(requireActivity()); in setupActivity()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | AdServicesLoggerImpl.java | 439 /* isEeaDevice= */ FlagsFactory.getFlags().isEeaDevice()); in cobaltLogMsmtRegistration()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ |
D | PhFlags.java | 2919 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()
|
D | Flags.java | 3397 default boolean isEeaDevice() { in isEeaDevice() method
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/ |
D | PhFlagsTest.java | 3614 mFlagsTestHelper.testConfigFlag(KEY_IS_EEA_DEVICE, IS_EEA_DEVICE, Flags::isEeaDevice); in testIsEeaDevice()
|