Home
last modified time | relevance | path

Searched refs:getFrequencyCapFilters (Results 1 – 12 of 12) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFrequencyCapAdDataValidatorNoOpImplTest.java82 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
87 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
92 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
97 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
DFrequencyCapAdDataValidatorImplTest.java91 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
96 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
101 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
106 .getFrequencyCapFilters() in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdFiltersTest.java56 assertThat(originalFilters.getFrequencyCapFilters()) in testBuildValidAdFilters_success()
73 assertThat(filtersFromParcel.getFrequencyCapFilters()) in testParcelAdFilters_success()
74 .isEqualTo(originalFilters.getFrequencyCapFilters()); in testParcelAdFilters_success()
82 assertThat(originalFilters.getFrequencyCapFilters()).isNull(); in testBuildNullAdFilters_success()
89 assertThat(originalFilters.getFrequencyCapFilters()).isNull(); in testBuildNoSetters_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DCustomAudienceConvertersTest.java215 assertThat(outputObject.getAdFilters().getFrequencyCapFilters()) in testSerializeAndDeserialize_fromJsonOnlyFCapEnabled()
216 .isEqualTo(expected.getAdFilters().getFrequencyCapFilters()); in testSerializeAndDeserialize_fromJsonOnlyFCapEnabled()
232 assertThat(outputObject.getAdFilters().getFrequencyCapFilters()) in testSerializeAndDeserialize_toJsonOnlyFCapEnabled()
233 .isEqualTo(expected.getAdFilters().getFrequencyCapFilters()); in testSerializeAndDeserialize_toJsonOnlyFCapEnabled()
251 assertThat(outputObject.getAdFilters().getFrequencyCapFilters()).isNull(); in testSerializeAndDeserialize_fromJsonOnlyAppInstallEnabled()
268 assertThat(outputObject.getAdFilters().getFrequencyCapFilters()).isNull(); in testSerializeAndDeserialize_toJsonOnlyAppInstallEnabled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DDBAdDataTest.java140 assertThat(dbAdData.getAdFilters().getFrequencyCapFilters()) in testFromServiceObjectAppInstallFilteringDisabledFrequencyCapEnabled()
141 .isEqualTo(original.getAdFilters().getFrequencyCapFilters()); in testFromServiceObjectAppInstallFilteringDisabledFrequencyCapEnabled()
152 assertThat(dbAdData.getAdFilters().getFrequencyCapFilters()).isNull(); in testFromServiceObjectFrequencyCapFilteringDisabledAppInstallEnabled()
164 assertThat(dbAdData.getAdFilters().getFrequencyCapFilters()) in testFromServiceObjectBothFiltersEnabled()
165 .isEqualTo(original.getAdFilters().getFrequencyCapFilters()); in testFromServiceObjectBothFiltersEnabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFrequencyCapAdDataValidatorImpl.java57 && adData.getAdFilters().getFrequencyCapFilters() != null) { in addValidation()
59 FrequencyCapFilters filters = adData.getAdFilters().getFrequencyCapFilters(); in addValidation()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DSignedContextualAdsHashUtil.java144 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/service/adselection/
DFrequencyCapAdFiltererImpl.java143 if (ad.getAdFilters() == null || ad.getAdFilters().getFrequencyCapFilters() == null) { in doesAdPassFrequencyCapFilters()
149 FrequencyCapFilters filters = ad.getAdFilters().getFrequencyCapFilters(); in doesAdPassFrequencyCapFilters()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DAdDataConversionStrategyFactory.java101 builder.setFrequencyCapFilters(parcelable.getAdFilters().getFrequencyCapFilters()); in fromServiceObjectFilters()
210 adData.getAdFilters().getFrequencyCapFilters(), adFilterWrapper); in toJson()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdFilters.java90 public FrequencyCapFilters getFrequencyCapFilters() { in getFrequencyCapFilters() method in AdFilters
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java3033 assertThat(dbCustomAudience.getAds().get(i).getAdFilters().getFrequencyCapFilters()) in verifyFCapFiltersNotNull()
3051 assertThat(ad.getAdFilters().getFrequencyCapFilters()).isNull(); in assertNoFCapFilters()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt345 method @Nullable public android.adservices.common.FrequencyCapFilters getFrequencyCapFilters();