Home
last modified time | relevance | path

Searched refs:setIsGiven (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/app/adservices/consent/
DConsentParcelTest.java36 new ConsentParcel.Builder().setConsentApiType(ALL_API).setIsGiven(true).build(); in testConsentParcel()
41 new ConsentParcel.Builder().setConsentApiType(TOPICS).setIsGiven(false).build(); in testConsentParcel()
46 new ConsentParcel.Builder().setConsentApiType(FLEDGE).setIsGiven(false).build(); in testConsentParcel()
51 new ConsentParcel.Builder().setConsentApiType(MEASUREMENT).setIsGiven(true).build(); in testConsentParcel()
64 .setIsGiven(true) in testConsentParcel_notSetConsentApiType()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/consent/
DConsentParcel.java109 .setIsGiven(false) in createRevokedConsent()
117 .setIsGiven(true) in createGivenConsent()
135 public @NonNull Builder setIsGiven(Boolean isGiven) { in setIsGiven() method in ConsentParcel.Builder
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DConsentManagerTest.java125 .setIsGiven(null) in testGetAndSetConsent_null()
133 .setIsGiven(null) in testGetAndSetConsent_null()
141 .setIsGiven(null) in testGetAndSetConsent_null()
149 .setIsGiven(null) in testGetAndSetConsent_null()
267 .setIsGiven(true) in testGetConsent_unSetConsentApiType()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java495 .setIsGiven(null) in testGetAndSetConsent_null()
503 .setIsGiven(null) in testGetAndSetConsent_null()
511 .setIsGiven(null) in testGetAndSetConsent_null()
519 .setIsGiven(null) in testGetAndSetConsent_null()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java292 .setIsGiven(isGiven) in setConsent()
DConsentManager.java1744 .setIsGiven(isGiven)
2172 return new ConsentParcel.Builder().setConsentApiType(apiType).setIsGiven(consented).build();
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java145 .setIsGiven(mDatastore.get(getConsentApiTypeKey(consentApiType))) in getConsent()