Home
last modified time | relevance | path

Searched refs:getUx (Results 1 – 25 of 45) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ux/
DPrivacySandboxUxCollectionTest.java67 assertThat(PrivacySandboxUxCollection.UNSUPPORTED_UX.getUx()).isNotNull();
68 assertThat(PrivacySandboxUxCollection.U18_UX.getUx()).isNotNull();
69 assertThat(PrivacySandboxUxCollection.GA_UX.getUx()).isNotNull();
70 assertThat(PrivacySandboxUxCollection.BETA_UX.getUx()).isNotNull();
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/
DUxUtil.java49 PrivacySandboxUxCollection ux = getUx(context); in isUxStatesReady()
56 public static PrivacySandboxUxCollection getUx(Context context) { in getUx() method in UxUtil
63 return UxStatesManager.getInstance().getUx(); in getUx()
DUxSelector.java100 switch (UxUtil.getUx(context)) { in getEndUserUx()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/data/
DUxStatesManagerTest.java166 assertThat(mUxStatesManager.getUx()).isNotNull(); in getUxTest_processStable()
171 doReturn(ux).when(mMockConsentManager).getUx(); in getUxTest_processStable()
175 assertThat(mUxStatesManager.getUx()).isEqualTo(ux); in getUxTest_processStable()
178 doReturn(null).when(mMockConsentManager).getUx(); in getUxTest_processStable()
179 assertThat(mUxStatesManager.getUx()).isEqualTo(ux); in getUxTest_processStable()
192 doReturn(ux).when(mMockConsentManager).getUx(); in getEnrollmentChannelTest_processStable()
DUxStatesDaoTest.java50 assertThat(mUxStatesDao.getUx()).isEqualTo(uxCollection); in uxTest_datastoreConformance()
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/
DConsentNotificationTriggerTest.java141 doReturn(GA_UX).when(mMockUxStatesManager).getUx(); in setUp()
161 doReturn(GA_UX).when(mMockUxStatesManager).getUx(); in testEuNotification_gaUxFlagEnabled()
230 doReturn(GA_UX).when(mMockUxStatesManager).getUx(); in testNonEuNotifications_gaUxEnabled()
274 doReturn(GA_UX).when(mMockUxStatesManager).getUx(); in testEuNotifications_gaUxEnabled_nonDismissable()
359 doReturn(GA_UX).when(mMockUxStatesManager).getUx(); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage()
453 doReturn(BETA_UX).when(mMockUxStatesManager).getUx(); in testNotificationsDisabled()
485 doReturn(RVC_UX).when(mMockUxStatesManager).getUx(); in testRvcUxNotification()
520 assertThat(argument.getValue().getUx()) in testRvcUxNotification()
593 doReturn(GA_UX).when(mMockUxStatesManager).getUx(); in testRvcPostOtaNotification()
635 assertThat(argument.getValue().getUx()) in testRvcPostOtaNotification()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DUIStats.java46 && mUx == uiStats.getUx() in equals()
88 public int getUx() { in getUx() method in UIStats
DUiStatsLogger.java345 uiStats.setUx(getUx(true)); in logRequestedNotification()
358 uiStats.setUx(getUx(true)); in logNotificationDisabled()
579 if (UxStatesManager.getInstance().getUx() == RVC_UX) { in getDefaultConsent()
667 private static int getUx(boolean beforeNotificationShown) { in getUx() method in UiStatsLogger
668 switch (UxStatesManager.getInstance().getUx()) { in getUx()
736 .setUx(getUx(/* beforeNotificationShown */ false)) in getBaseUiStats()
747 .setUx(getUx(/* beforeNotificationShown */ false)) in getBaseUiStats()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/
DUxStatesManager.java113 public PrivacySandboxUxCollection getUx() { in getUx() method in UxStatesManager
116 mUx = mConsentManager.getUx(); in getUx()
DUxStatesDao.java77 public PrivacySandboxUxCollection getUx() { in getUx() method in UxStatesDao
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationTrigger.java112 switch (UxUtil.getUx(context)) { in recordNotificationDisplayed()
147 switch (UxUtil.getUx(context)) { in getNotification()
190 switch (UxUtil.getUx(context)) { in setupConsents()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DAppConsentStorageManagerTest.java277 doReturn(ux).when(mUxStatesDaoMock).getUx(); in testGetSetUx()
278 expect.that(mAppConsentStorageManager.getUx()).isEqualTo(ux); in testGetSetUx()
283 verify(mUxStatesDaoMock, times(UX_TYPE_COUNT)).getUx(); in testGetSetUx()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentStorageManager.java205 public PrivacySandboxUxCollection getUx() { in getUx() method in AppConsentStorageManager
206 return mUxStatesDao.getUx(); in getUx()
DAdServicesStorageManager.java201 public PrivacySandboxUxCollection getUx() { in getUx() method in AdServicesStorageManager
202 return convertUxString(mAdServicesManager.getUx()); in getUx()
DConsentCompositeStorage.java346 public PrivacySandboxUxCollection getUx() { in getUx() method in ConsentCompositeStorage
349 return storage.getUx(); in getUx()
638 if (getUx() == U18_UX) { in setAggregatedConsent()
DIConsentStorage.java136 PrivacySandboxUxCollection getUx() throws IOException; in getUx() method
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/ux/collection/
DPrivacySandboxUxCollection.java66 public PrivacySandboxUx getUx() { in getUx() method in PrivacySandboxUxCollection
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java659 mAppSearchConsentManager.getUx(); in getUxTest()
660 verify(mAppSearchConsentWorker).getUx(); in getUxTest()
693 doReturn(ux).when(mAppSearchConsentWorker).getUx(); in uxConformanceTest()
695 assertThat(mAppSearchConsentManager.getUx()).isEqualTo(ux); in uxConformanceTest()
DAppSearchConsentStorageManagerTest.java669 mAppSearchConsentStorageManager.getUx(); in getUxTest()
670 verify(mAppSearchConsentWorker).getUx(); in getUxTest()
703 doReturn(ux).when(mAppSearchConsentWorker).getUx(); in uxConformanceTest()
705 expect.that(mAppSearchConsentStorageManager.getUx()).isEqualTo(ux); in uxConformanceTest()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/util/
DUxEngineUtil.java57 collection.getUx().isEligible(consentManager, uxStatesManager)) in getEligibleUxCollection()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl253 String getUx(); in getUx() method
DAdServicesManager.java652 public String getUx() { in getUx() method in AdServicesManager
654 return mService.getUx(); in getUx()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/
DUxEngine.java102 .getUx() in start()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchUxStatesDao.java226 public String getUx() { in getUx() method in AppSearchUxStatesDao
404 .filter(ux -> ux.toString().equals(dao.getUx())) in readUx()
DAppSearchConsentManager.java604 public PrivacySandboxUxCollection getUx() { in getUx() method in AppSearchConsentManager
605 return mAppSearchConsentWorker.getUx(); in getUx()

12