Home
last modified time | relevance | path

Searched refs:wasGaUxNotificationDisplayed (Results 1 – 25 of 49) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/
DUxEngineUtilTest.java248 doReturn(true).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxNotificationAlreadyDisplayed()
258 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxNotificationNeverDisplayed()
268 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxManaulOptInBetaUser()
284 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptInBetaUser()
300 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptInBetaUser()
314 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxManaulOptOutBetaUser()
330 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptOutBetaUser()
346 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptOutBetaUser()
492 doReturn(true).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_u18UxDetention()
531 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in getEligibleEnrollmentChannelTest_unsupportedUxNotificationNeverDisplayed()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java298 public Boolean wasGaUxNotificationDisplayed() { in wasGaUxNotificationDisplayed() method in AppSearchConsentManager
299 return mAppSearchConsentWorker.wasGaUxNotificationDisplayed(); in wasGaUxNotificationDisplayed()
401 || adServicesManager.wasGaUxNotificationDisplayed() in shouldInitConsentDataFromAppSearch()
410 || wasGaUxNotificationDisplayed(); in shouldInitConsentDataFromAppSearch()
464 boolean wasGaUxNotificationDisplayed = wasGaUxNotificationDisplayed(); in migrateConsentDataIfNeeded()
472 if (wasGaUxNotificationDisplayed) { in migrateConsentDataIfNeeded()
480 if (!wasGaUxNotificationDisplayed in migrateConsentDataIfNeeded()
DAppSearchConsentStorageManager.java334 boolean wasGaUxNotificationDisplayed = wasGaUxNotificationDisplayed(); in migrateConsentDataIfNeeded()
342 if (wasGaUxNotificationDisplayed) { in migrateConsentDataIfNeeded()
350 if (!wasGaUxNotificationDisplayed in migrateConsentDataIfNeeded()
574 public boolean wasGaUxNotificationDisplayed() { in wasGaUxNotificationDisplayed() method in AppSearchConsentStorageManager
575 return mAppSearchConsentWorker.wasGaUxNotificationDisplayed(); in wasGaUxNotificationDisplayed()
732 || adServicesManager.wasGaUxNotificationDisplayed() in shouldInitConsentDataFromAppSearch()
741 || wasGaUxNotificationDisplayed(); in shouldInitConsentDataFromAppSearch()
DAppSearchNotificationDao.java81 boolean wasGaUxNotificationDisplayed) { in AppSearchNotificationDao() argument
86 this.mWasGaUxNotificationDisplayed = wasGaUxNotificationDisplayed; in AppSearchNotificationDao()
218 public static boolean wasGaUxNotificationDisplayed( in wasGaUxNotificationDisplayed() method in AppSearchNotificationDao
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java266 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testWasGaUxNotificationDisplayed()
267 assertThat(mAppSearchConsentManager.wasGaUxNotificationDisplayed()).isFalse(); in testWasGaUxNotificationDisplayed()
268 verify(mAppSearchConsentWorker).wasGaUxNotificationDisplayed(); in testWasGaUxNotificationDisplayed()
390 when(mAdServicesManager.wasGaUxNotificationDisplayed()).thenReturn(false); in testShouldInitConsentDataFromAppSearch_notificationWasDisplayedInPPAPI()
405 when(mAdServicesManager.wasGaUxNotificationDisplayed()).thenReturn(false); in testShouldInitConsentDataFromAppSearch_notificationNotDisplayed()
408 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testShouldInitConsentDataFromAppSearch_notificationNotDisplayed()
431 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testMigrateConsentData_notificationNotDisplayed_u18MigrationDisabled()
444 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testMigrateConsentData_notificationNotDisplayed_u18MigrationEnabled()
459 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testMigrateConsentData_u18UxNotificationDisplayed_u18MigrationEnabled()
481 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(true); in testMigrateConsentData()
[all …]
DAppSearchConsentStorageManagerTest.java261 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testWasGaUxNotificationDisplayed()
262 expect.that(mAppSearchConsentStorageManager.wasGaUxNotificationDisplayed()).isFalse(); in testWasGaUxNotificationDisplayed()
263 verify(mAppSearchConsentWorker).wasGaUxNotificationDisplayed(); in testWasGaUxNotificationDisplayed()
383 when(mAdServicesStorageManager.wasGaUxNotificationDisplayed()).thenReturn(false); in testShouldInitConsentDataFromAppSearch_notificationWasDisplayedInPPAPI()
398 when(mAdServicesStorageManager.wasGaUxNotificationDisplayed()).thenReturn(false); in testShouldInitConsentDataFromAppSearch_notificationNotDisplayed()
401 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testShouldInitConsentDataFromAppSearch_notificationNotDisplayed()
424 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testMigrateConsentData_notificationNotDisplayed_u18MigrationDisabled()
437 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testMigrateConsentData_notificationNotDisplayed_u18MigrationEnabled()
452 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(false); in testMigrateConsentData_u18UxNotificationDisplayed_u18MigrationEnabled()
474 when(mAppSearchConsentWorker.wasGaUxNotificationDisplayed()).thenReturn(true); in testMigrateConsentData()
[all …]
DAppSearchNotificationDaoTest.java166 AppSearchNotificationDao.wasGaUxNotificationDisplayed( in testGaUxWasNotificationDisplayed_null()
182 AppSearchNotificationDao.wasGaUxNotificationDisplayed( in testWasGaUxNotificationDisplayed()
196 AppSearchNotificationDao.wasGaUxNotificationDisplayed( in testWasGaUxNotificationDisplayed()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DAlreadyEnrolledChannel.java52 return consentManager.wasGaUxNotificationDisplayed() in isEligible()
66 return consentManager.wasGaUxNotificationDisplayed() in isManuallyOptedOutOfPaAndMsmt()
86 if (!consentManager.wasGaUxNotificationDisplayed() in enroll()
DFirstConsentNotificationChannel.java40 || consentManager.wasGaUxNotificationDisplayed() in isEligible()
DU18DetentionChannel.java42 && consentManager.wasGaUxNotificationDisplayed(); in isEligible()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java281 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isAdservicesEnabledReconsentTest_happycase()
297 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isAdservicesEnabledReconsentTest_gaUxFeatureDisabled()
313 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isAdservicesEnabledReconsentTest_deviceNotEu()
331 doReturn(true).when(mConsentManager).wasGaUxNotificationDisplayed(); in isAdservicesEnabledReconsentTest_gaUxNotificationDisplayed()
347 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isAdservicesEnabledReconsentTest_sharedPreferenceNotContain()
364 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isAdservicesEnabledReconsentTest_userConsentRevoked()
380 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in setAdservicesEntryPointStatusTest()
421 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in setAdservicesEnabledConsentTest_happycase()
440 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in setAdservicesEnabledConsentTest_ReconsentGaUxFeatureDisabled()
458 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in setAdservicesEnabledConsentTest_ReconsentEUDevice()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtilsV2Test.java193 verify(mAppSearchConsentManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithNoNotifOnR_skipsMigration()
229 verify(mAppSearchConsentManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
292 verify(mAppSearchConsentManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
467 verify(mAdServicesManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithNoNotifOnR_skipsMigration()
504 verify(mAdServicesManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
569 verify(mAdServicesManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeededV2_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
610 when(mAppSearchConsentManagerMock.wasGaUxNotificationDisplayed()).thenReturn(false); in mockNoNotifOnS()
616 when(mAdServicesManagerMock.wasGaUxNotificationDisplayed()).thenReturn(false); in mockNoNotifOnT()
DAdExtDataConsentMigrationUtilsTest.java193 verify(mAppSearchConsentManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithNoNotifOnR_skipsMigration()
229 verify(mAppSearchConsentManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
292 verify(mAppSearchConsentManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeeded_onSWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
466 verify(mAdServicesManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithNoNotifOnR_skipsMigration()
503 verify(mAdServicesManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithFullData_migrationSuccessWithAdExtDataCleared()
565 verify(mAdServicesManagerMock).wasGaUxNotificationDisplayed(); in testHandleConsentMigrationFromAdExtDataIfNeeded_onTWithMigrationEligibleWithPartialDataWithFailedSharedPrefUpdate_migrationSuccessWithAdExtDataCleared()
603 when(mAppSearchConsentManagerMock.wasGaUxNotificationDisplayed()).thenReturn(false); in mockNoNotifOnS()
609 when(mAdServicesManagerMock.wasGaUxNotificationDisplayed()).thenReturn(false); in mockNoNotifOnT()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/dao/
DAppSearchNotificationDao.java40 boolean wasGaUxNotificationDisplayed) { in AppSearchNotificationDao() argument
45 this.mWasGaUxNotificationDisplayed = wasGaUxNotificationDisplayed; in AppSearchNotificationDao()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DU18DetentionChannelTest.java102 doReturn(true).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_detainedGaUser()
126 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_nonU18User()
138 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_nonBetUxCheck()
DFirstConsentNotificationChannelTest.java64 doReturn(true).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_gaNotificationAlreadyDisplayed()
100 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_noNotificationEverDisplayed()
DAlreadyEnrolledChannelTest.java58 doReturn(true).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_gaUxGaNotificationAlreadyDisplayed()
70 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_gaUxGaNotificationNotDisplayed()
DPasFirstConsentNotificationChannelTest.java102 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
121 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_hasManualInteraction_consentRevoked_pas()
DPasReconsentNotificationChannelTest.java114 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
133 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in isEligibleTest_hasManualInteraction_consentRevoked_pas()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/data/
DUxStatesManagerTest.java220 doReturn(true).when(mMockConsentManager).wasGaUxNotificationDisplayed(); in isEnrolledUserTest_gaNoticeDisplayed()
253 doReturn(false).when(mMockConsentManager).wasGaUxNotificationDisplayed(); in isEnrolledUserTest_noNoticeDisplayed()
267 doReturn(false).when(mMockConsentManager).wasGaUxNotificationDisplayed(); in isEnrolledUserTest_supervisedAccount()
292 doReturn(false).when(mMockConsentManager).wasGaUxNotificationDisplayed(); in isEnrolledUserTest_supervisedAccount_initial()
315 doReturn(false).when(mMockConsentManager).wasGaUxNotificationDisplayed(); in isEnrolledUserTest_supervisedAccountFlagDisabled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/access/
DConsentNotifiedAccessResolverTest.java59 doReturn(false).when(mConsentManager).wasGaUxNotificationDisplayed(); in setup()
72 doReturn(true).when(mConsentManager).wasGaUxNotificationDisplayed(); in isAllowed_returnsTrueWhenGaUXNotificationDisplayed()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtils.java291 || adServicesManager.wasGaUxNotificationDisplayed(); in isNotificationShownOnTPlus()
298 || appSearchConsentManager.wasGaUxNotificationDisplayed(); in isNotificationShownOnS()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java2312 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isFalse(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2314 verify(mMockIAdServicesManager, never()).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2318 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isTrue(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2320 verify(mMockIAdServicesManager, never()).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2331 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isFalse(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2333 verify(mMockIAdServicesManager).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2335 doReturn(true).when(mMockIAdServicesManager).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2338 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isTrue(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2340 verify(mMockIAdServicesManager, times(2)).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2355 Boolean wasGaUxNotificationDisplayed = spyConsentManager.wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_PpApiAndSystemServer() local
[all …]
DConsentManagerTest.java2392 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isFalse(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2394 verify(mMockIAdServicesManager, never()).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2398 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isTrue(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2400 verify(mMockIAdServicesManager, never()).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_PpApiOnly()
2411 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isFalse(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2413 verify(mMockIAdServicesManager).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2415 doReturn(true).when(mMockIAdServicesManager).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2418 assertThat(spyConsentManager.wasGaUxNotificationDisplayed()).isTrue(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2420 verify(mMockIAdServicesManager, times(2)).wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_SystemServerOnly()
2435 Boolean wasGaUxNotificationDisplayed = spyConsentManager.wasGaUxNotificationDisplayed(); in testGaUxNotificationDisplayedRecorded_PpApiAndSystemServer() local
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/
DConsentNotifiedAccessResolver.java71 || mConsentManager.wasGaUxNotificationDisplayed() in getAccessInfo()

12