Home
last modified time | relevance | path

Searched refs:setConsentApiType (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()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/consent/
DConsentParcel.java108 .setConsentApiType(consentApiType) in createRevokedConsent()
116 .setConsentApiType(consentApiType) in createGivenConsent()
129 public @NonNull Builder setConsentApiType(@ConsentApiType int consentApiType) { in setConsentApiType() method in ConsentParcel.Builder
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DConsentManagerTest.java124 .setConsentApiType(ConsentParcel.ALL_API) in testGetAndSetConsent_null()
132 .setConsentApiType(ConsentParcel.TOPICS) in testGetAndSetConsent_null()
140 .setConsentApiType(ConsentParcel.FLEDGE) in testGetAndSetConsent_null()
148 .setConsentApiType(ConsentParcel.MEASUREMENT) in testGetAndSetConsent_null()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java494 .setConsentApiType(ConsentParcel.ALL_API) in testGetAndSetConsent_null()
502 .setConsentApiType(ConsentParcel.TOPICS) in testGetAndSetConsent_null()
510 .setConsentApiType(ConsentParcel.FLEDGE) in testGetAndSetConsent_null()
518 .setConsentApiType(ConsentParcel.MEASUREMENT) in testGetAndSetConsent_null()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java291 .setConsentApiType(apiType.toConsentApiType()) in setConsent()
DConsentManager.java1743 .setConsentApiType(ConsentParcel.ALL_API)
2172 return new ConsentParcel.Builder().setConsentApiType(apiType).setIsGiven(consented).build();
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java144 .setConsentApiType(consentApiType) in getConsent()