Home
last modified time | relevance | path

Searched refs:DEFAULT_AD_ID_STATE (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java78 @VisibleForTesting static final String DEFAULT_AD_ID_STATE = "DEFAULT_AD_ID_STATE"; field in ConsentManager
301 DEFAULT_AD_ID_STATE, defaultAdIdState, /* callerName */ "recordDefaultAdIdState"); in recordDefaultAdIdState()
394 return getValueWithLock(DEFAULT_AD_ID_STATE); in getDefaultAdIdState()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentConstants.java37 public static final String DEFAULT_AD_ID_STATE = "DEFAULT_AD_ID_STATE"; field in ConsentConstants
DAppConsentStorageManager.java475 mDatastore.get(ConsentConstants.DEFAULT_AD_ID_STATE), false); in getDefaultAdIdState()
500 mDatastore.put(ConsentConstants.DEFAULT_AD_ID_STATE, defaultAdIdState); in recordDefaultAdIdState()
DConsentManager.java1321 () -> mDatastore.get(ConsentConstants.DEFAULT_AD_ID_STATE),
1323 () -> mAppSearchConsentManager.getConsent(ConsentConstants.DEFAULT_AD_ID_STATE),
1324 () -> mDatastore.get(ConsentConstants.DEFAULT_AD_ID_STATE),
1422 () -> mDatastore.put(ConsentConstants.DEFAULT_AD_ID_STATE, defaultAdIdState),
1426 ConsentConstants.DEFAULT_AD_ID_STATE, defaultAdIdState),
1428 mDatastore.put(ConsentConstants.DEFAULT_AD_ID_STATE, defaultAdIdState),
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentStorageManager.java641 return mAppSearchConsentWorker.getConsent(ConsentConstants.DEFAULT_AD_ID_STATE); in getDefaultAdIdState()
667 mAppSearchConsentWorker.setConsent(ConsentConstants.DEFAULT_AD_ID_STATE, defaultAdIdState); in recordDefaultAdIdState()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerTest.java3429 when(mAppSearchConsentManagerMock.getConsent(eq(ConsentConstants.DEFAULT_AD_ID_STATE))) in testGetDefaultAdIdState_AppSearchOnly()
3432 verify(mAppSearchConsentManagerMock).getConsent(eq(ConsentConstants.DEFAULT_AD_ID_STATE)); in testGetDefaultAdIdState_AppSearchOnly()
3539 .setConsent(eq(ConsentConstants.DEFAULT_AD_ID_STATE), eq(true)); in testRecordDefaultAdIdState_AppSearchOnly()