Home
last modified time | relevance | path

Searched refs:adFilters (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DSignedContextualAdsHashUtil.java138 private void writeAdFilters(AdFilters adFilters) { in writeAdFilters() argument
139 if (!Objects.isNull(adFilters.getAppInstallFilters())) { in writeAdFilters()
141 writeField(adFilters.getAppInstallFilters(), this::writeAppInstallFilter); in writeAdFilters()
144 if (!Objects.isNull(adFilters.getFrequencyCapFilters())) { in writeAdFilters()
146 writeField(adFilters.getFrequencyCapFilters(), this::writeFrequencyCapFilters); in writeAdFilters()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DAdDataConversionStrategyFactory.java220 AdFilters adFilters = null; in fromJson() local
226 adFilters = builder.build(); in fromJson()
228 adDataBuilder.setAdFilters(adFilters); in fromJson()
237 AdFilters adFilters; in fromServiceObject() local
243 adFilters = adFiltersBuilder.build(); in fromServiceObject()
244 sLogger.v("Final Ad Filters in fromServiceObject: %s", adFilters); in fromServiceObject()
245 adDataBuilder.setAdFilters(adFilters); in fromServiceObject()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/
DDBAdData.java43 @Nullable AdFilters adFilters, in DBAdData() argument
51 mAdFilters = adFilters; in DBAdData()
173 public Builder setAdFilters(@Nullable AdFilters adFilters) { in setAdFilters() argument
174 this.mAdFilters = adFilters; in setAdFilters()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DReadFiltersFromJsonStrategyFactory.java77 AdFilters adFilters = null; in readFilters() local
85 adFilters = builder.build(); in readFilters()
87 adDataBuilder.setAdFilters(adFilters); in readFilters()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdFilters.java184 AdFilters adFilters = (AdFilters) o; in equals()
185 return Objects.equals(mFrequencyCapFilters, adFilters.mFrequencyCapFilters) in equals()
186 && Objects.equals(mAppInstallFilters, adFilters.mAppInstallFilters); in equals()
DAdData.java277 public AdData.Builder setAdFilters(@Nullable AdFilters adFilters) { in setAdFilters() argument
278 mAdFilters = adFilters; in setAdFilters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DBinarySerializerSignedContextualAdsTest.java112 AdFilters adFilters = in testContextualAdSerialization_fullObject_success() local
135 .setAdFilters(adFilters) in testContextualAdSerialization_fullObject_success()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdFiltersTest.java260 final AdFilters adFilters = in testAdFiltersDescribeContents() local
267 assertThat(adFilters.describeContents()).isEqualTo(0); in testAdFiltersDescribeContents()