Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DConsentManagerTest.java111 assertThat(consentManager.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetConsent_unSet()
112 assertThat(consentManager.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetConsent_unSet()
113 assertThat(consentManager.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetConsent_unSet()
114 assertThat(consentManager.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetConsent_unSet()
128 assertThat(consentManager.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
136 assertThat(consentManager.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
144 assertThat(consentManager.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
152 assertThat(consentManager.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
161 assertThat(consentManager0.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_nonNull()
164 assertThat(consentManager0.getConsent(ConsentParcel.ALL_API).isIsGiven()).isTrue(); in testGetAndSetConsent_nonNull()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/app/adservices/consent/
DConsentParcelTest.java38 assertThat(consentParcel.isIsGiven()).isTrue(); in testConsentParcel()
43 assertThat(consentParcel.isIsGiven()).isFalse(); in testConsentParcel()
48 assertThat(consentParcel.isIsGiven()).isFalse(); in testConsentParcel()
53 assertThat(consentParcel.isIsGiven()).isTrue(); in testConsentParcel()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java479 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetConsent_unSet()
480 assertThat(service.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetConsent_unSet()
481 assertThat(service.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetConsent_unSet()
482 assertThat(service.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetConsent_unSet()
498 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
506 assertThat(service.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
514 assertThat(service.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
522 assertThat(service.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetAndSetConsent_null()
533 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_nonNull()
536 assertThat(service.getConsent(ConsentParcel.ALL_API).isIsGiven()).isTrue(); in testGetAndSetConsent_nonNull()
[all …]
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DConsentManager.java161 consentParcel.isIsGiven()); in setConsent()
165 getConsentApiTypeKey(ConsentParcel.TOPICS), consentParcel.isIsGiven()); in setConsent()
167 getConsentApiTypeKey(ConsentParcel.FLEDGE), consentParcel.isIsGiven()); in setConsent()
169 getConsentApiTypeKey(ConsentParcel.MEASUREMENT), consentParcel.isIsGiven()); in setConsent()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/consent/
DConsentParcel.java101 public boolean isIsGiven() { in isIsGiven() method in ConsentParcel
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java132 return AdServicesApiConsent.getConsent(consentParcel.isIsGiven()); in getConsent()
DConsentManager.java490 mAdServicesManager.getConsent(ConsentParcel.ALL_API).isIsGiven()), in getConsent()
528 .isIsGiven()), in getConsent()
1767 return adServicesManager.getConsent(consentApiType).isIsGiven();