Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java263 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in FledgeCtsDebuggableTest
599 AD_SELECTION_CONFIG, DEFAULT_DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testFledgeAuctionSelectionFlow_overall_Success()
631 "Running ad selection with logic URI " + AD_SELECTION_CONFIG.getDecisionLogicUri()); in testFledgeAuctionSelectionFlow_overall_Success()
635 + AD_SELECTION_CONFIG.getDecisionLogicUri().getHost()); in testFledgeAuctionSelectionFlow_overall_Success()
640 .selectAds(AD_SELECTION_CONFIG) in testFledgeAuctionSelectionFlow_overall_Success()
648 new ReportImpressionRequest(outcome.getAdSelectionId(), AD_SELECTION_CONFIG); in testFledgeAuctionSelectionFlow_overall_Success()
679 AD_SELECTION_CONFIG, DEFAULT_DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
715 "Running ad selection with logic URI " + AD_SELECTION_CONFIG.getDecisionLogicUri()); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
719 + AD_SELECTION_CONFIG.getDecisionLogicUri().getHost()); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
724 .selectAds(AD_SELECTION_CONFIG) in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
[all …]
DAdSelectionManagerDebuggableTest.java53 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in AdSelectionManagerDebuggableTest
92 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testAddOverrideSucceeds()
106 new RemoveAdSelectionOverrideRequest(AD_SELECTION_CONFIG); in testRemoveNotExistingOverrideSucceeds()
121 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testRemoveExistingOverrideSucceeds()
130 new RemoveAdSelectionOverrideRequest(AD_SELECTION_CONFIG); in testRemoveExistingOverrideSucceeds()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/
DAdSelectionDevOverridesHelperTest.java45 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in AdSelectionDevOverridesHelperTest
48 AdSelectionDevOverridesHelper.calculateAdSelectionConfigId(AD_SELECTION_CONFIG);
122 assertThat(helper.getDecisionLogicOverride(AD_SELECTION_CONFIG)) in testGetDecisionLogicOverrideFindsMatchingOverride()
124 assertThat(helper.getTrustedScoringSignalsOverride(AD_SELECTION_CONFIG)) in testGetDecisionLogicOverrideFindsMatchingOverride()
127 assertThat(helper.getPerBuyerDecisionLogicOverride(AD_SELECTION_CONFIG)) in testGetDecisionLogicOverrideFindsMatchingOverride()
142 assertThat(helper.getDecisionLogicOverride(AD_SELECTION_CONFIG)).isNull(); in testGetDecisionLogicOverrideReturnsNullIfDevOptionsAreDisabled()
143 assertThat(helper.getTrustedScoringSignalsOverride(AD_SELECTION_CONFIG)).isNull(); in testGetDecisionLogicOverrideReturnsNullIfDevOptionsAreDisabled()
144 assertThat(helper.getPerBuyerDecisionLogicOverride(AD_SELECTION_CONFIG)).isNull(); in testGetDecisionLogicOverrideReturnsNullIfDevOptionsAreDisabled()
162 assertThat(helper.getDecisionLogicOverride(AD_SELECTION_CONFIG)).isNull(); in testGetDecisionLogicOverrideReturnsNullIfTheOverrideBelongsToAnotherApp()
163 assertThat(helper.getTrustedScoringSignalsOverride(AD_SELECTION_CONFIG)).isNull(); in testGetDecisionLogicOverrideReturnsNullIfTheOverrideBelongsToAnotherApp()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionConfigArgumentUtilTest.java48 public static final AdSelectionConfig AD_SELECTION_CONFIG = field in AdSelectionConfigArgumentUtilTest
70 assertThat(AdSelectionConfigArgumentUtil.asScriptArgument(AD_SELECTION_CONFIG, "name")) in testConversionToScriptArgument()
76 AD_SELECTION_CONFIG.getSeller().toString()), in testConversionToScriptArgument()
79 AD_SELECTION_CONFIG.getDecisionLogicUri().toString()), in testConversionToScriptArgument()
83 AD_SELECTION_CONFIG.getCustomAudienceBuyers().stream() in testConversionToScriptArgument()
88 AD_SELECTION_CONFIG.getAdSelectionSignals().toString()), in testConversionToScriptArgument()
91 AD_SELECTION_CONFIG.getSellerSignals().toString()), in testConversionToScriptArgument()
100 AD_SELECTION_CONFIG in testConversionToScriptArgument()
DPerBuyerBiddingRunnerTest.java68 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in PerBuyerBiddingRunnerTest
183 mBuyer, customAudienceList, PER_BUYER_TIMEOUT_MS, AD_SELECTION_CONFIG); in runAndValidatePerBuyerBidding()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdSelectionOverrideRequestTest.java34 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in AdSelectionOverrideRequestTest
53 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testBuildValidAddAdSelectionOverrideRequestSuccess()
55 assertEquals(request.getAdSelectionConfig(), AD_SELECTION_CONFIG); in testBuildValidAddAdSelectionOverrideRequestSuccess() local
63 new RemoveAdSelectionOverrideRequest(AD_SELECTION_CONFIG); in testBuildValidRemoveAdSelectionOverrideRequestSuccess()
65 assertEquals(request.getAdSelectionConfig(), AD_SELECTION_CONFIG); in testBuildValidRemoveAdSelectionOverrideRequestSuccess() local
DAddAdSelectionOverrideRequestTest.java38 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in AddAdSelectionOverrideRequestTest
63 AD_SELECTION_CONFIG, in testBuildsAddAdSelectionOverrideRequest()
69 assertThat(request.getAdSelectionConfig()).isEqualTo(AD_SELECTION_CONFIG); in testBuildsAddAdSelectionOverrideRequest()
DTestAdSelectionManagerTest.java96 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in TestAdSelectionManagerTest
172 new ReportImpressionRequest(AD_SELECTION_ID, AD_SELECTION_CONFIG); in assertInvalidAdSelectionIdFailsImpressionReporting()
191 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testAddOverrideFailsWithDebugModeDisabled()
218 new RemoveAdSelectionOverrideRequest(AD_SELECTION_CONFIG); in testRemoveOverrideFailsWithDebugModeDisabled()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DRemoveAdSelectionOverrideRequestTest.java28 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in RemoveAdSelectionOverrideRequestTest
34 new RemoveAdSelectionOverrideRequest(AD_SELECTION_CONFIG); in testBuildsAddAdSelectionOverrideRequest()
36 assertThat(request.getAdSelectionConfig()).isEqualTo(AD_SELECTION_CONFIG); in testBuildsAddAdSelectionOverrideRequest()
/packages/modules/AdServices/adservices/tests/cts/sandbox/fledge/providers/sdkFledge/src/com/android/tests/providers/sdkfledge/
DSdkFledge.java125 private static final AdSelectionConfig AD_SELECTION_CONFIG = field in SdkFledge
287 AD_SELECTION_CONFIG, decisionLogicJs, TRUSTED_SCORING_SIGNALS); in onLoadSdk()
331 "Running ad selection with logic URI " + AD_SELECTION_CONFIG.getDecisionLogicUri()); in onLoadSdk()
335 + AD_SELECTION_CONFIG.getDecisionLogicUri().getHost()); in onLoadSdk()
341 mAdSelectionClient.selectAds(AD_SELECTION_CONFIG).get(10, TimeUnit.SECONDS); in onLoadSdk()
364 new ReportImpressionRequest(adSelectionId, AD_SELECTION_CONFIG); in onLoadSdk()
414 AD_SELECTION_CONFIG.getSeller()) in onLoadSdk()