Home
last modified time | relevance | path

Searched refs:AppInstallFilters (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAppInstallFiltersTest.java23 import android.adservices.common.AppInstallFilters;
43 final AppInstallFilters originalFilters = in testBuildValidAppInstallFilters_success()
44 new AppInstallFilters.Builder().setPackageNames(CommonFixture.PACKAGE_SET).build(); in testBuildValidAppInstallFilters_success()
52 final AppInstallFilters originalFilters = in testParcelAppInstallFilters_success()
53 new AppInstallFilters.Builder().setPackageNames(CommonFixture.PACKAGE_SET).build(); in testParcelAppInstallFilters_success()
58 final AppInstallFilters filtersFromParcel = in testParcelAppInstallFilters_success()
59 AppInstallFilters.CREATOR.createFromParcel(targetParcel); in testParcelAppInstallFilters_success()
67 final AppInstallFilters originalFilters = in testEqualsIdentical_success()
69 final AppInstallFilters identicalFilters = in testEqualsIdentical_success()
77 final AppInstallFilters originalFilters = in testEqualsDifferent_success()
[all …]
DAdFiltersTest.java23 import android.adservices.common.AppInstallFilters;
209 new AppInstallFilters.Builder() in testEqualsDifferentAppInstallOnly_success()
234 new AppInstallFilters.Builder() in testHashCodeDifferentAppInstallOnly_success()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAppInstallFilters.java53 public final class AppInstallFilters implements Parcelable { class
60 public static final Creator<AppInstallFilters> CREATOR =
61 new Creator<AppInstallFilters>() {
64 public AppInstallFilters createFromParcel(@NonNull Parcel in) {
66 return new AppInstallFilters(in);
71 public AppInstallFilters[] newArray(int size) {
72 return new AppInstallFilters[size];
76 private AppInstallFilters(@NonNull Builder builder) { in AppInstallFilters() method in AppInstallFilters
82 private AppInstallFilters(@NonNull Parcel in) { in AppInstallFilters() method in AppInstallFilters
135 public static AppInstallFilters fromJson(JSONObject json) throws JSONException { in fromJson()
[all …]
DAdFilters.java48 @Nullable private final AppInstallFilters mAppInstallFilters;
80 in, AppInstallFilters.CREATOR::createFromParcel); in AdFilters()
102 public AppInstallFilters getAppInstallFilters() { in getAppInstallFilters()
154 AppInstallFilters.fromJson(json.getJSONObject(APP_INSTALL_FIELD_NAME))); in fromJson()
208 @Nullable private AppInstallFilters mAppInstallFilters;
232 public Builder setAppInstallFilters(@Nullable AppInstallFilters appInstallFilters) { in setAppInstallFilters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DFrequencyCapAdFiltererNoOpImplTest.java27 import android.adservices.common.AppInstallFilters;
99 AppInstallFilters appFilters = in testAppInstallFilter()
100 new AppInstallFilters.Builder() in testAppInstallFilter()
117 AppInstallFilters appFilters = in testMultipleApps()
118 new AppInstallFilters.Builder() in testMultipleApps()
139 AppInstallFilters appFilters1 = in testMultipleAds()
140 new AppInstallFilters.Builder() in testMultipleAds()
144 AppInstallFilters appFilters2 = in testMultipleAds()
145 new AppInstallFilters.Builder() in testMultipleAds()
DAppInstallAdFiltererNoOpImplTest.java27 import android.adservices.common.AppInstallFilters;
99 AppInstallFilters appFilters = in testAppInstallFilter()
100 new AppInstallFilters.Builder() in testAppInstallFilter()
117 AppInstallFilters appFilters = in testMultipleApps()
118 new AppInstallFilters.Builder() in testMultipleApps()
139 AppInstallFilters appFilters1 = in testMultipleAds()
140 new AppInstallFilters.Builder() in testMultipleAds()
144 AppInstallFilters appFilters2 = in testMultipleAds()
145 new AppInstallFilters.Builder() in testMultipleAds()
DAppInstallAdFiltererImplTest.java34 import android.adservices.common.AppInstallFilters;
65 private static final AppInstallFilters APP_INSTALL_FILTERS_TO_FILTER =
66 new AppInstallFilters.Builder()
141 AppInstallFilters appFilters = in testFilterContextualAdsDoesNotFilterForAppNotInstalled()
142 new AppInstallFilters.Builder() in testFilterContextualAdsDoesNotFilterForAppNotInstalled()
165 AppInstallFilters appFilters = in testFilterContextualAdsFiltersForAppInstalled()
166 new AppInstallFilters.Builder() in testFilterContextualAdsFiltersForAppInstalled()
193 AppInstallFilters appFilters = in testFilterContextualAdsFiltersForMixedApps()
194 new AppInstallFilters.Builder() in testFilterContextualAdsFiltersForMixedApps()
225 AppInstallFilters appFilters1 = in testFilterContextualAdsFiltersForMixedAds()
[all …]
DOnDeviceAdSelectionRunnerTest.java122 import android.adservices.common.AppInstallFilters;
2951 AppInstallFilters appFilters = in testFilterOneAd()
2952 new AppInstallFilters.Builder() in testFilterOneAd()
3195 AppInstallFilters appFilters = in testFilterWholeCa()
3196 new AppInstallFilters.Builder() in testFilterWholeCa()
DAuctionServerE2ETest.java83 import android.adservices.common.AppInstallFilters;
235 public static final AppInstallFilters CURRENT_APP_FILTER =
236 new AppInstallFilters.Builder()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DAppInstallFiltersFixture.java21 public static final AppInstallFilters VALID_APP_INSTALL_FILTERS =
24 public static AppInstallFilters.Builder getValidAppInstallFiltersBuilder() { in getValidAppInstallFiltersBuilder()
25 return new AppInstallFilters.Builder().setPackageNames(CommonFixture.PACKAGE_SET); in getValidAppInstallFiltersBuilder()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DAppInstallFiltersConversionStrategy.java21 import android.adservices.common.AppInstallFilters;
35 void toJson(AppInstallFilters appInstallFilters, JSONObject toReturn) throws JSONException; in toJson()
DAdDataConversionStrategyFactory.java24 import android.adservices.common.AppInstallFilters;
145 public void toJson(AppInstallFilters appInstallFilters, JSONObject toReturn) in toJson()
156 AppInstallFilters.fromJson(json.getJSONObject(APP_INSTALL_FIELD_NAME))); in fromJson()
168 public void toJson(AppInstallFilters appInstallFilters, JSONObject toReturn) in toJson()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DReadFiltersFromJsonStrategyFactory.java26 import android.adservices.common.AppInstallFilters;
152 AppInstallFilters.fromJson(json.getJSONObject(APP_INSTALL_FIELD_NAME))); in readAppInstallFilters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DBinarySerializerSignedContextualAdsTest.java26 import android.adservices.common.AppInstallFilters;
116 new AppInstallFilters.Builder() in testContextualAdSerialization_fullObject_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DSignedContextualAdsHashUtil.java23 import android.adservices.common.AppInstallFilters;
150 private void writeAppInstallFilter(AppInstallFilters appInstallFilters) { in writeAppInstallFilter()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt344 …tion_filtering_enabled") @Nullable public android.adservices.common.AppInstallFilters getAppInstal…
353 …mmon.AdFilters.Builder setAppInstallFilters(@Nullable android.adservices.common.AppInstallFilters);
386 …es.flags.fledge_ad_selection_filtering_enabled") public final class AppInstallFilters implements a…
390 …ic static final android.os.Parcelable.Creator<android.adservices.common.AppInstallFilters> CREATOR;
393 public static final class AppInstallFilters.Builder {
394 ctor public AppInstallFilters.Builder();
395 method @NonNull public android.adservices.common.AppInstallFilters build();
396 …method @NonNull public android.adservices.common.AppInstallFilters.Builder setPackageNames(@NonNul…
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java83 import android.adservices.common.AppInstallFilters;
3038 new AppInstallFilters.Builder() in testFledgeAuctionAppFilteringFlow_overall_Success()
3173 new AppInstallFilters.Builder() in testFledgeAuctionAppFilteringFlow_overall_AppInstallFailure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java81 import android.adservices.common.AppInstallFilters;
212 public static final AppInstallFilters CURRENT_APP_FILTER =
213 new AppInstallFilters.Builder()