/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | AdServicesStates.java | 57 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/ |
D | MeasurementCompatibleManager.java | 58 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/ |
D | AppSearchUxStatesDao.java | 80 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()
|
D | AppSearchConsentManager.java | 554 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()
|
D | AppSearchConsentStorageManager.java | 236 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/ |
D | UxEngineTest.java | 306 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/ |
D | AdServicesStorageManager.java | 207 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()
|
D | IConsentStorage.java | 139 boolean isAdIdEnabled() throws IOException; in isAdIdEnabled() method 180 void setAdIdEnabled(boolean isAdIdEnabled) throws IOException; in setAdIdEnabled() argument
|
D | AppConsentStorageManager.java | 217 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()
|
D | ConsentCompositeStorage.java | 380 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()
|
D | ConsentManager.java | 2204 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/ |
D | IAdServicesManager.aidl | 224 boolean isAdIdEnabled(); in isAdIdEnabled() method 227 void setAdIdEnabled(boolean isAdIdEnabled); in setAdIdEnabled() argument
|
D | AdServicesManager.java | 552 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/ |
D | FirstConsentNotificationChannelTest.java | 121 doReturn(true).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdEnabledFirstConsentNotification() 130 doReturn(false).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdDisabledFirstConsentNotification()
|
D | ConsentNotificationDebugChannelTest.java | 110 doReturn(false).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdDisabledConsentNotification() 123 doReturn(true).when(mConsentManager).isAdIdEnabled(); in enrollTest_adIdEnabledConsentNotification()
|
D | ReconsentNotificationChannelTest.java | 192 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/ |
D | ConsentNotificationJobService.java | 223 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/ |
D | AppSearchConsentStorageManagerTest.java | 567 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/ |
D | ConsentCompositeStorageTest.java | 84 consentCompositeStorage.isAdIdEnabled(); in testAllReadMethods() 125 Mockito.verify(consentStorage).isAdIdEnabled(); in verifyReadMethods()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/ |
D | ConsentManager.java | 464 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/ |
D | ConsentNotificationDebugChannel.java | 49 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
|
D | FirstConsentNotificationChannel.java | 49 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
|
D | ReconsentNotificationChannel.java | 51 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
|
D | RvcPostOTAChannel.java | 54 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
|
D | PasFirstConsentNotificationChannel.java | 60 /* adidEnabled= */ consentManager.isAdIdEnabled(), in enroll()
|