Home
last modified time | relevance | path

Searched refs:setUx (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/
DUxEngineTest.java165 verify(mConsentManager, never()).setUx(UNSUPPORTED_UX); in startTest_uxDisabled()
204 verify(mConsentManager, never()).setUx(UNSUPPORTED_UX); in startTest_entryPointDisabled()
247 verify(mConsentManager, never()).setUx(UNSUPPORTED_UX); in startTest_u18FeatureDisabled()
287 verify(mConsentManager, never()).setUx(UNSUPPORTED_UX); in startTest_isNotU18Account()
326 verify(mConsentManager).setUx(U18_UX); in startTest_u18UxEligible()
377 verify(mConsentManager).setUx(RVC_UX); in startTest_rvcSelected()
434 verify(mConsentManager).setUx(BETA_UX); in startTest_gaUxFeatureDisabled()
482 verify(mConsentManager, never()).setUx(UNSUPPORTED_UX); in startTest_gaUxNotAdultAccount()
525 verify(mConsentManager).setUx(GA_UX); in startTest_gaUxEligible()
585 verify(mConsentManager, never()).setUx(UNSUPPORTED_UX); in startTest_betaUxNotAdultAccount()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/data/
DUxStatesManagerTest.java272 doNothing().when(mMockConsentManager).setUx(any(PrivacySandboxUxCollection.class)); in isEnrolledUserTest_supervisedAccount()
280 verify(mMockConsentManager).setUx(any(PrivacySandboxUxCollection.class)); in isEnrolledUserTest_supervisedAccount()
297 doNothing().when(mMockConsentManager).setUx(any(PrivacySandboxUxCollection.class)); in isEnrolledUserTest_supervisedAccount_initial()
304 verify(mMockConsentManager).setUx(any(PrivacySandboxUxCollection.class)); in isEnrolledUserTest_supervisedAccount_initial()
320 doNothing().when(mMockConsentManager).setUx(any(PrivacySandboxUxCollection.class)); in isEnrolledUserTest_supervisedAccountFlagDisabled()
328 verify(mMockConsentManager, never()).setUx(any(PrivacySandboxUxCollection.class)); in isEnrolledUserTest_supervisedAccountFlagDisabled()
DUxStatesDaoTest.java49 mUxStatesDao.setUx(uxCollection); in uxTest_datastoreConformance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DUIStats.java113 public void setUx(int ux) { in setUx() method in UIStats
180 public @NonNull UIStats.Builder setUx(int ux) { in setUx() method in UIStats.Builder
DUiStatsLogger.java345 uiStats.setUx(getUx(true)); in logRequestedNotification()
358 uiStats.setUx(getUx(true)); in logNotificationDisabled()
565 uiStats.setUx(AD_SERVICES_SETTINGS_USAGE_REPORTED__UX__UNSUPPORTED_UX); in logRequestedNotificationIneligible()
736 .setUx(getUx(/* beforeNotificationShown */ false)) in getBaseUiStats()
747 .setUx(getUx(/* beforeNotificationShown */ false)) in getBaseUiStats()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentCompositeStorageTest.java116 consentCompositeStorage.setUx(PrivacySandboxUxCollection.GA_UX); in testAllWriteMethods()
158 Mockito.verify(consentStorage).setUx(eq(PrivacySandboxUxCollection.GA_UX)); in verifySetMethodCalled()
DAppConsentStorageManagerTest.java280 mAppConsentStorageManager.setUx(ux); in testGetSetUx()
284 verify(mUxStatesDaoMock, times(UX_TYPE_COUNT)).setUx(any()); in testGetSetUx()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAppConsentStorageManager.java211 public void setUx(PrivacySandboxUxCollection ux) { in setUx() method in AppConsentStorageManager
212 mUxStatesDao.setUx(ux); in setUx()
DAdServicesStorageManager.java359 public void setUx(PrivacySandboxUxCollection ux) { in setUx() method in AdServicesStorageManager
360 mAdServicesManager.setUx(ux.toString()); in setUx()
DIConsentStorage.java255 void setUx(PrivacySandboxUxCollection ux) throws IOException; in setUx() method
DConsentManager.java2395 public void setUx(PrivacySandboxUxCollection ux) {
2397 ConsentManagerV2.getInstance().setUx(ux);
2401 () -> mUxStatesDao.setUx(ux),
2402 () -> mAdServicesManager.setUx(ux.toString()),
2403 () -> mAppSearchConsentManager.setUx(ux),
2405 mUxStatesDao.setUx(ux),
DConsentCompositeStorage.java364 public void setUx(PrivacySandboxUxCollection ux) { in setUx() method in ConsentCompositeStorage
367 storage.setUx(ux); in setUx()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl256 void setUx(in String ux); in setUx() method
DAdServicesManager.java662 public void setUx(String ux) { in setUx() method in AdServicesManager
664 mService.setUx(ux); in setUx()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/
DUxEngine.java87 mConsentManager.setUx(eligibleUx); in start()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/
DUxStatesDao.java87 public void setUx(@NonNull PrivacySandboxUxCollection ux) { in setUx() method in UxStatesDao
DUxStatesManager.java163 mConsentManager.setUx(PrivacySandboxUxCollection.U18_UX); in isEnrolledUser()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java609 public void setUx(PrivacySandboxUxCollection ux) { in setUx() method in AppSearchConsentManager
610 mAppSearchConsentWorker.setUx(ux); in setUx()
DAppSearchConsentStorageManager.java559 public void setUx(PrivacySandboxUxCollection ux) { in setUx() method in AppSearchConsentStorageManager
560 mAppSearchConsentWorker.setUx(ux); in setUx()
DAppSearchConsentWorker.java741 void setUx(PrivacySandboxUxCollection ux) { in setUx() method in AppSearchConsentWorker
754 dao.setUx(ux.toString()); in setUx()
DAppSearchUxStatesDao.java231 public void setUx(@NonNull String ux) { in setUx() method in AppSearchUxStatesDao
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java666 mAppSearchConsentManager.setUx(ux); in setUxTest()
667 verify(mAppSearchConsentWorker).setUx(ux); in setUxTest()
694 mAppSearchConsentManager.setUx(ux); in uxConformanceTest()
DAppSearchConsentStorageManagerTest.java676 mAppSearchConsentStorageManager.setUx(ux); in setUxTest()
677 verify(mAppSearchConsentWorker).setUx(ux); in setUxTest()
704 mAppSearchConsentStorageManager.setUx(ux); in uxConformanceTest()
DAppSearchConsentWorkerTest.java1277 RuntimeException e = assertThrows(RuntimeException.class, () -> worker.setUx(ux)); in setUxTest_allUxsFailure()
1296 appSearchConsentWorker.setUx(ux); in setUxTest_allUxsSuccess()
1297 verify(dao).setUx(ux.toString()); in setUxTest_allUxsSuccess()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java530 public void setUx(String eligibleUx) { in setUx() method in ConsentManager

12