Home
last modified time | relevance | path

Searched refs:getUserManualInteractionWithConsent (Results 1 – 25 of 35) 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.java118 .getUserManualInteractionWithConsent(); in isEligibleTest_alreadyInteractedFlagOff()
132 .getUserManualInteractionWithConsent(); in isEligibleTest_alreadyInteracted()
DPasFirstConsentNotificationChannelTest.java108 .getUserManualInteractionWithConsent(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
127 .getUserManualInteractionWithConsent(); in isEligibleTest_hasManualInteraction_consentRevoked_pas()
DPasReconsentNotificationChannelTest.java118 .getUserManualInteractionWithConsent(); in isEligibleTest_NoManualInteraction_consentRevoked_pas()
137 .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.java2805 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeeded()
2873 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeededSharedPrefsEditorUnsuccessful()
3221 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_PpApiOnly()
3223 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3227 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_PpApiOnly()
3230 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3241 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3243 verify(mMockIAdServicesManager).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3247 .getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3250 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_SystemServerOnly()
[all …]
DConsentManagerTest.java2928 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeeded()
3008 when(mAppSearchConsentManagerMock.getUserManualInteractionWithConsent()) in testHandleConsentMigrationFromAppSearchIfNeededSharedPrefsEditorUnsuccessful()
3486 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_PpApiOnly()
3488 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3492 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_PpApiOnly()
3495 verify(mMockIAdServicesManager, never()).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_PpApiOnly()
3506 assertThat(spyConsentManager.getUserManualInteractionWithConsent()).isEqualTo(UNKNOWN); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3508 verify(mMockIAdServicesManager).getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3512 .getUserManualInteractionWithConsent(); in testManualInteractionWithConsentRecorded_SystemServerOnly()
3515 assertThat(spyConsentManager.getUserManualInteractionWithConsent()) in testManualInteractionWithConsentRecorded_SystemServerOnly()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/
DUxEngineUtilTest.java275 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxManaulOptInBetaUser()
291 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptInBetaUser()
305 doReturn(UNKNOWN).when(mConsentManager).getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptInBetaUser()
321 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxManaulOptOutBetaUser()
337 .getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptOutBetaUser()
351 doReturn(UNKNOWN).when(mConsentManager).getUserManualInteractionWithConsent(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptOutBetaUser()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DAlreadyEnrolledChannel.java66 && consentManager.getUserManualInteractionWithConsent() in isManuallyOptedOutOfPaAndMsmt()
79 && consentManager.getUserManualInteractionWithConsent() in isPreNotificationManualUser()
DReconsentNotificationChannel.java43 || consentManager.getUserManualInteractionWithConsent() in isEligible()
DPasFirstConsentNotificationChannel.java52 && consentManager.getUserManualInteractionWithConsent() in isEligible()
DPasReconsentNotificationChannel.java54 consentManager.getUserManualInteractionWithConsent() in isEligible()
/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()
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()
DConsentManagerV2.java785 public @UserManualInteraction int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in ConsentManagerV2
786 return mConsentCompositeStorage.getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent()
1165 appSearchConsentStorageManager.getUserManualInteractionWithConsent(); in handleConsentMigrationFromAppSearchIfNeeded()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DConsentManagerTest.java301 assertThat(mConsentManager.getUserManualInteractionWithConsent()).isEqualTo(1); in testSetUserManualInteractionWithConsentToTrue()
308 assertThat(mConsentManager.getUserManualInteractionWithConsent()).isEqualTo(-1); in testSetUserManualInteractionWithConsentToFalse()
315 assertThat(mConsentManager.getUserManualInteractionWithConsent()).isEqualTo(0); in testSetUserManualInteractionWithConsentToUnknown()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl124 int getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent() method
DAdServicesManager.java212 public int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in AdServicesManager
214 return mService.getUserManualInteractionWithConsent(); in getUserManualInteractionWithConsent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java328 public @ConsentManager.UserManualInteraction int getUserManualInteractionWithConsent() { in getUserManualInteractionWithConsent() method in AppSearchConsentManager
329 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/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java290 when(mAppSearchConsentWorker.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
292 assertThat(mAppSearchConsentManager.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
294 verify(mAppSearchConsentWorker).getUserManualInteractionWithConsent(); in testGetUserManualInteractionsWithConsent()
DAppSearchConsentStorageManagerTest.java284 when(mAppSearchConsentWorker.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
286 expect.that(mAppSearchConsentStorageManager.getUserManualInteractionWithConsent()) in testGetUserManualInteractionsWithConsent()
288 verify(mAppSearchConsentWorker).getUserManualInteractionWithConsent(); in testGetUserManualInteractionsWithConsent()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationTrigger.java293 && consentManager.getUserManualInteractionWithConsent() in recordNotificationDisplayed()
419 || consentManager.getUserManualInteractionWithConsent() in isPasRenotifyUser()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/ganotifications/
DConsentNotificationGaV2Screen1Fragment.java82 if (ConsentManager.getInstance().getUserManualInteractionWithConsent() in onViewCreated()

12