Home
last modified time | relevance | path

Searched refs:setU18Account (Results 1 – 25 of 44) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/cts/ui/u18ux/debugchannel/src/com/android/adservices/tests/ui/u18ux/debugchannel/
DU18UxDebugChannelTest.java121 .setU18Account(true) in testEntrypointDisabled()
149 .setU18Account(true) in testU18AdultBothTrueAdIdEnabled()
177 .setU18Account(true) in testU18TrueAdultFalseAdIdEnabled()
205 .setU18Account(true) in testU18AdultBothTrueAdIdDisabled()
233 .setU18Account(true) in testU18TrueAdultFalseAdIdDisabled()
261 .setU18Account(false) in testU18AdultBothFalseAdIdDisabled()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/
DUxEngineTest.java151 .setU18Account(true) in startTest_uxDisabled()
185 .setU18Account(true) in startTest_entryPointDisabled()
223 .setU18Account(true) in startTest_u18FeatureDisabled()
261 .setU18Account(isU18Account) in startTest_isNotU18Account()
301 .setU18Account(isU18Account) in startTest_u18UxEligible()
407 .setU18Account(isU18Account) in startTest_gaUxFeatureDisabled()
453 .setU18Account(isU18Account) in startTest_gaUxNotAdultAccount()
497 .setU18Account(isU18Account) in startTest_gaUxEligible()
554 .setU18Account(isU18Account) in startTest_betaUxNotAdultAccount()
604 .setU18Account(isU18Account) in startTest_betaUxEligible()
[all …]
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/graduationchannel/src/com/android/adservices/tests/ui/gaux/graduationchannel/
DGaUxGraduationChannelTest.java142 .setU18Account(true) in testRowU18ToGaAdIdEnabled()
157 .setU18Account(false) in testRowU18ToGaAdIdEnabled()
185 .setU18Account(true) in testRowU18ToBetaAdIdEnabled()
200 .setU18Account(false) in testRowU18ToBetaAdIdEnabled()
/packages/modules/AdServices/adservices/tests/cts/ui/u18ux/detentionchannel/src/com/android/adservices/tests/ui/u18ux/detentionchannel/
DU18UxDetentionChannelTest.java137 .setU18Account(false) in testGaUxU18DetentionChannel()
155 .setU18Account(true) in testGaUxU18DetentionChannel()
/packages/modules/AdServices/adservices/apk/tests/engonly/gaux/graduationchannel/src/com/android/adservices/tests/ui/gaux/graduationchannel/
DExtGaUxGraduationChannelRowTest.java144 .setU18Account(true) in testRowU18ToGaAdIdEnabled()
158 .setU18Account(false) in testRowU18ToGaAdIdEnabled()
/packages/modules/AdServices/adservices/tests/cts/ui/rvcux/alreadyenrolledchannel/src/com/android/adservices/tests/ui/rvcux/alreadyenrolledchannel/
DRvcUxAlreadyEnrolledChannelTest.java118 .setU18Account(false) in testU18NotificationDisplayedForRvcUX_row()
159 .setU18Account(false) in testU18NotificationDisplayedForRvcUX_eu()
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/rpostotachannel/src/com/android/adservices/tests/ui/gaux/rpostotachannel/
DGaUxRvcPostOTAChannelTest.java114 .setU18Account(false) in testU18ToGAForRPostOTA_optInMsmt()
172 .setU18Account(false) in testU18ToGAForRPostOTA_optOutMsmt()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentCompositeStorageTest.java114 consentCompositeStorage.setU18Account(true); in testAllWriteMethods()
156 Mockito.verify(consentStorage).setU18Account(eq(true)); in verifySetMethodCalled()
DAppConsentForRStorageManagerTest.java200 mAppConsentForRStorageManager.setU18Account(true); in testSetIsU18Account()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtilsV2Test.java242 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
305 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
518 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
583 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
DAdExtDataConsentMigrationUtilsTest.java242 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
305 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
514 .setU18Account(TEST_PARAMS_WITH_ALL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
576 .setU18Account(TEST_PARAMS_WITH_PARTIAL_DATA.getIsU18Account() == BOOLEAN_TRUE); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtils.java208 () -> appSearchConsentManager.setU18Account(isU18Account), in migrateAdExtData()
209 () -> adServicesManager.setU18Account(isU18Account)); in migrateAdExtData()
DAdServicesStorageManager.java347 public void setU18Account(boolean isU18Account) { in setU18Account() method in AdServicesStorageManager
348 mAdServicesManager.setU18Account(isU18Account); in setU18Account()
DAppConsentForRStorageManager.java220 public void setU18Account(boolean isU18Account) { in setU18Account() method in AppConsentForRStorageManager
DIConsentStorage.java249 void setU18Account(boolean isU18Account) throws IOException; in setU18Account() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java583 mAppSearchConsentManager.setU18Account(true); in setU18AccountTest_trueBit()
584 verify(mAppSearchConsentWorker).setU18Account(true); in setU18AccountTest_trueBit()
589 mAppSearchConsentManager.setU18Account(false); in setU18AccountTest_falseBit()
590 verify(mAppSearchConsentWorker).setU18Account(false); in setU18AccountTest_falseBit()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesStates.java154 public @NonNull Builder setU18Account(boolean isU18Account) { in setU18Account() method in AdServicesStates.Builder
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl233 void setU18Account(boolean isU18Account); in setU18Account() method
DAdServicesManager.java582 public void setU18Account(boolean isU18Account) { in setU18Account() method in AdServicesManager
584 mService.setU18Account(isU18Account); in setU18Account()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DConsentNotificationResetChannel.java99 consentManager.setU18Account(false); in enroll()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/data/
DUxStatesManagerTest.java110 verify(mMockConsentManager).setU18Account(anyBoolean()); in persistAdServicesStatesTest()
127 verify(mMockConsentManager, never()).setU18Account(anyBoolean()); in persistAdServicesStatesTest_u18User()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java564 public void setU18Account(boolean isU18Account) { in setU18Account() method in AppSearchConsentManager
565 mAppSearchConsentWorker.setU18Account(isU18Account); in setU18Account()
DAppSearchConsentStorageManager.java547 public void setU18Account(boolean isU18Account) { in setU18Account() method in AppSearchConsentStorageManager
548 mAppSearchConsentWorker.setU18Account(isU18Account); in setU18Account()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DConsentNotificationResetChannelTest.java166 verify(mConsentManager).setU18Account(false); in enrollTest()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/
DUxStatesManager.java97 mConsentManager.setU18Account(adServicesStates.isU18Account()); in persistAdServicesStates()

12