/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/ |
D | ConsentManagerTest.java | 111 assertThat(consentManager.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetConsent_unSet() 112 assertThat(consentManager.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetConsent_unSet() 113 assertThat(consentManager.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetConsent_unSet() 114 assertThat(consentManager.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetConsent_unSet() 128 assertThat(consentManager.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 136 assertThat(consentManager.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 144 assertThat(consentManager.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 152 assertThat(consentManager.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 161 assertThat(consentManager0.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_nonNull() 164 assertThat(consentManager0.getConsent(ConsentParcel.ALL_API).isIsGiven()).isTrue(); in testGetAndSetConsent_nonNull() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AdServicesCommonServiceImplTest.java | 282 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in isAdservicesEnabledReconsentTest_happycase() 298 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in isAdservicesEnabledReconsentTest_gaUxFeatureDisabled() 315 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in isAdservicesEnabledReconsentTest_deviceNotEu() 332 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in isAdservicesEnabledReconsentTest_gaUxNotificationDisplayed() 349 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in isAdservicesEnabledReconsentTest_sharedPreferenceNotContain() 365 doReturn(AdServicesApiConsent.getConsent(false)).when(mConsentManager).getConsent(); in isAdservicesEnabledReconsentTest_userConsentRevoked() 382 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in setAdservicesEntryPointStatusTest() 424 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in setAdservicesEnabledConsentTest_happycase() 443 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in setAdservicesEnabledConsentTest_ReconsentGaUxFeatureDisabled() 460 doReturn(AdServicesApiConsent.getConsent(true)).when(mConsentManager).getConsent(); in setAdservicesEnabledConsentTest_ReconsentEUDevice() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ |
D | ConsentManager.java | 461 if (getConsent(AdServicesApiType.TOPICS).isGiven() in areAllApisDisabled() 462 || getConsent(AdServicesApiType.MEASUREMENTS).isGiven() in areAllApisDisabled() 463 || getConsent(AdServicesApiType.FLEDGE).isGiven()) { in areAllApisDisabled() 477 public AdServicesApiConsent getConsent() { in getConsent() method in ConsentManager 479 return ConsentManagerV2.getInstance().getConsent(); in getConsent() 487 () -> AdServicesApiConsent.getConsent(mDatastore.get(ConsentConstants.CONSENT_KEY)), in getConsent() 489 AdServicesApiConsent.getConsent( in getConsent() 490 mAdServicesManager.getConsent(ConsentParcel.ALL_API).isIsGiven()), in getConsent() 492 AdServicesApiConsent.getConsent( in getConsent() 493 mAppSearchConsentManager.getConsent( in getConsent() [all …]
|
D | ConsentManagerV2.java | 463 if (getConsent(AdServicesApiType.TOPICS).isGiven() in areAllApisDisabled() 464 || getConsent(AdServicesApiType.MEASUREMENTS).isGiven() in areAllApisDisabled() 465 || getConsent(AdServicesApiType.FLEDGE).isGiven()) { in areAllApisDisabled() 479 public AdServicesApiConsent getConsent() { in getConsent() method in ConsentManagerV2 483 return mConsentCompositeStorage.getConsent(AdServicesApiType.ALL_API); in getConsent() 493 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent() method in ConsentManagerV2 497 return mConsentCompositeStorage.getConsent(apiType); in getConsent() 693 AdServicesApiConsent consent = getConsent(AdServicesApiType.FLEDGE); in isFledgeConsentRevokedForApp() 720 AdServicesApiConsent consent = getConsent(AdServicesApiType.FLEDGE); in isFledgeConsentRevokedForAppAfterSettingFledgeUse() 1103 return mConsentCompositeStorage.getConsent(AdServicesApiType.ALL_API).isGiven(); in getConsentFromSourceOfTruth() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerTest.java | 340 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_PpApiOnly() 361 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_SystemServerOnly() 382 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer() 403 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_AppSearchOnly() 411 verify(mAppSearchConsentManagerMock, atLeastOnce()).getConsent(CONSENT_KEY_FOR_ALL); in testConsentIsGivenAfterEnabling_AppSearchOnly() 424 .getConsent(ConsentParcel.ALL_API); in testConsentManager_LazyEnable() 429 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentManager_LazyEnable() 442 .getConsent(ConsentParcel.ALL_API); in testConsentManager_LazyDisabled() 446 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentManager_LazyDisabled() 459 .getConsent(ConsentParcel.MEASUREMENT); in testConsentManagerPreApi_LazyEnable() [all …]
|
D | AdServicesStorageManagerTest.java | 116 .getConsent(ConsentParcel.ALL_API); in testGetKnownAppsWithConsent() 160 .getConsent(ConsentParcel.ALL_API); in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent() 161 expect.that(mAdServicesStorageManager.getConsent(AdServicesApiType.ALL_API).isGiven()) in testIsFledgeConsentRevokedForAppAfterSetFledgeUseWithFullApiConsent() 206 .getConsent(ConsentParcel.ALL_API); in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled() 207 expect.that(mAdServicesStorageManager.getConsent(AdServicesApiType.ALL_API).isGiven()) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxDisabled() 246 .getConsent(ConsentParcel.FLEDGE); in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled() 248 expect.that(mAdServicesStorageManager.getConsent(AdServicesApiType.FLEDGE).isGiven()) in testIsFledgeConsentRevokedForAppWithFullApiConsentGaUxEnabled() 286 .getConsent(ConsentParcel.ALL_API); in testIsFledgeConsentRevokedForNotFoundAppGaUxDisabledThrows() 287 expect.that(mAdServicesStorageManager.getConsent(AdServicesApiType.ALL_API).isGiven()) in testIsFledgeConsentRevokedForNotFoundAppGaUxDisabledThrows() 302 .getConsent(ConsentParcel.FLEDGE); in testIsFledgeConsentRevokedForNotFoundAppGaUxEnabledThrows() [all …]
|
D | ConsentManagerV2Test.java | 362 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_PpApiOnly() 382 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_SystemServerOnly() 402 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_PPAPIAndSystemServer() 422 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentIsGivenAfterEnabling_AppSearchOnly() 429 verify(mAppSearchConsentManagerMock, atLeastOnce()).getConsent(AdServicesApiType.ALL_API); in testConsentIsGivenAfterEnabling_AppSearchOnly() 441 .getConsent(ConsentParcel.ALL_API); in testConsentManager_LazyEnable() 446 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentManager_LazyEnable() 459 .getConsent(ConsentParcel.ALL_API); in testConsentManager_LazyDisabled() 463 assertThat(spyConsentManager.getConsent().isGiven()).isTrue(); in testConsentManager_LazyDisabled() 476 .getConsent(ConsentParcel.MEASUREMENT); in testConsentManagerPreApi_LazyEnable() [all …]
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewmodels/ |
D | MainViewModel.java | 73 public MutableLiveData<Boolean> getConsent() { in getConsent() method in MainViewModel 125 return mConsentManager.getConsent().isGiven(); in getConsentFromConsentManager() 129 return mConsentManager.getConsent(AdServicesApiType.MEASUREMENTS).isGiven(); in getMeasurementConsentFromConsentManager() 133 return mConsentManager.getConsent(AdServicesApiType.TOPICS).isGiven(); in getTopicsConsentFromConsentManager() 137 return mConsentManager.getConsent(AdServicesApiType.FLEDGE).isGiven(); in getAppsConsentFromConsentManager()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/ |
D | PasReconsentNotificationChannel.java | 56 consentManager.getConsent(AdServicesApiType.FLEDGE).isGiven() in isEligible() 57 || consentManager.getConsent(AdServicesApiType.MEASUREMENTS).isGiven(); in isEligible() 66 if (!(consentManager.getConsent(AdServicesApiType.FLEDGE).isGiven() in enroll() 67 || consentManager.getConsent(AdServicesApiType.MEASUREMENTS).isGiven())) { in enroll()
|
D | PasFirstConsentNotificationChannel.java | 49 (consentManager.getConsent(AdServicesApiType.FLEDGE).isGiven() in isEligible() 50 || consentManager.getConsent(AdServicesApiType.MEASUREMENTS).isGiven()); in isEligible()
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/customaudience/ |
D | CustomAudienceServiceTest.java | 76 verify(mConsentManagerMock, never()).getConsent(); in testBindableCustomAudienceServiceKillSwitchOnGaUxEnabled() 77 verify(mConsentManagerMock, never()).getConsent(any()); in testBindableCustomAudienceServiceKillSwitchOnGaUxEnabled() 92 .getConsent(eq(AdServicesApiType.FLEDGE)); in testBindableCustomAudienceServiceKillSwitchOffGaUxEnabled() 107 verify(mConsentManagerMock, never()).getConsent(); in testBindableCustomAudienceServiceKillSwitchOffGaUxEnabled() 108 verify(mConsentManagerMock).getConsent(eq(AdServicesApiType.FLEDGE)); in testBindableCustomAudienceServiceKillSwitchOffGaUxEnabled()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/ |
D | PasReconsentNotificationChannelTest.java | 102 doReturn(REVOKED).when(mConsentManager).getConsent(any()); in isEligibleTest_pasNotificationAlreadyDisplayed() 121 doReturn(REVOKED).when(mConsentManager).getConsent(any()); in isEligibleTest_NoManualInteraction_consentRevoked_pas() 140 doReturn(REVOKED).when(mConsentManager).getConsent(any()); in isEligibleTest_hasManualInteraction_consentRevoked_pas() 158 doReturn(GIVEN).when(mConsentManager).getConsent(any()); in isEligibleTest_consentGiven_pas() 178 doReturn(REVOKED).when(mConsentManager).getConsent(any()); in isEligibleTest_adultRvcUser_ConsentRevoked_pas() 198 doReturn(GIVEN).when(mConsentManager).getConsent(any()); in isEligibleTest_adultRvcUser_ConsentGiven_pas()
|
D | ReconsentNotificationChannelTest.java | 107 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in isEligibleTest_nonManualOptOutBetaUser() 122 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in isEligibleTest_manualOptOutBetaUser() 137 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in isEligibleTest_unknownOptOutBetaUser() 150 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in isEligibleTest_nonManualOptInBetaUser() 165 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in isEligibleTest_manualOptInBetaUser() 180 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in isEligibleTest_unknownOptInBetaUser()
|
D | PasFirstConsentNotificationChannelTest.java | 109 doReturn(REVOKED).when(mConsentManager).getConsent(any()); in isEligibleTest_NoManualInteraction_consentRevoked_pas() 128 doReturn(REVOKED).when(mConsentManager).getConsent(any()); in isEligibleTest_hasManualInteraction_consentRevoked_pas() 141 doReturn(GIVEN).when(mConsentManager).getConsent(any()); in isEligibleTest_consentGiven_pas()
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/ui/settings/viewmodels/ |
D | MainViewModelTest.java | 57 doReturn(AdServicesApiConsent.GIVEN).when(mConsentManager).getConsent(); in setup() 65 assertTrue(mMainViewModel.getConsent().getValue()); in testGetConsentReturnsTrue() 71 doReturn(AdServicesApiConsent.REVOKED).when(mConsentManager).getConsent(); in testGetConsentReturnsFalse() 75 assertFalse(mMainViewModel.getConsent().getValue()); in testGetConsentReturnsFalse()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/ |
D | UxEngineUtilTest.java | 270 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in getEligibleEnrollmentChannelTest_gaUxManaulOptInBetaUser() 286 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptInBetaUser() 302 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptInBetaUser() 316 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in getEligibleEnrollmentChannelTest_gaUxManaulOptOutBetaUser() 332 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in getEligibleEnrollmentChannelTest_gaUxNoManaulOptOutBetaUser() 348 doReturn(mAdServicesApiConsent).when(mConsentManager).getConsent(); in getEligibleEnrollmentChannelTest_gaUxUnknownOptOutBetaUser() 544 doReturn(AdServicesApiConsent.REVOKED).when(mConsentManager).getConsent(); in startBackgroundTasksUponConsentTest_consentNotGiven() 559 doReturn(AdServicesApiConsent.GIVEN).when(mConsentManager).getConsent(); in startBackgroundTasksUponConsentTest_consentGiven() 576 .getConsent(any(AdServicesApiType.class)); in startBackgroundTasksUponConsentTest_u18UxConsentGiven() 589 doReturn(AdServicesApiConsent.GIVEN).when(mConsentManager).getConsent(); in startBackgroundTasksUponConsentTest_rvcUxConsentGiven() [all …]
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/adselection/ |
D | AdSelectionServiceTest.java | 80 verify(mConsentManagerMock, never()).getConsent(); in testBindableAdSelectionServiceKillSwitchOnGaUxEnabled() 81 verify(mConsentManagerMock, never()).getConsent(any()); in testBindableAdSelectionServiceKillSwitchOnGaUxEnabled() 96 .getConsent(eq(AdServicesApiType.FLEDGE)); in testBindableAdSelectionServiceKillSwitchOffGaUxEnabled() 112 verify(mConsentManagerMock, never()).getConsent(); in testBindableAdSelectionServiceKillSwitchOffGaUxEnabled() 113 verify(mConsentManagerMock).getConsent(eq(AdServicesApiType.FLEDGE)); in testBindableAdSelectionServiceKillSwitchOffGaUxEnabled()
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | AdServicesManagerServiceTest.java | 479 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetConsent_unSet() 480 assertThat(service.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetConsent_unSet() 481 assertThat(service.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetConsent_unSet() 482 assertThat(service.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetConsent_unSet() 498 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 506 assertThat(service.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 514 assertThat(service.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 522 assertThat(service.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 533 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_nonNull() 536 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isTrue(); in testGetAndSetConsent_nonNull() [all …]
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/ |
D | MeasurementServiceTest.java | 131 verify(mMockConsentManager, never()).getConsent(); in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentGiven() 133 .getConsent(eq(AdServicesApiType.MEASUREMENTS)); in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentGiven() 154 verify(mMockConsentManager, never()).getConsent(); in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentRevoked() 156 .getConsent(eq(AdServicesApiType.MEASUREMENTS)); in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentRevoked() 173 verify(mMockConsentManager, never()).getConsent(); in testBindableMeasurementService_killSwitchOn_gaUxEnabled() 174 verify(mMockConsentManager, never()).getConsent(any()); in testBindableMeasurementService_killSwitchOn_gaUxEnabled() 205 .getConsent(eq(AdServicesApiType.MEASUREMENTS)); in runWithMocks()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchConsentStorageManager.java | 178 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent() method in AppSearchConsentStorageManager 180 return AdServicesApiConsent.getConsent( in getConsent() 181 mAppSearchConsentWorker.getConsent(apiType.toAppSearchKey())); in getConsent() 621 return mAppSearchConsentWorker.getConsent(ConsentConstants.DEFAULT_CONSENT); in getDefaultConsent() 626 return mAppSearchConsentWorker.getConsent(ConsentConstants.TOPICS_DEFAULT_CONSENT); in getTopicsDefaultConsent() 631 return mAppSearchConsentWorker.getConsent(ConsentConstants.FLEDGE_DEFAULT_CONSENT); in getFledgeDefaultConsent() 636 return mAppSearchConsentWorker.getConsent(ConsentConstants.MEASUREMENT_DEFAULT_CONSENT); in getMeasurementDefaultConsent() 641 return mAppSearchConsentWorker.getConsent(ConsentConstants.DEFAULT_AD_ID_STATE); in getDefaultAdIdState()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/ |
D | MobileDataDownloadFactory.java | 292 .getConsent(AdServicesApiType.TOPICS) in getTopicsManifestPopulator() 295 return ConsentManager.getInstance().getConsent().isGiven(); in getTopicsManifestPopulator() 376 && (instance.getConsent(AdServicesApiType.MEASUREMENTS).isGiven() 377 || instance.getConsent(AdServicesApiType.TOPICS).isGiven() 378 || instance.getConsent(AdServicesApiType.FLEDGE).isGiven())) { 382 return instance.getConsent().isGiven(); 417 return ConsentManager.getInstance().getConsent().isGiven(); 467 return ConsentManager.getInstance().getConsent().isGiven();
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/ |
D | MobileDataDownloadTest.java | 192 doReturn(AdServicesApiConsent.GIVEN).when(mConsentManager).getConsent(); in setUp() 436 when(mConsentManager.getConsent(AdServicesApiType.MEASUREMENTS)) in testEnrollmentDataDownloadFailOnConsentRevoked_gaUxEnabled() 459 when(mConsentManager.getConsent(AdServicesApiType.MEASUREMENTS)) in testEnrollmentDataDownloadOnConsentGiven_gaUxEnabled() 482 when(mConsentManager.getConsent(AdServicesApiType.TOPICS)) in testMddTopicsFailsOnConsentRevoked_gaUxEnabled() 506 when(mConsentManager.getConsent(AdServicesApiType.TOPICS)) in testMddTopicsOnConsentGiven_gaUxEnabled() 529 when(mConsentManager.getConsent(AdServicesApiType.TOPICS)) in testOtaOnTopicsConsentGiven_gaUxEnabled() 558 when(mConsentManager.getConsent(AdServicesApiType.TOPICS)) in testOtaFailsOnAggregatedConsentRevoked_gaUxEnabled() 560 when(mConsentManager.getConsent(AdServicesApiType.MEASUREMENTS)) in testOtaFailsOnAggregatedConsentRevoked_gaUxEnabled() 562 when(mConsentManager.getConsent(AdServicesApiType.FLEDGE)) in testOtaFailsOnAggregatedConsentRevoked_gaUxEnabled()
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/signals/ |
D | ProtectedSignalsServiceTest.java | 113 .getConsent(eq(AdServicesApiType.FLEDGE)); in testBindableProtectedSignalsServiceKillSwitchOffGaUxEnabled() 128 verify(mConsentManagerMock, never()).getConsent(); in testBindableProtectedSignalsServiceKillSwitchOffGaUxEnabled() 129 verify(mConsentManagerMock).getConsent(eq(AdServicesApiType.FLEDGE)); in testBindableProtectedSignalsServiceKillSwitchOffGaUxEnabled()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | BackgroundFetchJobServiceTest.java | 175 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobConsentRevokedGaUxDisabled() 333 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobUpdateInterruptedHandled() 365 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobUpdateExecutionExceptionHandled() 517 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobCustomAudienceKillSwitchOff() 599 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobUpdateSuccess() 627 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobUpdateTimeoutHandled() 630 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobUpdateTimeoutHandled() 657 .getConsent(AdServicesApiType.FLEDGE); in testOnStartJobConsentRevokedGaUxEnabled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/util/ |
D | UxEngineUtil.java | 83 if (ConsentManager.getInstance().getConsent().isGiven()) { in startBackgroundTasksUponConsent() 90 .getConsent(AdServicesApiType.MEASUREMENTS) in startBackgroundTasksUponConsent()
|