Home
last modified time | relevance | path

Searched refs:getAppInstallFilters (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdFiltersTest.java164 assertThat(originalFilters.getAppInstallFilters()).isNull(); in testBuildNoSettersAppInstallOnly_success()
174 assertThat(originalFilters.getAppInstallFilters()).isNull(); in testBuildNullAdFiltersAppInstallOnly_success()
179 assertThat(APP_INSTALL_ONLY_FILTER.getAppInstallFilters()) in testBuildValidAdFiltersAppInstallOnly_success()
190 assertThat(filtersFromParcel.getAppInstallFilters()) in testParcelAdFiltersAppInstallOnly_success()
191 .isEqualTo(APP_INSTALL_ONLY_FILTER.getAppInstallFilters()); in testParcelAdFiltersAppInstallOnly_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DCustomAudienceConvertersTest.java217 assertThat(outputObject.getAdFilters().getAppInstallFilters()).isNull(); in testSerializeAndDeserialize_fromJsonOnlyFCapEnabled()
234 assertThat(outputObject.getAdFilters().getAppInstallFilters()).isNull(); in testSerializeAndDeserialize_toJsonOnlyFCapEnabled()
249 assertThat(outputObject.getAdFilters().getAppInstallFilters()) in testSerializeAndDeserialize_fromJsonOnlyAppInstallEnabled()
250 .isEqualTo(expected.getAdFilters().getAppInstallFilters()); in testSerializeAndDeserialize_fromJsonOnlyAppInstallEnabled()
266 assertThat(outputObject.getAdFilters().getAppInstallFilters()) in testSerializeAndDeserialize_toJsonOnlyAppInstallEnabled()
267 .isEqualTo(expected.getAdFilters().getAppInstallFilters()); in testSerializeAndDeserialize_toJsonOnlyAppInstallEnabled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DDBAdDataTest.java142 assertThat(dbAdData.getAdFilters().getAppInstallFilters()).isNull(); in testFromServiceObjectAppInstallFilteringDisabledFrequencyCapEnabled()
153 assertThat(dbAdData.getAdFilters().getAppInstallFilters()) in testFromServiceObjectFrequencyCapFilteringDisabledAppInstallEnabled()
154 .isEqualTo(original.getAdFilters().getAppInstallFilters()); in testFromServiceObjectFrequencyCapFilteringDisabledAppInstallEnabled()
166 assertThat(dbAdData.getAdFilters().getAppInstallFilters()) in testFromServiceObjectBothFiltersEnabled()
167 .isEqualTo(original.getAdFilters().getAppInstallFilters()); in testFromServiceObjectBothFiltersEnabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAppInstallAdFiltererImpl.java135 if (ad.getAdFilters() == null || ad.getAdFilters().getAppInstallFilters() == null) { in doesAdPassAppInstallFilters()
138 for (String packageName : ad.getAdFilters().getAppInstallFilters().getPackageNames()) { in doesAdPassAppInstallFilters()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DSignedContextualAdsHashUtil.java139 if (!Objects.isNull(adFilters.getAppInstallFilters())) { in writeAdFilters()
141 writeField(adFilters.getAppInstallFilters(), this::writeAppInstallFilter); in writeAdFilters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAppInstallAdFiltererImplTest.java339 if (filters == null || filters.getAppInstallFilters() == null) { in validateAppInstallDBCalls()
342 if (filters.getAppInstallFilters() in validateAppInstallDBCalls()
348 for (String packageName : filters.getAppInstallFilters().getPackageNames()) { in validateAppInstallDBCalls()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DAdDataConversionStrategyFactory.java162 builder.setAppInstallFilters(parcelable.getAdFilters().getAppInstallFilters()); in fromServiceObject()
212 adData.getAdFilters().getAppInstallFilters(), adFilterWrapper); in toJson()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdFilters.java102 public AppInstallFilters getAppInstallFilters() { in getAppInstallFilters() method in AdFilters
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java3042 assertThat(dbCustomAudience.getAds().get(i).getAdFilters().getAppInstallFilters()) in verifyAppInstallFiltersNotNull()
3059 assertThat(ad.getAdFilters().getAppInstallFilters()).isNull(); in assertNoAppInstallFilters()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt344 …ring_enabled") @Nullable public android.adservices.common.AppInstallFilters getAppInstallFilters();