Searched refs:consentApiType (Results 1 – 9 of 9) sorted by relevance
106 public static ConsentParcel createRevokedConsent(@ConsentApiType int consentApiType) { in createRevokedConsent() argument108 .setConsentApiType(consentApiType) in createRevokedConsent()114 public static ConsentParcel createGivenConsent(@ConsentApiType int consentApiType) { in createGivenConsent() argument116 .setConsentApiType(consentApiType) in createGivenConsent()129 public @NonNull Builder setConsentApiType(@ConsentApiType int consentApiType) { in setConsentApiType() argument130 mConsentApiType = consentApiType; in setConsentApiType()
138 public ConsentParcel getConsent(@ConsentParcel.ConsentApiType int consentApiType) { in getConsent() argument139 LogUtil.d("ConsentManager.getConsent() is invoked for consentApiType = " + consentApiType); in getConsent()144 .setConsentApiType(consentApiType) in getConsent()145 .setIsGiven(mDatastore.get(getConsentApiTypeKey(consentApiType))) in getConsent()149 return ConsentParcel.createRevokedConsent(consentApiType); in getConsent()446 String getConsentApiTypeKey(@ConsentParcel.ConsentApiType int consentApiType) { in getConsentApiTypeKey() argument447 return CONSENT_API_TYPE_PREFIX + consentApiType; in getConsentApiTypeKey()
127 int consentApiType = apiType.toConsentApiType(); in getConsent() local128 ConsentParcel consentParcel = mAdServicesManager.getConsent(consentApiType); in getConsent()
1751 @ConsentParcel.ConsentApiType int consentApiType,1756 adServicesManager.setConsent(ConsentParcel.createGivenConsent(consentApiType));1758 adServicesManager.setConsent(ConsentParcel.createRevokedConsent(consentApiType));1765 @ConsentParcel.ConsentApiType int consentApiType) {1767 return adServicesManager.getConsent(consentApiType).isIsGiven();
31 ConsentParcel getConsent(in int consentApiType); in getConsent() argument
93 public ConsentParcel getConsent(@ConsentParcel.ConsentApiType int consentApiType) { in getConsent() argument95 return mService.getConsent(consentApiType); in getConsent()
234 public ConsentParcel getConsent(@ConsentParcel.ConsentApiType int consentApiType) { in getConsent() argument236 ConsentParcel.createRevokedConsent(consentApiType), in getConsent()239 .getConsent(consentApiType)); in getConsent()
3517 @ConsentParcel.ConsentApiType int consentApiType) in getSpiedConsentManagerForConsentPerApiTesting() argument3526 ? ConsentParcel.createGivenConsent(consentApiType) in getSpiedConsentManagerForConsentPerApiTesting()3527 : ConsentParcel.createRevokedConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()3528 doReturn(consentParcel).when(mMockIAdServicesManager).getConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()
3801 @ConsentParcel.ConsentApiType int consentApiType) in getSpiedConsentManagerForConsentPerApiTesting() argument3814 ? ConsentParcel.createGivenConsent(consentApiType) in getSpiedConsentManagerForConsentPerApiTesting()3815 : ConsentParcel.createRevokedConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()3816 doReturn(consentParcel).when(mMockIAdServicesManager).getConsent(consentApiType); in getSpiedConsentManagerForConsentPerApiTesting()