Searched refs:DEFAULT_CONSENT (Results 1 – 6 of 6) sorted by relevance
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/ |
D | ConsentManager.java | 69 @VisibleForTesting static final String DEFAULT_CONSENT = "DEFAULT_CONSENT"; field in ConsentManager 271 setValueWithLock(DEFAULT_CONSENT, defaultConsent, /* callerName */ "recordDefaultConsent"); in recordDefaultConsent() 357 return getValueWithLock(DEFAULT_CONSENT); in getDefaultConsent()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ |
D | ConsentConstants.java | 29 public static final String DEFAULT_CONSENT = "DEFAULT_CONSENT"; field in ConsentConstants
|
D | AppConsentStorageManager.java | 451 return Objects.requireNonNullElse(mDatastore.get(ConsentConstants.DEFAULT_CONSENT), false); in getDefaultConsent() 480 mDatastore.put(ConsentConstants.DEFAULT_CONSENT, defaultConsent); in recordDefaultConsent()
|
D | ConsentManager.java | 1231 () -> mDatastore.get(ConsentConstants.DEFAULT_CONSENT), 1233 () -> mAppSearchConsentManager.getConsent(ConsentConstants.DEFAULT_CONSENT), 1335 () -> mDatastore.put(ConsentConstants.DEFAULT_CONSENT, defaultConsent), 1339 ConsentConstants.DEFAULT_CONSENT, defaultConsent), 2127 appSearchConsentManager.getConsent(ConsentConstants.DEFAULT_CONSENT); 2128 datastore.put(ConsentConstants.DEFAULT_CONSENT, defaultConsent);
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchConsentStorageManager.java | 621 return mAppSearchConsentWorker.getConsent(ConsentConstants.DEFAULT_CONSENT); in getDefaultConsent() 646 mAppSearchConsentWorker.setConsent(ConsentConstants.DEFAULT_CONSENT, defaultConsent); in recordDefaultConsent()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerTest.java | 21 import static com.android.adservices.service.consent.ConsentConstants.DEFAULT_CONSENT; 3329 when(mAppSearchConsentManagerMock.getConsent(eq(ConsentConstants.DEFAULT_CONSENT))) in testGetDefaultConsent_AppSearchOnly() 3332 verify(mAppSearchConsentManagerMock).getConsent(eq(ConsentConstants.DEFAULT_CONSENT)); in testGetDefaultConsent_AppSearchOnly() 3457 .setConsent(eq(ConsentConstants.DEFAULT_CONSENT), eq(true)); in testRecordDefaultConsent_AppSearchOnly() 4430 assertThat(mConsentDatastore.get(DEFAULT_CONSENT)).isNull(); in testDefaultConsentRecorded_SystemServerOnly() 4455 assertThat(mConsentDatastore.get(DEFAULT_CONSENT)).isTrue(); in testDefaultConsentRecorded_PpApiAndSystemServer()
|