Searched refs:consentParcel (Results 1 – 9 of 9) sorted by relevance
35 ConsentParcel consentParcel = in testConsentParcel() local37 assertThat(consentParcel.getConsentApiType()).isEqualTo(ALL_API); in testConsentParcel()38 assertThat(consentParcel.isIsGiven()).isTrue(); in testConsentParcel()40 consentParcel = in testConsentParcel()42 assertThat(consentParcel.getConsentApiType()).isEqualTo(TOPICS); in testConsentParcel()43 assertThat(consentParcel.isIsGiven()).isFalse(); in testConsentParcel()45 consentParcel = in testConsentParcel()47 assertThat(consentParcel.getConsentApiType()).isEqualTo(FLEDGE); in testConsentParcel()48 assertThat(consentParcel.isIsGiven()).isFalse(); in testConsentParcel()50 consentParcel = in testConsentParcel()[all …]
156 public void setConsent(ConsentParcel consentParcel) throws IOException { in setConsent() argument160 getConsentApiTypeKey(consentParcel.getConsentApiType()), in setConsent()161 consentParcel.isIsGiven()); in setConsent()162 if (consentParcel.getConsentApiType() == ConsentParcel.ALL_API) { 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()
128 ConsentParcel consentParcel = mAdServicesManager.getConsent(consentApiType); in getConsent() local129 if (consentParcel == null) { in getConsent()132 return AdServicesApiConsent.getConsent(consentParcel.isIsGiven()); in getConsent()289 ConsentParcel consentParcel = in setConsent() local294 mAdServicesManager.setConsent(consentParcel); in setConsent()
1741 ConsentParcel consentParcel =1746 adServicesManager.setConsent(consentParcel);
103 public void setConsent(@NonNull ConsentParcel consentParcel) { in setConsent() argument104 Objects.requireNonNull(consentParcel); in setConsent()106 mService.setConsent(consentParcel); in setConsent()
36 void setConsent(in ConsentParcel consentParcel); in setConsent() argument
249 public void setConsent(ConsentParcel consentParcel) { in setConsent() argument252 Objects.requireNonNull(consentParcel); in setConsent()259 .setConsent(consentParcel); in setConsent()
3497 ConsentParcel consentParcel = in getSpiedConsentManagerForMigrationTesting() local3501 doReturn(consentParcel).when(mMockIAdServicesManager).getConsent(ConsentParcel.ALL_API); in getSpiedConsentManagerForMigrationTesting()3524 ConsentParcel consentParcel = in getSpiedConsentManagerForConsentPerApiTesting() local3528 doReturn(consentParcel).when(mMockIAdServicesManager).getConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()
3783 ConsentParcel consentParcel = in getSpiedConsentManagerForMigrationTesting() local3787 doReturn(consentParcel).when(mMockIAdServicesManager).getConsent(ConsentParcel.ALL_API); in getSpiedConsentManagerForMigrationTesting()3812 ConsentParcel consentParcel = in getSpiedConsentManagerForConsentPerApiTesting() local3816 doReturn(consentParcel).when(mMockIAdServicesManager).getConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()