Home
last modified time | relevance | path

Searched refs:getBaseAddressWithPrefix (Results 1 – 14 of 14) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DScenarioDispatcherTest.java47 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_happyPath_httpGetSuccess()
61 URL url = new URL(dispatcher.getBaseAddressWithPrefix() + "/bidding"); in testScenarioDispatcher_withPrefix_httpGetSuccess()
74 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_withVerifyCalled_success()
89 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_withVerifyNotCalled_success()
103 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_withTwoSecondDelay_success()
120 makeSimpleGetRequest(new URL(dispatcher.getBaseAddressWithPrefix() + "/hello/world")); in testScenarioDispatcher_withMultiplePathSegments_httpGetSuccess()
133 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_withDuplicatePathCalls_doesNotReturnEarly()
150 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_withComplexUrlStructure_success()
170 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_withQueryParamPath_success()
185 String baseAddress = dispatcher.getBaseAddressWithPrefix().toString(); in testScenarioDispatcher_withQueryParamPath_doesNotFallback()
[all …]
DAdSelectionReportingTest.java54 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_defaultAdSelection_happyPath()
75 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_buyerRequestFails_sellerRequestSucceeds()
97 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_buyerLogicTimesOut_reportingFails()
126 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()) 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()
272 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testReportImpression_withBuyerBeacon_onlyReportsForViewInteraction()
[all …]
DAdSelectionTest.java81 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withBiddingAndScoringLogic_happyPath()
122 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withBiddingLogicV3_happyPath()
150 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withAdCostInUrl_happyPath()
181 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withAdCostInUrl_adCostIsReported()
212 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withFetchCustomAudience_fetchesAndReturnsSuccessfully()
223 dispatcher.getBaseAddressWithPrefix().toString() in testAdSelection_withFetchCustomAudience_fetchesAndReturnsSuccessfully()
253 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withShortlyExpiringCustomAudience_selectAdsThrowsException()
286 dispatcher.getBaseAddressWithPrefix().getHost())) in testAdSelectionOutcomes_withNoAdSelectionId_throwsException()
290 dispatcher.getBaseAddressWithPrefix() in testAdSelectionOutcomes_withNoAdSelectionId_throwsException()
318 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withDebugReporting_happyPath()
[all …]
DAdSelectionMediationTest.java59 URL baseAddress = dispatcher.getBaseAddressWithPrefix(); in testSelectAds_withAdSelectionFromOutcomes_happyPath()
87 AdSelectionConfig config = makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testSelectAds_withImpressionReporting_eventsAreReceived()
94 makeAdSelectionFromOutcomesConfig(dispatcher.getBaseAddressWithPrefix()) in testSelectAds_withImpressionReporting_eventsAreReceived()
134 doSelectAds(makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix())); in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
138 makeAdSelectionFromOutcomesConfig(dispatcher.getBaseAddressWithPrefix()) in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
151 makeAdSelectionFromOutcomesConfig(dispatcher.getBaseAddressWithPrefix()) in testAdSelectionFromOutcome_buyerMustEnrolledToParticipate()
DCustomAudienceShellCommandsScenarioTest.java68 AdTechIdentifier.fromString(dispatcher.getBaseAddressWithPrefix().getHost()); in testRun_refreshCustomAudiences_verifyCustomAudienceChanged()
69 String baseAddressWithPrefix = dispatcher.getBaseAddressWithPrefix().toString(); in testRun_refreshCustomAudiences_verifyCustomAudienceChanged()
DGenerateInputForEncodingShellCommandTest.java110 .getBaseAddressWithPrefix() in testRun_generateInputForEncoding_happyPath()
119 scenarioDispatcher.getBaseAddressWithPrefix().getHost())); in testRun_generateInputForEncoding_happyPath()
DFledgeApiCallFromBackgroundTest.java67 mDispatcher.getBaseAddressWithPrefix()))); in testRunAdSelectionFromBackground()
DSignalsCtsDebuggableTest.java130 mServerBaseAddress = scenarioDispatcher.getBaseAddressWithPrefix().toString(); in setupDispatcher()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/
DCustomAudienceBackgroundFetchTest.java62 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withInvalidFields_backgroundJobUpdatesSuccessfully()
89 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withInvalidAds_backgroundJobUpdateFails()
117 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withHighLatencyBackend_backgroundJobFails()
148 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withOverlyLargeDailyUpdate_backgroundJobFails()
176 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_withLongRunningJob_backgroundJobFails()
DScheduleCustomAudienceUpdateTest.java130 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success()
137 dispatcher.getBaseAddressWithPrefix().toString() in testScheduleCustomAudienceUpdate_DownloadedCaWinsAdSelection_success()
180 Uri updateUri = Uri.parse(dispatcher.getBaseAddressWithPrefix() + Scenarios.UPDATE_CA_PATH); in testScheduleCustomAudienceUpdate_Disabled_failure()
DAdBeaconRegistrationTest.java89 doSelectAds(makeAdSelectionConfig(mScenarioDispatcher.getBaseAddressWithPrefix())); in runAdSelectionAndReporting()
92 makeAdSelectionConfig(mScenarioDispatcher.getBaseAddressWithPrefix())); in runAdSelectionAndReporting()
DFledgeMaintenanceJobTest.java59 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_afterExpirationWindow_adSelectionDataCleared()
93 makeAdSelectionConfig(dispatcher.getBaseAddressWithPrefix()); in testAdSelection_afterExpirationWindow_adInteractionsIsCleared()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DScenarioDispatcher.java107 public URL getBaseAddressWithPrefix() { in getBaseAddressWithPrefix() method in ScenarioDispatcher
142 getBaseAddressWithPrefix().toString(), in ScenarioDispatcher()
144 getBaseAddressWithPrefix().toString(), in ScenarioDispatcher()
DFledgeScenarioTest.java292 mServerBaseAddress = scenarioDispatcher.getBaseAddressWithPrefix().toString(); in setupDispatcher()
295 scenarioDispatcher.getBaseAddressWithPrefix().getHost()); in setupDispatcher()
298 scenarioDispatcher.getBaseAddressWithPrefix().getHost()); in setupDispatcher()