Home
last modified time | relevance | path

Searched refs:isAdIdEnabled (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesStates.java57 boolean isAdIdEnabled) { in AdServicesStates() argument
62 mIsAdIdEnabled = isAdIdEnabled; in AdServicesStates()
104 public boolean isAdIdEnabled() { in isAdIdEnabled() method in AdServicesStates
166 public @NonNull Builder setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
167 mIsAdIdEnabled = isAdIdEnabled; in setAdIdEnabled()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DMeasurementCompatibleManager.java58 void onAdIdCallback(boolean isAdIdEnabled, @Nullable String adIdValue); in onAdIdCallback() argument
220 (isAdIdEnabled, adIdValue) -> in registerSource()
222 builder.setAdIdPermissionGranted(isAdIdEnabled) in registerSource()
283 (isAdIdEnabled, adIdValue) -> { in registerSource() argument
358 (isAdIdEnabled, adIdValue) -> in registerWebSource()
360 builder.setAdIdPermissionGranted(isAdIdEnabled).build(), in registerWebSource()
443 (isAdIdEnabled, adIdValue) -> in registerWebTrigger()
445 builder.setAdIdPermissionGranted(isAdIdEnabled).build(), in registerWebTrigger()
506 (isAdIdEnabled, adIdValue) -> in registerTrigger()
508 builder.setAdIdPermissionGranted(isAdIdEnabled) in registerTrigger()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchUxStatesDao.java80 boolean isAdIdEnabled, in AppSearchUxStatesDao() argument
92 this.mIsAdIdEnabled = isAdIdEnabled; in AppSearchUxStatesDao()
206 public boolean isAdIdEnabled() { in isAdIdEnabled() method in AppSearchUxStatesDao
211 public void setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
212 mIsAdIdEnabled = isAdIdEnabled; in setAdIdEnabled()
337 return dao.isAdIdEnabled(); in readIsAdIdEnabled()
DAppSearchConsentManager.java554 public void setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
555 mAppSearchConsentWorker.setAdIdEnabled(isAdIdEnabled); in setAdIdEnabled()
559 public Boolean isAdIdEnabled() { in isAdIdEnabled() method in AppSearchConsentManager
560 return mAppSearchConsentWorker.isAdIdEnabled(); in isAdIdEnabled()
DAppSearchConsentStorageManager.java236 public boolean isAdIdEnabled() { in isAdIdEnabled() method in AppSearchConsentStorageManager
237 return mAppSearchConsentWorker.isAdIdEnabled(); in isAdIdEnabled()
439 public void setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
440 mAppSearchConsentWorker.setAdIdEnabled(isAdIdEnabled); in setAdIdEnabled()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/
DUxEngineTest.java306 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_u18UxEligible()
356 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_rvcSelected()
412 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_gaUxFeatureDisabled()
458 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_gaUxNotAdultAccount()
502 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_gaUxEligible()
559 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_betaUxNotAdultAccount()
609 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_betaUxEligible()
667 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_betaUxEligible_entryPointEnabled()
724 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_gaGraduation()
772 doReturn(adIdEnabled).when(mConsentManager).isAdIdEnabled(); in startTest_u18Detention()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java207 public boolean isAdIdEnabled() { in isAdIdEnabled() method in AdServicesStorageManager
208 return mAdServicesManager.isAdIdEnabled(); in isAdIdEnabled()
276 public void setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
277 mAdServicesManager.setAdIdEnabled(isAdIdEnabled); in setAdIdEnabled()
DIConsentStorage.java139 boolean isAdIdEnabled() throws IOException; in isAdIdEnabled() method
180 void setAdIdEnabled(boolean isAdIdEnabled) throws IOException; in setAdIdEnabled() argument
DAppConsentStorageManager.java217 public boolean isAdIdEnabled() { in isAdIdEnabled() method in AppConsentStorageManager
223 public void setAdIdEnabled(boolean isAdIdEnabled) throws IOException { in setAdIdEnabled() argument
224 mDatastore.put(ConsentConstants.IS_AD_ID_ENABLED, isAdIdEnabled); in setAdIdEnabled()
DConsentCompositeStorage.java380 public boolean isAdIdEnabled() { in isAdIdEnabled() method in ConsentCompositeStorage
383 return storage.isAdIdEnabled(); in isAdIdEnabled()
398 public void setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
401 storage.setAdIdEnabled(isAdIdEnabled); in setAdIdEnabled()
DConsentManager.java2204 public Boolean isAdIdEnabled() {
2206 return ConsentManagerV2.getInstance().isAdIdEnabled();
2211 () -> mAdServicesManager.isAdIdEnabled(),
2212 () -> mAppSearchConsentManager.isAdIdEnabled(),
2218 public void setAdIdEnabled(boolean isAdIdEnabled) {
2220 ConsentManagerV2.getInstance().setAdIdEnabled(isAdIdEnabled);
2224 () -> mDatastore.put(ConsentConstants.IS_AD_ID_ENABLED, isAdIdEnabled),
2225 () -> mAdServicesManager.setAdIdEnabled(isAdIdEnabled),
2226 () -> mAppSearchConsentManager.setAdIdEnabled(isAdIdEnabled),
2228 () -> mDatastore.put(ConsentConstants.IS_AD_ID_ENABLED, isAdIdEnabled),
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl224 boolean isAdIdEnabled(); in isAdIdEnabled() method
227 void setAdIdEnabled(boolean isAdIdEnabled); in setAdIdEnabled() argument
DAdServicesManager.java552 public boolean isAdIdEnabled() { in isAdIdEnabled() method in AdServicesManager
554 return mService.isAdIdEnabled(); in isAdIdEnabled()
562 public void setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
564 mService.setAdIdEnabled(isAdIdEnabled); in setAdIdEnabled()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DFirstConsentNotificationChannelTest.java121 doReturn(true).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdEnabledFirstConsentNotification()
130 doReturn(false).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdDisabledFirstConsentNotification()
DConsentNotificationDebugChannelTest.java110 doReturn(false).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdDisabledConsentNotification()
123 doReturn(true).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdEnabledConsentNotification()
DReconsentNotificationChannelTest.java192 doReturn(false).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdDisabledConsentNotification()
205 doReturn(true).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdEnabledConsentNotification()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DConsentNotificationJobService.java223 mConsentManager.recordDefaultAdIdState(mConsentManager.isAdIdEnabled()); in onStartJob()
225 !mConsentManager.isAdIdEnabled() || mUxStatesManager.isEeaDevice(); in onStartJob()
229 mConsentManager.isAdIdEnabled(), mUxStatesManager.isEeaDevice(), isEeaNotification); in onStartJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManagerTest.java567 private void setAdIdEnabledTest(boolean isAdIdEnabled) { in setAdIdEnabledTest() argument
568 mAppSearchConsentStorageManager.setAdIdEnabled(isAdIdEnabled); in setAdIdEnabledTest()
569 verify(mAppSearchConsentWorker).setAdIdEnabled(isAdIdEnabled); in setAdIdEnabledTest()
574 when(mAppSearchConsentWorker.isAdIdEnabled()).thenReturn(false); in isAdIdEnabledTest_defaultFalseBit()
575 expect.that(mAppSearchConsentStorageManager.isAdIdEnabled()).isFalse(); in isAdIdEnabledTest_defaultFalseBit()
576 verify(mAppSearchConsentWorker).isAdIdEnabled(); in isAdIdEnabledTest_defaultFalseBit()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentCompositeStorageTest.java84 consentCompositeStorage.isAdIdEnabled(); in testAllReadMethods()
125 Mockito.verify(consentStorage).isAdIdEnabled(); in verifyReadMethods()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java464 public boolean isAdIdEnabled() { in isAdIdEnabled() method in ConsentManager
469 public void setAdIdEnabled(boolean isAdIdEnabled) { in setAdIdEnabled() argument
470 setValueWithLock(IS_AD_ID_ENABLED, isAdIdEnabled, /* callerName */ "setAdIdEnabled"); in setAdIdEnabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DConsentNotificationDebugChannel.java49 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
DFirstConsentNotificationChannel.java49 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
DReconsentNotificationChannel.java51 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
DRvcPostOTAChannel.java54 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
DPasFirstConsentNotificationChannel.java60 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()

12