/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ux/ |
D | PrivacySandboxUxCollectionTest.java | 67 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/ |
D | UxUtil.java | 49 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()
|
D | UxSelector.java | 100 switch (UxUtil.getUx(context)) { in getEndUserUx()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/data/ |
D | UxStatesManagerTest.java | 166 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()
|
D | UxStatesDaoTest.java | 50 assertThat(mUxStatesDao.getUx()).isEqualTo(uxCollection); in uxTest_datastoreConformance()
|
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTriggerTest.java | 141 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/ |
D | UIStats.java | 46 && mUx == uiStats.getUx() in equals() 88 public int getUx() { in getUx() method in UIStats
|
D | UiStatsLogger.java | 345 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/ |
D | UxStatesManager.java | 113 public PrivacySandboxUxCollection getUx() { in getUx() method in UxStatesManager 116 mUx = mConsentManager.getUx(); in getUx()
|
D | UxStatesDao.java | 77 public PrivacySandboxUxCollection getUx() { in getUx() method in UxStatesDao
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTrigger.java | 112 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/ |
D | AppConsentStorageManagerTest.java | 277 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/ |
D | AppConsentStorageManager.java | 205 public PrivacySandboxUxCollection getUx() { in getUx() method in AppConsentStorageManager 206 return mUxStatesDao.getUx(); in getUx()
|
D | AdServicesStorageManager.java | 201 public PrivacySandboxUxCollection getUx() { in getUx() method in AdServicesStorageManager 202 return convertUxString(mAdServicesManager.getUx()); in getUx()
|
D | ConsentCompositeStorage.java | 346 public PrivacySandboxUxCollection getUx() { in getUx() method in ConsentCompositeStorage 349 return storage.getUx(); in getUx() 638 if (getUx() == U18_UX) { in setAggregatedConsent()
|
D | IConsentStorage.java | 136 PrivacySandboxUxCollection getUx() throws IOException; in getUx() method
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/ux/collection/ |
D | PrivacySandboxUxCollection.java | 66 public PrivacySandboxUx getUx() { in getUx() method in PrivacySandboxUxCollection
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchConsentManagerTest.java | 659 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()
|
D | AppSearchConsentStorageManagerTest.java | 669 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/ |
D | UxEngineUtil.java | 57 collection.getUx().isEligible(consentManager, uxStatesManager)) in getEligibleUxCollection()
|
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/ |
D | IAdServicesManager.aidl | 253 String getUx(); in getUx() method
|
D | AdServicesManager.java | 652 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/ |
D | UxEngine.java | 102 .getUx() in start()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchUxStatesDao.java | 226 public String getUx() { in getUx() method in AppSearchUxStatesDao 404 .filter(ux -> ux.toString().equals(dao.getUx())) in readUx()
|
D | AppSearchConsentManager.java | 604 public PrivacySandboxUxCollection getUx() { in getUx() method in AppSearchConsentManager 605 return mAppSearchConsentWorker.getUx(); in getUx()
|