Home
last modified time | relevance | path

Searched refs:fetchPayload (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DTrustedBiddingDataFetcherTest.java111 when(mAdServicesHttpsClient.fetchPayload( in testDevOptionDisabled_fetchForMultipleUri()
121 when(mAdServicesHttpsClient.fetchPayload( in testDevOptionDisabled_fetchForMultipleUri()
151 .fetchPayload( in testDevOptionDisabled_fetchForMultipleUri()
155 .fetchPayload( in testDevOptionDisabled_fetchForMultipleUri()
167 when(mAdServicesHttpsClient.fetchPayload( in testDevOptionDisabled_fetchForMultipleUriWithHeaders()
179 when(mAdServicesHttpsClient.fetchPayload( in testDevOptionDisabled_fetchForMultipleUriWithHeaders()
217 .fetchPayload( in testDevOptionDisabled_fetchForMultipleUriWithHeaders()
221 .fetchPayload( in testDevOptionDisabled_fetchForMultipleUriWithHeaders()
233 when(mAdServicesHttpsClient.fetchPayload( in testDevOptionDisabled_fetchFailedOrNoResultFromServer()
243 when(mAdServicesHttpsClient.fetchPayload( in testDevOptionDisabled_fetchFailedOrNoResultFromServer()
[all …]
DFrequencyCapFilteringE2ETest.java352 .fetchPayload(any(Uri.class), any(ImmutableSet.class), any(DevContext.class)); in setup()
360 .fetchPayload(any(Uri.class), any(DevContext.class)); in setup()
DAdsScoreGeneratorImplTest.java689 when(mMockHttpsClient.fetchPayload( in testRunAdScoringSuccess_withDebugReportingEnabled()
776 .fetchPayload(uriArgumentCaptor.capture(), devContextArgumentCaptor.capture()); in testRunAdScoringSuccess_withDebugReportingEnabled()
1619 when(mMockHttpsClient.fetchPayload( in testRunAdScoringTimesOut()
DOnDeviceAdSelectionRunnerTest.java3302 when(mMockHttpClient.fetchPayload( in testGetDecisionLogic_NotPreDownloaded()
3350 .fetchPayload( in testGetDecisionLogic_NotPreDownloaded()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java252 fetchPayload(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED); in testFetchPayloadSuccessfulResponse()
264 fetchPayload(Uri.parse(url.toString()), DEV_CONTEXT_ENABLED); in testFetchPayloadSuccessfulResponse_DevOptionsEnabled()
274 fetchPayload(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED); in testFetchPayloadCorrectPath()
291 () -> fetchPayload(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED)); in testFetchPayloadFailedResponse()
302 () -> fetchPayload(Uri.parse(mFakeUrl), DEV_CONTEXT_DISABLED)); in testFetchPayloadDomainDoesNotExist()
324 () -> fetchPayload(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED)); in testThrowsIOExceptionWhenConnectionTimesOut()
333 () -> fetchPayload(Uri.parse("http://google.com"), DEV_CONTEXT_DISABLED)); in testFetchPayloadThrowsExceptionIfUsingPlainTextHttp()
355 () -> fetchPayload(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED)); in testInputStreamToStringThrowsExceptionWhenExceedingMaxSize()
383 mClient.fetchPayload(Uri.parse((mFakeUrl)), DEV_CONTEXT_DISABLED); in testHttpsClientFreesResourcesWhenCancelled()
418 mClient.fetchPayload(Uri.parse((mFakeUrl)), DEV_CONTEXT_DISABLED); in testHttpsClientFreesResourcesInNormalFlow()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DUpdatesDownloaderTest.java85 when(mMockAdServicesHttpsClient.fetchPayload(request)).thenReturn(returnValue); in testGetValidJsonSuccess()
109 when(mMockAdServicesHttpsClient.fetchPayload(request)).thenReturn(returnValue); in testInvalidJsonThrowsExecutionException()
129 when(mMockAdServicesHttpsClient.fetchPayload(request)) in testPayloadSizeTooLargeThrowsIae()
DSignalsIntakeE2ETest.java738 when(mAdServicesHttpsClientMock.fetchPayload(expected)).thenReturn(returnValue); in setupAndRunUpdateSignals()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DTrustedBiddingDataFetcher.java191 return mAdServicesHttpsClient.fetchPayload(
194 return mAdServicesHttpsClient.fetchPayload(uri, mDevContext);
DAdsScoreGeneratorImpl.java453 return mAdServicesHttpsClient.fetchPayload(
456 return mAdServicesHttpsClient.fetchPayload(uri, mDevContext);
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClient.java246 public ListenableFuture<AdServicesHttpClientResponse> fetchPayload( in fetchPayload() method in AdServicesHttpsClient
249 return fetchPayload( in fetchPayload()
281 public ListenableFuture<AdServicesHttpClientResponse> fetchPayload( in fetchPayload() method in AdServicesHttpsClient
286 return fetchPayload( in fetchPayload()
301 public ListenableFuture<AdServicesHttpClientResponse> fetchPayload( in fetchPayload() method in AdServicesHttpsClient
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DUpdatesDownloader.java77 FluentFuture.from(mHttpClient.fetchPayload(request)); in getUpdateJson()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DBackgroundFetchRunner.java229 return FluentFuture.from(mHttpsClient.fetchPayload(dailyFetchUri, devContext)) in fetchAndValidateCustomAudienceUpdatableData()
DFetchCustomAudienceImpl.java375 return mHttpClient.fetchPayload( in performFetch()