/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | AdSelectionConfig.java | 45 public final class AdSelectionConfig implements Parcelable { class 51 @NonNull public static final AdSelectionConfig EMPTY = new AdSelectionConfig(); 63 public static final Creator<AdSelectionConfig> CREATOR = 64 new Creator<AdSelectionConfig>() { 66 public AdSelectionConfig createFromParcel(@NonNull Parcel in) { 68 return new AdSelectionConfig(in); 72 public AdSelectionConfig[] newArray(int size) { 73 return new AdSelectionConfig[size]; 77 private AdSelectionConfig() { in AdSelectionConfig() method in AdSelectionConfig 88 private AdSelectionConfig( in AdSelectionConfig() method in AdSelectionConfig [all …]
|
D | AdSelectionInput.java | 32 @Nullable private final AdSelectionConfig mAdSelectionConfig; 48 @NonNull AdSelectionConfig adSelectionConfig, @NonNull String callerPackageName) { in AdSelectionInput() 58 this.mAdSelectionConfig = AdSelectionConfig.CREATOR.createFromParcel(in); in AdSelectionInput() 80 public AdSelectionConfig getAdSelectionConfig() { in getAdSelectionConfig() 96 @Nullable private AdSelectionConfig mAdSelectionConfig; 104 @NonNull AdSelectionConfig adSelectionConfig) { in setAdSelectionConfig()
|
D | ReportImpressionInput.java | 38 @NonNull private final AdSelectionConfig mAdSelectionConfig; 55 @NonNull AdSelectionConfig adSelectionConfig, in ReportImpressionInput() 68 this.mAdSelectionConfig = AdSelectionConfig.CREATOR.createFromParcel(in); in ReportImpressionInput() 99 public AdSelectionConfig getAdSelectionConfig() { in getAdSelectionConfig() 116 @Nullable private AdSelectionConfig mAdSelectionConfig; 131 @NonNull AdSelectionConfig adSelectionConfig) { in setAdSelectionConfig()
|
D | ReportImpressionRequest.java | 35 @NonNull private final AdSelectionConfig mAdSelectionConfig; 50 long adSelectionId, @NonNull AdSelectionConfig adSelectionConfig) { in ReportImpressionRequest() 76 mAdSelectionConfig = AdSelectionConfig.EMPTY; in ReportImpressionRequest() 86 public AdSelectionConfig getAdSelectionConfig() { in getAdSelectionConfig()
|
D | AddAdSelectionOverrideRequest.java | 39 @NonNull private final AdSelectionConfig mAdSelectionConfig; 60 @NonNull AdSelectionConfig adSelectionConfig, in AddAdSelectionOverrideRequest() 85 @NonNull AdSelectionConfig adSelectionConfig, in AddAdSelectionOverrideRequest() 101 public AdSelectionConfig getAdSelectionConfig() { in getAdSelectionConfig()
|
D | RemoveAdSelectionOverrideRequest.java | 32 @NonNull private final AdSelectionConfig mAdSelectionConfig; 35 public RemoveAdSelectionOverrideRequest(@NonNull AdSelectionConfig adSelectionConfig) { in RemoveAdSelectionOverrideRequest() 43 public AdSelectionConfig getAdSelectionConfig() { in getAdSelectionConfig()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AdSelectionConfigTest.java | 23 import android.adservices.adselection.AdSelectionConfig; 45 AdSelectionConfig config = in testBuildValidAdSelectionConfigSuccess() 46 new AdSelectionConfig.Builder() in testBuildValidAdSelectionConfigSuccess() 76 AdSelectionConfig config = in testParcelValidAdDataSuccess() 83 AdSelectionConfig fromParcel = AdSelectionConfig.CREATOR.createFromParcel(p); in testParcelValidAdDataSuccess() 100 AdSelectionConfig config = in testBuildMinimalAdSelectionConfigWithDefaultsSuccess() 101 new AdSelectionConfig.Builder() in testBuildMinimalAdSelectionConfigWithDefaultsSuccess() 129 new AdSelectionConfig.Builder() in testBuildAdSelectionConfigUnsetSellerFailure() 139 AdSelectionConfig config = in testBuildValidAdSelectionConfigCloneSuccess() 140 new AdSelectionConfig.Builder() in testBuildValidAdSelectionConfigCloneSuccess() [all …]
|
D | ReportImpressionRequestTest.java | 25 import android.adservices.adselection.AdSelectionConfig; 44 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testBuildsReportImpressionInput() 58 assertThat(request.getAdSelectionConfig()).isEqualTo(AdSelectionConfig.EMPTY); in testBuildsReportImpressionInputWithOnlyAdSelectionId() 63 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testFailsToBuildWithUnsetAdSelectionId()
|
D | AdSelectionTest.java | 23 import android.adservices.adselection.AdSelectionConfig; 75 AdSelectionConfig config = in testGetAdSelectionService_lowRamDevice_throwsIllegalStateException() 76 new AdSelectionConfig.Builder() in testGetAdSelectionService_lowRamDevice_throwsIllegalStateException()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ReportImpressionScriptEngineTest.java | 28 import android.adservices.adselection.AdSelectionConfig; 220 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseRegisterAdBeaconEnabled() 247 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseRegisterAdBeaconDisabled() 270 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseWithMoreResultsFieldsThanExpected() 297 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseWithCallingRegisterAdBeacon() 336 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsWhenCallingRegisterAdBeaconWhenFlagDisabled() 364 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsInvalidInteractionKeyType() 392 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsInvalidInteractionReportingUriType() 422 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsWhenRegisterAdBeaconCalledMoreThanOnce() 449 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsWhenRegisterAdBeaconInputNotAnObject__Null() [all …]
|
D | AdSelectionConfigValidatorTest.java | 26 import android.adservices.adselection.AdSelectionConfig; 90 AdSelectionConfig.class.getName()); 106 private AdSelectionConfig.Builder mAdSelectionConfigBuilder; 138 AdSelectionConfig adSelectionConfig = mAdSelectionConfigBuilder.build(); in testVerifyAdSelectionConfigSuccess() 147 AdSelectionConfig adSelectionConfig = in testVerifyAdSelectionConfigSuccessSellerWithPrefix() 161 AdSelectionConfig adSelectionConfig = in testVerifyEmptySeller() 178 AdSelectionConfig adSelectionConfig = in testVerifyNotDomainNameSeller() 196 AdSelectionConfig adSelectionConfig = in testVerifyInvalidSeller() 218 AdSelectionConfig adSelectionConfig = in testVerifyNoHostSeller() 235 AdSelectionConfig adSelectionConfig = in testVerifyNoHostDecisionLogicUri() [all …]
|
D | AdSelectionConfigArgumentUtilTest.java | 26 import android.adservices.adselection.AdSelectionConfig; 48 public static final AdSelectionConfig AD_SELECTION_CONFIG = 49 new AdSelectionConfig.Builder()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | AdSelectionConfigFixture.java | 72 public static AdSelectionConfig anAdSelectionConfig() { in anAdSelectionConfig() 80 public static AdSelectionConfig.Builder anAdSelectionConfigBuilder() { in anAdSelectionConfigBuilder() 81 return new AdSelectionConfig.Builder() in anAdSelectionConfigBuilder() 95 public static AdSelectionConfig anAdSelectionConfig(@NonNull Uri decisionLogicUri) { in anAdSelectionConfig() 96 return new AdSelectionConfig.Builder() in anAdSelectionConfig() 111 public static AdSelectionConfig anAdSelectionConfig(@NonNull AdTechIdentifier seller) { in anAdSelectionConfig() 112 return new AdSelectionConfig.Builder() in anAdSelectionConfig() 128 public static AdSelectionConfig.Builder anAdSelectionConfigWithSignedContextualAdsBuilder() { in anAdSelectionConfigWithSignedContextualAdsBuilder()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | AdSelectionReportingTest.java | 28 import android.adservices.adselection.AdSelectionConfig; 53 AdSelectionConfig adSelectionConfig = in testReportImpression_defaultAdSelection_happyPath() 74 AdSelectionConfig adSelectionConfig = in testReportImpression_buyerRequestFails_sellerRequestSucceeds() 97 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_buyerLogicTimesOut_reportingFails() 125 AdSelectionConfig config = in testReportImpression_withMismatchedAdTechUri_sellerRequestFails() 154 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_registerBuyerAndSellerBeacons_happyPath() 176 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_failToRegisterBuyerBeacon_sellerBeaconSucceeds() 200 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_failToRegisterSellerBeacon_buyerBeaconSucceeds() 224 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_withMismatchedSellerAdTech_buyerStillCalled() 248 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_withMismatchedBuyerAdTech_sellerStillCalled() [all …]
|
D | AdSelectionTest.java | 30 import android.adservices.adselection.AdSelectionConfig; 80 AdSelectionConfig adSelectionConfig = in testAdSelection_withBiddingAndScoringLogic_happyPath() 121 AdSelectionConfig adSelectionConfig = in testAdSelection_withBiddingLogicV3_happyPath() 149 AdSelectionConfig adSelectionConfig = in testAdSelection_withAdCostInUrl_happyPath() 180 AdSelectionConfig adSelectionConfig = in testAdSelection_withAdCostInUrl_adCostIsReported() 211 AdSelectionConfig adSelectionConfig = in testAdSelection_withFetchCustomAudience_fetchesAndReturnsSuccessfully() 253 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withShortlyExpiringCustomAudience_selectAdsThrowsException() 317 AdSelectionConfig adSelectionConfig = in testAdSelection_withDebugReporting_happyPath() 346 AdSelectionConfig adSelectionConfig = in testAdSelection_withDebugReportingDisabled_doesNotSend() 374 AdSelectionConfig adSelectionConfig = in testAdSelection_withDebugReportingAndRejectReason_happyPath() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/ |
D | CustomAudienceBackgroundFetchTest.java | 25 import android.adservices.adselection.AdSelectionConfig; 61 AdSelectionConfig adSelectionConfig = in testAdSelection_withInvalidFields_backgroundJobUpdatesSuccessfully() 88 AdSelectionConfig adSelectionConfig = in testAdSelection_withInvalidAds_backgroundJobUpdateFails() 116 AdSelectionConfig adSelectionConfig = in testAdSelection_withHighLatencyBackend_backgroundJobFails() 147 AdSelectionConfig adSelectionConfig = in testAdSelection_withOverlyLargeDailyUpdate_backgroundJobFails() 175 AdSelectionConfig adSelectionConfig = in testAdSelection_withLongRunningJob_backgroundJobFails()
|
D | FledgeMaintenanceJobTest.java | 27 import android.adservices.adselection.AdSelectionConfig; 58 AdSelectionConfig adSelectionConfig = in testAdSelection_afterExpirationWindow_adSelectionDataCleared() 92 AdSelectionConfig adSelectionConfig = in testAdSelection_afterExpirationWindow_adInteractionsIsCleared()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/ |
D | AdSelectionDevOverridesHelper.java | 19 import android.adservices.adselection.AdSelectionConfig; 71 @NonNull AdSelectionConfig adSelectionConfig) { in calculateAdSelectionConfigId() 112 public String getDecisionLogicOverride(@NonNull AdSelectionConfig adSelectionConfig) { in getDecisionLogicOverride() 131 @NonNull AdSelectionConfig adSelectionConfig) { in getPerBuyerDecisionLogicOverride() 156 @NonNull AdSelectionConfig adSelectionConfig) { in getTrustedScoringSignalsOverride() 177 @NonNull AdSelectionConfig adSelectionConfig, in addAdSelectionSellerOverride() 217 public void removeAdSelectionSellerOverride(@NonNull AdSelectionConfig adSelectionConfig) { in removeAdSelectionSellerOverride()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | ReportImpressionInputTest.java | 38 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testWriteToParcel() 59 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testFailsToBuildWithUnsetAdSelectionId() 72 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testFailsToBuildWithNullCallerPackageName() 98 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testReportImpressionInputDescribeContents()
|
D | AdSelectionInputTest.java | 38 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testWriteToParcel() 57 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testFailsToBuildWithNullCallerPackageName() 81 AdSelectionConfig testAdSelectionConfig = anAdSelectionConfig(); in testAdSelectionInputDescribeContents()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/ |
D | FledgeCtsDebuggableJetpackTest.java | 29 import androidx.privacysandbox.ads.adservices.adselection.AdSelectionConfig; 140 private static final AdSelectionConfig DEFAULT_AD_SELECTION_CONFIG = 141 new AdSelectionConfig( 263 AdSelectionConfig adSelectionConfigWithEtldViolations = in testAdSelection_etldViolation_failure() 264 new AdSelectionConfig( in testAdSelection_etldViolation_failure() 309 AdSelectionConfig adSelectionConfigWithEtldViolations = in testReportImpression_etldViolation_failure() 310 new AdSelectionConfig( in testReportImpression_etldViolation_failure() 423 AdSelectionConfig adSelectionConfig = in testAdSelection_malformedScoringLogic_failure() 424 new AdSelectionConfig( in testAdSelection_malformedScoringLogic_failure() 513 AdSelectionConfig adSelectionConfig = in testAdSelection_errorGettingScoringLogic_failure() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | PerBuyerBiddingRunner.java | 19 import android.adservices.adselection.AdSelectionConfig; 87 final AdSelectionConfig adSelectionConfig) { in runBidding() 124 AdSelectionConfig adSelectionConfig, in runBidPerCAWorkPartition() 146 @NonNull final AdSelectionConfig adSelectionConfig, in runBiddingPerCA()
|
D | AdSelectionRunner.java | 25 import android.adservices.adselection.AdSelectionConfig; 492 AdSelectionConfig adSelectionConfig = inputParams.getAdSelectionConfig(); 626 @NonNull final AdSelectionConfig adSelectionConfig, 630 AdSelectionConfig adSelectionConfigInput; 676 @NonNull AdSelectionConfig adSelectionConfig, 688 final AdSelectionConfig adSelectionConfig) { 724 private int countBuyersRequested(@NonNull AdSelectionConfig adSelectionConfig) { 846 private void validateAdSelectionConfig(AdSelectionConfig adSelectionConfig) 854 private AdSelectionConfig getAdSelectionConfigFilterContextualAds( 855 AdSelectionConfig adSelectionConfig, String callerPackageName) { [all …]
|
D | AdsScoreGenerator.java | 19 import android.adservices.adselection.AdSelectionConfig; 40 @NonNull AdSelectionConfig adSelectionConfig) throws AdServicesException; in runAdScoring()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/ |
D | PermissionsAppOptOutTest.java | 23 import android.adservices.adselection.AdSelectionConfig; 189 AdSelectionConfig adSelectionConfig = in testNoEnrollment_selectAds_adSelectionConfig() 210 AdSelectionConfig adSelectionConfig = in testWithEnrollment_selectAds_adSelectionConfig() 273 AdSelectionConfig adSelectionConfig = in testNoEnrollment_reportImpression() 299 AdSelectionConfig adSelectionConfig = in testWithEnrollment_reportImpression()
|