/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | TrustedBiddingDataFetcherTest.java | 111 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 …]
|
D | FrequencyCapFilteringE2ETest.java | 352 .fetchPayload(any(Uri.class), any(ImmutableSet.class), any(DevContext.class)); in setup() 360 .fetchPayload(any(Uri.class), any(DevContext.class)); in setup()
|
D | AdsScoreGeneratorImplTest.java | 689 when(mMockHttpsClient.fetchPayload( in testRunAdScoringSuccess_withDebugReportingEnabled() 776 .fetchPayload(uriArgumentCaptor.capture(), devContextArgumentCaptor.capture()); in testRunAdScoringSuccess_withDebugReportingEnabled() 1619 when(mMockHttpsClient.fetchPayload( in testRunAdScoringTimesOut()
|
D | OnDeviceAdSelectionRunnerTest.java | 3302 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/ |
D | AdServicesHttpsClientTest.java | 252 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/ |
D | UpdatesDownloaderTest.java | 85 when(mMockAdServicesHttpsClient.fetchPayload(request)).thenReturn(returnValue); in testGetValidJsonSuccess() 109 when(mMockAdServicesHttpsClient.fetchPayload(request)).thenReturn(returnValue); in testInvalidJsonThrowsExecutionException() 129 when(mMockAdServicesHttpsClient.fetchPayload(request)) in testPayloadSizeTooLargeThrowsIae()
|
D | SignalsIntakeE2ETest.java | 738 when(mAdServicesHttpsClientMock.fetchPayload(expected)).thenReturn(returnValue); in setupAndRunUpdateSignals()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | TrustedBiddingDataFetcher.java | 191 return mAdServicesHttpsClient.fetchPayload( 194 return mAdServicesHttpsClient.fetchPayload(uri, mDevContext);
|
D | AdsScoreGeneratorImpl.java | 453 return mAdServicesHttpsClient.fetchPayload( 456 return mAdServicesHttpsClient.fetchPayload(uri, mDevContext);
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/ |
D | AdServicesHttpsClient.java | 246 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/ |
D | UpdatesDownloader.java | 77 FluentFuture.from(mHttpClient.fetchPayload(request)); in getUpdateJson()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | BackgroundFetchRunner.java | 229 return FluentFuture.from(mHttpsClient.fetchPayload(dailyFetchUri, devContext)) in fetchAndValidateCustomAudienceUpdatableData()
|
D | FetchCustomAudienceImpl.java | 375 return mHttpClient.fetchPayload( in performFetch()
|