Home
last modified time | relevance | path

Searched refs:getHeaders (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DMailToTest.java49 assertEquals(1, mailTo_1.getHeaders().size()); in testParseMailToURI()
58 assertEquals(2, mailTo_2.getHeaders().size()); in testParseMailToURI()
71 assertEquals(2, mailTo_3.getHeaders().size()); in testParseMailToURI()
84 assertEquals(2, mailTo_4.getHeaders().size()); in testParseMailToURI()
97 Log.d("Trace", mailTo_5.toString() + mailTo_5.getHeaders().toString() in testParseMailToURI()
98 + mailTo_5.getHeaders().size()); in testParseMailToURI()
99 assertEquals(3, mailTo_5.getHeaders().size()); in testParseMailToURI()
112 Log.d("Trace", mailTo_6.toString() + mailTo_6.getHeaders().toString() in testParseMailToURI()
113 + mailTo_6.getHeaders().size()); in testParseMailToURI()
114 assertEquals(3, mailTo_6.getHeaders().size()); in testParseMailToURI()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpResponseTest.java39 Assert.assertNotNull(response.getHeaders()); in testBuildWithMinimalRequiredValues()
40 Assert.assertEquals(0, response.getHeaders().size()); in testBuildWithMinimalRequiredValues()
60 Assert.assertNotNull(response.getHeaders()); in testBuildWithAllValues()
61 Assert.assertEquals(2, response.getHeaders().size()); in testBuildWithAllValues()
62 Assert.assertEquals("1", response.getHeaders().get("x-content").get(0)); in testBuildWithAllValues()
63 Assert.assertEquals("2", response.getHeaders().get("x-content").get(1)); in testBuildWithAllValues()
64 Assert.assertEquals("xyz", response.getHeaders().get("api-key").get(0)); in testBuildWithAllValues()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpClientTest.java97 assertThat(response.getHeaders()).isEqualTo(mockHeaders); in testPerformGetRequestSuccess()
115 assertTrue(response.getHeaders().isEmpty()); in testPerformGetRequestFails()
135 assertTrue(response.getHeaders().isEmpty()); in testPerformGetRequestFailsWithRetry()
173 assertThat(response.getHeaders()).isEqualTo(mockHeaders); in testPerformGetRequestSuccessWithRetry()
194 assertThat(response.getHeaders()).isEqualTo(mockHeaders); in testPerformPostRequestSuccess()
DFederatedComputeHttpResponseTest.java60 assertThat(response.getHeaders()).isEqualTo(headers); in testBuildWithAllValues()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DScenario.java70 abstract ImmutableMap<String, String> getHeaders(); in getHeaders() method in Scenario.Request
204 abstract ImmutableMap<String, String> getHeaders(); in getHeaders() method in Scenario.Response
DScenarioDispatcher.java187 for (Map.Entry<String, String> mockHeader : mockResponse.getHeaders().entrySet()) { in dispatch()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DTrustedBiddingDataFetcherTest.java205 result.get(PATH_1).getHeaders().toString()); in testDevOptionDisabled_fetchForMultipleUriWithHeaders()
214 result.get(PATH_2).getHeaders().toString()); in testDevOptionDisabled_fetchForMultipleUriWithHeaders()
428 .getHeaders() in testFetchTrustedBiddingDataDataVersionEnabled()
476 assertEquals("{}", result.get(PATH_1).getHeaders().toString()); in testFetchTrustedBiddingDataDataVersionDisabled()
DAdBidGeneratorImplTest.java1635 if (request.getHeaders().stream() in testV2BiddingLogicDoesNotAddHeaders_Success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DTrustedBiddingResponse.java31 abstract JSONObject getHeaders(); in getHeaders() method in TrustedBiddingResponse
DDataVersionFetcher.java69 trustedBiddingResponsesByBaseUri.get(trustedBiddingData.getUri()).getHeaders(); in getBuyerDataVersion()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementHttpResponse.java45 public Map<String, List<String>> getHeaders() { in getHeaders() method in MeasurementHttpResponse
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DFederatedComputeHttpResponse.java43 public Map<String, List<String>> getHeaders() { in getHeaders() method in FederatedComputeHttpResponse
DHttpClientUtil.java139 for (Map.Entry<String, List<String>> header : response.getHeaders().entrySet()) { in getTotalReceivedBytes()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java93 String retryAfter = e.getHeaders().getField("Retry-After"); in getOrPost()
314 public @NonNull Headers getHeaders() { in getHeaders() method in Http.HttpError
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/registration/
DMessageConverter.java55 for (Iterator<SIPHeader> it = ((SIPMessage) message).getHeaders(); it.hasNext(); ) { in toPlatformMessage()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java203 List<String> headers = takeRequest().getHeaders(); in testInterruptedDownload()
379 List<String> headers = takeRequest().getHeaders(); in testRequestHeaders()
789 for (String h : req.getHeaders()) { in getHeaderValue()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DFederatedComputeEncryptionKeyManager.java187 Map<String, List<String>> headers = keyFetchResponse.getHeaders(); in parseFetchEncryptionKeyPayload()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java218 public Collection<Pair<String, String>> getHeaders() { in getHeaders() method in DownloadInfo
DDownloadThread.java821 for (Pair<String, String> header : mInfo.getHeaders()) { in addRequestHeaders()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dhttpcore-4.4.13.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/modules/Connectivity/framework/api/
Dcurrent.txt540 method @NonNull public abstract android.net.http.HeaderBlock getHeaders();
744 method @NonNull public abstract android.net.http.HeaderBlock getHeaders();
811 method @NonNull public abstract android.net.http.HeaderBlock getHeaders();