Searched refs:doSelectAds (Results 1 – 9 of 9) sorted by relevance
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/ |
D | CustomAudienceBackgroundFetchTest.java | 66 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()
|
D | FledgeMaintenanceJobTest.java | 63 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_afterExpirationWindow_adSelectionDataCleared() 97 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testAdSelection_afterExpirationWindow_adInteractionsIsCleared()
|
D | ScheduleCustomAudienceUpdateTest.java | 155 assertThrows(ExecutionException.class, () -> doSelectAds(adSelectionConfig)); in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success() 160 AdSelectionOutcome result = doSelectAds(adSelectionConfig); in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success()
|
D | AdBeaconRegistrationTest.java | 89 doSelectAds(makeAdSelectionConfig(mScenarioDispatcher.getBaseAddressWithPrefix())); in runAdSelectionAndReporting()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | AdSelectionReportingTest.java | 59 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 …]
|
D | AdSelectionMediationTest.java | 61 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
|
D | AdSelectionTest.java | 85 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()
|
D | FledgeApiCallFromBackgroundTest.java | 65 doSelectAds( in testRunAdSelectionFromBackground()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ |
D | FledgeScenarioTest.java | 167 protected AdSelectionOutcome doSelectAds(AdSelectionConfig adSelectionConfig) in doSelectAds() method in FledgeScenarioTest
|