Home
last modified time | relevance | path

Searched refs:getUserManualInteractionWithConsent (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DReconsentNotificationChannelTest.java111 .getUserManualInteractionWithConsent(); in isEligibleTest_nonManualOptOutBetaUser()
126 .getUserManualInteractionWithConsent(); in isEligibleTest_manualOptOutBetaUser()
139 doReturn(UNKNOWN).when(mConsentManager).getUserManualInteractionWithConsent(); in isEligibleTest_unknownOptOutBetaUser()
154 .getUserManualInteractionWithConsent(); in isEligibleTest_nonManualOptInBetaUser()
169 .getUserManualInteractionWithConsent(); in isEligibleTest_manualOptInBetaUser()
182 doReturn(UNKNOWN).when(mConsentManager).getUserManualInteractionWithConsent(); in isEligibleTest_unknownOptInBetaUser()
DAlreadyEnrolledChannelTest.java120 .getUserManualInteractionWithConsent(); in isEligibleTest_alreadyInteractedFlagOff()
134 .getUserManualInteractionWithConsent(); in isEligibleTest_alreadyInteracted()
DPasFirstConsentNotificationChannelTest.java108 .getUserManualInteractionWithConsent(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
127 .getUserManualInteractionWithConsent(); in isEligibleTest_hasManualInteraction_consentRevoked_pas()
DPasReconsentNotificationChannelTest.java120 .getUserManualInteractionWithConsent(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
139 .getUserManualInteractionWithConsent(); in isEligibleTest_hasManualInteraction_consentRevoked_pas()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DAdServicesStorageManagerTest.java316 expect.that(mAdServicesStorageManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded()
319 verify(mMockIAdServicesManager).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded()
323 .getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded()
327 expect.that(mAdServicesStorageManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded()
330 verify(mMockIAdServicesManager, times(2)).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded()
DConsentManagerV2Test.java2888 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeeded()
2950 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeededSharedPrefsEditorUnsuccessful()
3350 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_PpApiOnly()
3352 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3356 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_PpApiOnly()
3359 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3370 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3372 verify(mMockIAdServicesManager).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3376 .getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3379 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_SystemServerOnly()
[all …]
DConsentManagerTest.java2951 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeeded()
3023 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeededSharedPrefsEditorUnsuccessful()
3634 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_PpApiOnly()
3636 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3640 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_PpApiOnly()
3643 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3654 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3656 verify(mMockIAdServicesManager).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3660 .getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3663 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_SystemServerOnly()
[all …]
DAppConsentForRStorageManagerTest.java157 mAppConsentForRStorageManager.getUserManualInteractionWithConsent(); in testGetUserManualInteractionWithConsent()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/
DUxEngineUtilTest.java274 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxManaulOptInBetaUser()
290 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptInBetaUser()
304 doReturn(UNKNOWN).when(mConsentManager).getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptInBetaUser()
320 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxManaulOptOutBetaUser()
336 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptOutBetaUser()
350 doReturn(UNKNOWN).when(mConsentManager).getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptOutBetaUser()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DAlreadyEnrolledChannel.java67 && consentManager.getUserManualInteractionWithConsent() in isManuallyOptedOutOfPaAndMsmt()
80 && consentManager.getUserManualInteractionWithConsent() in isPreNotificationManualUser()
DReconsentNotificationChannel.java43 || consentManager.getUserManualInteractionWithConsent() in isEligible()
DPasFirstConsentNotificationChannel.java52 && consentManager.getUserManualInteractionWithConsent() in isEligible()
DPasReconsentNotificationChannel.java59 consentManager.getUserManualInteractionWithConsent() in isEligible()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DConsentManagerTest.java317 assertThat(consentManager.getUserManualInteractionWithConsent()).isEqualTo(1); in testSetUserManualInteractionWithConsentToTrue()
327 assertThat(consentManager.getUserManualInteractionWithConsent()).isEqualTo(-1); in testSetUserManualInteractionWithConsentToFalse()
337 assertThat(consentManager.getUserManualInteractionWithConsent()).isEqualTo(0); in testSetUserManualInteractionWithConsentToUnknown()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java195 public int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in AdServicesStorageManager
196 return mAdServicesManager.getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent()
DAppConsentForRStorageManager.java121 public int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in AppConsentForRStorageManager
DIConsentStorage.java132 int getUserManualInteractionWithConsent() throws IOException; in getUserManualInteractionWithConsent() method
DConsentCompositeStorage.java328 public int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in ConsentCompositeStorage
331 return storage.getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl121 int getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent() method
DAdServicesManager.java163 public int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in AdServicesManager
165 return mService.getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java319 public @ConsentManager.UserManualInteraction int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in AppSearchConsentManager
320 return mAppSearchConsentWorker.getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent()
DAppSearchConsentStorageManager.java224 public int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in AppSearchConsentStorageManager
225 return mAppSearchConsentWorker.getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationTrigger.java106 && consentManager.getUserManualInteractionWithConsent() in recordNotificationDisplayed()
245 || consentManager.getUserManualInteractionWithConsent() in isPasRenotifyUser()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java291 when(mAppSearchConsentWorker.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
293 assertThat(mAppSearchConsentManager.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
295 verify(mAppSearchConsentWorker).getUserManualInteractionWithConsent(); in testGetUserManualInteractionsWithConsent()
DAppSearchConsentStorageManagerTest.java286 when(mAppSearchConsentWorker.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
288 expect.that(mAppSearchConsentStorageManager.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
290 verify(mAppSearchConsentWorker).getUserManualInteractionWithConsent(); in testGetUserManualInteractionsWithConsent()

12