Home
last modified time | relevance | path

Searched refs:doSelectAds (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/
DCustomAudienceBackgroundFetchTest.java66 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withInvalidFields_backgroundJobUpdatesSuccessfully()
69 assertThat(doSelectAds(adSelectionConfig).hasOutcome()).isTrue(); in testAdSelection_withInvalidFields_backgroundJobUpdatesSuccessfully()
93 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withInvalidAds_backgroundJobUpdateFails()
96 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withInvalidAds_backgroundJobUpdateFails()
121 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withHighLatencyBackend_backgroundJobFails()
128 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withHighLatencyBackend_backgroundJobFails()
152 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withOverlyLargeDailyUpdate_backgroundJobFails()
155 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withOverlyLargeDailyUpdate_backgroundJobFails()
183 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withLongRunningJob_backgroundJobFails()
187 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testAdSelection_withLongRunningJob_backgroundJobFails()
DFledgeMaintenanceJobTest.java63 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_afterExpirationWindow_adSelectionDataCleared()
97 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_afterExpirationWindow_adInteractionsIsCleared()
DScheduleCustomAudienceUpdateTest.java155 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success()
160 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success()
DAdBeaconRegistrationTest.java89 doSelectAds(makeAdSelectionConfig(mScenarioDispatcher.getBaseAddressWithPrefix())); in runAdSelectionAndReporting()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DAdSelectionReportingTest.java59 doSelectAds(adSelectionConfig).getAdSelectionId(), adSelectionConfig); in testReportImpression_defaultAdSelection_happyPath()
80 doSelectAds(adSelectionConfig).getAdSelectionId(), adSelectionConfig); in testReportImpression_buyerRequestFails_sellerRequestSucceeds()
101 AdSelectionOutcome adSelectionOutcome = doSelectAds(config); in testReportImpression_buyerLogicTimesOut_reportingFails()
138 doSelectAds(config).getAdSelectionId(), config)); in testReportImpression_withMismatchedAdTechUri_sellerRequestFails()
158 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_registerBuyerAndSellerBeacons_happyPath()
180 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_failToRegisterBuyerBeacon_sellerBeaconSucceeds()
204 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_failToRegisterSellerBeacon_buyerBeaconSucceeds()
228 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_withMismatchedSellerAdTech_buyerStillCalled()
252 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_withMismatchedBuyerAdTech_sellerStillCalled()
276 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testReportImpression_withBuyerBeacon_onlyReportsForViewInteraction()
[all …]
DAdSelectionMediationTest.java61 doSelectAds( in testSelectAds_withAdSelectionFromOutcomes_happyPath()
65 doSelectAds(makeAdSelectionConfig(baseAddress)) in testSelectAds_withAdSelectionFromOutcomes_happyPath()
91 long adSelectionId = doSelectAds(config).getAdSelectionId(); in testSelectAds_withImpressionReporting_eventsAreReceived()
93 doSelectAds( in testSelectAds_withImpressionReporting_eventsAreReceived()
134 doSelectAds(makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix())); in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
147 () -> doSelectAds(fromOutcomesConfigEnrollmentFail)); in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
155 AdSelectionOutcome result = doSelectAds(fromOutcomesConfig); in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
166 private AdSelectionOutcome doSelectAds(AdSelectionFromOutcomesConfig config) in doSelectAds() method in AdSelectionMediationTest
DAdSelectionTest.java85 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withBiddingAndScoringLogic_happyPath()
127 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withBiddingLogicV3_happyPath()
156 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withAdCostInUrl_happyPath()
187 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withAdCostInUrl_adCostIsReported()
232 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withFetchCustomAudience_fetchesAndReturnsSuccessfully()
324 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withDebugReporting_happyPath()
352 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withDebugReportingDisabled_doesNotSend()
381 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_withDebugReportingAndRejectReason_happyPath()
DFledgeApiCallFromBackgroundTest.java65 doSelectAds( in testRunAdSelectionFromBackground()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DFledgeScenarioTest.java167 protected AdSelectionOutcome doSelectAds(AdSelectionConfig adSelectionConfig) in doSelectAds() method in FledgeScenarioTest