/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | TrustedBiddingDataFetcherTest.java | 117 .setResponseBody( in testDevOptionDisabled_fetchForMultipleUri() 127 .setResponseBody( in testDevOptionDisabled_fetchForMultipleUri() 173 .setResponseBody( in testDevOptionDisabled_fetchForMultipleUriWithHeaders() 185 .setResponseBody( in testDevOptionDisabled_fetchForMultipleUriWithHeaders() 239 .setResponseBody( in testDevOptionDisabled_fetchFailedOrNoResultFromServer() 286 .setResponseBody( in testDevOptionDisabled_serverReturnedMalformedData() 296 .setResponseBody("not A VALID JSON{{}") in testDevOptionDisabled_serverReturnedMalformedData() 340 .setResponseBody( in testDevOptionEnabled_someCAhasDevOverride() 347 .setResponseBody(new JSONObject(ImmutableMap.of(KEY_2, VALUE_2)).toString()) in testDevOptionEnabled_someCAhasDevOverride() 399 .setResponseBody( in testFetchTrustedBiddingDataDataVersionEnabled() [all …]
|
D | FrequencyCapFilteringE2ETest.java | 349 .setResponseBody("{}") in setup() 357 .setResponseBody("{}") in setup() 365 .setResponseBody( in setup() 372 .setResponseBody(AdSelectionE2ETest.USE_BID_AS_SCORE_JS) in setup()
|
D | JsFetcherTest.java | 384 .setResponseBody("Some js") in testGerVersionHeader()
|
D | AdsScoreGeneratorImplTest.java | 1991 AdServicesHttpClientResponse.builder().setResponseBody(body).build()); in httpResponseWithBody()
|
D | OnDeviceAdSelectionRunnerTest.java | 3311 .setResponseBody(BUYER_DECISION_LOGIC_JS) in testGetDecisionLogic_NotPreDownloaded()
|
D | AdSelectionServiceImplTest.java | 8600 .setResponseBody(sellerDecisionLogicJs) in testReportImpressionSuccessWithValidImpressionReportingSubdomains()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/ |
D | HttpClientTest.java | 113 .setResponseBody(TEST_RESPONSE_BODY.getBytes(UTF_8)) in request_contentTypeXml_returnsXmlBody() 144 .setResponseBody(TEST_RESPONSE_BODY.getBytes(UTF_8)) in request_httpGetResponseBadRequest_throwsException() 175 .setResponseBody(TEST_RESPONSE_BODY.getBytes(UTF_8)) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork() 215 .setResponseBody(TEST_RESPONSE_BODY.getBytes(UTF_8)) in request_postJson_doNotEscapeForwardSlash() 239 .setResponseBody(TEST_RESPONSE_BODY.getBytes(UTF_8)) in request_postGzipJsonArray() 264 .setResponseBody(TEST_RESPONSE_BODY.getBytes(UTF_8)) in request_postJsonArray() 292 .setResponseBody(HttpClient.toGzipBytes(TEST_RESPONSE_BODY)) in request_postGzipJsonArray_response_gunzipJsonArray() 316 .setResponseBody(TEST_RESPONSE_BODY.getBytes(UTF_8)) in request_getResponseCodeFailed_expectThrowsException()
|
D | FakeURLStreamHandler.java | 196 .setResponseBody(new byte[]{}) in builder() 211 public abstract Builder setResponseBody(byte[] value); in setResponseBody() method in FakeURLStreamHandler.FakeResponse.Builder
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/cache/ |
D | CacheEntryDaoTest.java | 58 .setResponseBody(BODY) 118 .setResponseBody(BODY) in test_CacheEntryGetStaleEntry_Failure() 151 .setResponseBody(BODY) in test_CacheEntryDeleteStaleQueries_SmallMaxAge_Succeeds() 176 .setResponseBody(BODY) in test_CachePrunedToDesiredSizeAndFIFO_Success()
|
D | FledgeHttpCacheTest.java | 102 .setResponseBody(mBody) in setup()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/ |
D | AdServicesHttpClientResponse.java | 50 return builder().setResponseBody(responseBody).setResponseHeaders(responseHeaders).build(); in create() 64 public abstract AdServicesHttpClientResponse.Builder setResponseBody(String responseBody); in setResponseBody() method in AdServicesHttpClientResponse.Builder
|
D | AdServicesHttpsClient.java | 413 .setResponseBody(responseBody) in doFetchPayload() 460 .setResponseBody(cachedEntry.getResponseBody()) in getResultsFromCache() 715 .setResponseBody(responseBody) in doPerformRequestAndGetResponse()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | AuctionEncryptionKeyFixture.java | 109 .setResponseBody(getDefaultAuctionResponseBody()) in mockAuctionKeyFetchResponse() 117 .setResponseBody(getDefaultAuctionResponseBodyWithOneKey()) in mockAuctionKeyFetchResponseWithOneKey() 126 .setResponseBody(getDeterministicAuctionResponseBody(auctionKey)) in mockAuctionKeyFetchResponseWithGivenKey()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | ScheduledUpdatesHandlerTest.java | 190 .setResponseBody(responsePayload) in testPerformScheduledUpdates_Success() 265 .setResponseBody(responsePayload) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 347 .setResponseBody(responsePayload) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 433 .setResponseBody(responsePayload) in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabledButNoFlagsInResponse() 515 .setResponseBody(responsePayloadJSON.toString()) in testPerformScheduledUpdatesDoesNotPersistCAsWithMissingField() 559 .setResponseBody(responsePayloadJSON.toString()) in testPerformScheduledUpdatesThrowsExceptionForMissingFieldWithAuctionServerRequestFlagsEnabled() 595 .setResponseBody(responsePayload) in testPerformScheduledUpdates_PartialCaDifferentNames_Success() 673 .setResponseBody(responsePayload) in testPerformScheduledUpdates_InvalidPartialCa_PartialSuccess() 744 .setResponseBody(responsePayload) in testPerformScheduledUpdates_NoOverrides_Success() 809 .setResponseBody(responsePayload) in testPerformScheduledUpdates_LargeInsertFail_LeaveSuccess() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/ |
D | EncoderLogicHandlerTest.java | 139 .setResponseBody(body) in testDownloadAndUpdate_success() 201 .setResponseBody(body) in testExtractAndPersistEncoder_Success() 222 AdServicesHttpClientResponse.builder().setResponseBody(body).build(); in testExtractAndPersistEncoder_MissingVersionFallback() 248 .setResponseBody(body) in testExtractAndPersistEncoder_UnreadableVersionFallback() 277 .setResponseBody(body) in testExtractAndPersistEncoderFailed_SkipUpdate() 344 .setResponseBody(body) in testExtractAndPersistEncoder_PreventsOverwrites()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | AuctionEncryptionKeyParserTest.java | 100 AdServicesHttpClientResponse.builder().setResponseBody("").build())) in getDbEncryptionKeys_emptyResponseBody_emptyList() 109 .setResponseBody(getAuctionResponseBodySingleKey()) in getDbEncryptionKeys_missingMaxAge_usesDefaultAge() 125 .setResponseBody(getAuctionResponseBodySingleKey()) in getDbEncryptionKeys_parsesSingleKey()
|
D | JoinEncryptionKeyParserTest.java | 99 .setResponseBody("") in getDbEncryptionKeys_missingHeaders_throwsIAE() 110 .setResponseBody("") in getDbEncryptionKeys_emptyResponseBody_throwsIAE()
|
D | JoinEncryptionKeyTestUtil.java | 88 .setResponseBody(getDefaultJoinResponseBody()) in mockJoinKeyFetchResponse()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/ |
D | UpdatesDownloaderTest.java | 73 AdServicesHttpClientResponse.builder().setResponseBody(JSON).build(); in testGetValidJsonSuccess() 98 AdServicesHttpClientResponse.builder().setResponseBody("{abc").build(); in testInvalidJsonThrowsExecutionException()
|
D | SignalsIntakeE2ETest.java | 735 AdServicesHttpClientResponse.builder().setResponseBody(json).build(); in setupAndRunUpdateSignals()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/ |
D | DBCacheEntry.java | 93 .setResponseBody(responseBody) in create() 113 public abstract DBCacheEntry.Builder setResponseBody(String responseBody); in setResponseBody() method in DBCacheEntry.Builder
|
D | FledgeHttpCache.java | 128 .setResponseBody(body) in put()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 551 server.setResponseBody(TEST_URL_QUERY, in runCustomSchemeTest() 627 server.setResponseBody(TEST_URL_QUERY, in testDownload() 798 private void setResponseBody(String query, String body) { in setResponseBody() method in CaptivePortalLoginActivityTest.HttpServer 831 server.setResponseBody(TEST_URL_QUERY, in prepareTestDirectlyOpen()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/ |
D | KAnonCallerImplTest.java | 827 .setResponseBody( in setupMockWithCountDownLatch() 839 .setResponseBody( in setupMockWithCountDownLatch() 851 .setResponseBody(BaseEncoding.base64().encode(EMPTY_BODY)) in setupMockWithCountDownLatch()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/ |
D | AdServicesHttpsClientTest.java | 495 AdServicesHttpClientResponse.builder().setResponseBody("").build(); in testAdServiceRequestResponseDefault_Empty()
|