/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 80 Header[] headers1 = response1.getHeaders("Foo"); in headers() 86 Header[] headers2 = response2.getHeaders("Foo"); in headers() 158 Header[] headers1 = response1.getHeaders("Content-Type"); in contentType() 166 Header[] headers2 = response2.getHeaders("Content-Type"); in contentType() 174 Header[] headers3 = response3.getHeaders("Content-Type"); in contentType() 198 Header[] encodingHeaders = response.getHeaders("Content-Encoding"); in contentEncoding() 219 Header[] encodingHeaders = response.getHeaders("Content-Encoding"); in jsonGzipResponse() 225 Header[] typeHeaders = response.getHeaders("Content-Type"); in jsonGzipResponse() 245 Header[] encodingHeaders = response.getHeaders("Content-Encoding"); in jsonTransparentGzipResponse() 250 Header[] lengthHeaders = response.getHeaders("Content-Length"); in jsonTransparentGzipResponse() [all …]
|
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/ |
D | TestHttpResponseTest.java | 93 Header[] headers = resp.getHeaders("Location"); in shouldSupportGetHeadersWithArg() 105 assertThat(response.getHeaders("foo")[0].getValue()).isEqualTo("bar"); in canAddNewBasicHeader() 113 assertThat(response.getHeaders("foo")[0].getValue()).isEqualTo("bletch"); in canOverrideExistingHeaderValue() 121 assertThat(response.getHeaders("foo")[0].getValue()).isEqualTo("bletch"); in onlyOverridesFirstHeaderValue() 122 assertThat(response.getHeaders("foo")[1].getValue()).isEqualTo("baz"); in onlyOverridesFirstHeaderValue()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 63 assertEquals(Arrays.asList("s=square", "a=android"), request.getHeaders("cookie")); in testRecordedRequestAccessors() 65 assertEquals(Arrays.asList("left", "right", "both"), request.getHeaders("x-whitespace")); in testRecordedRequestAccessors() 71 assertEquals(Arrays.asList("Content-Length: 0"), response.getHeaders()); in testDefaultMockResponse() 77 assertEquals(Arrays.asList("Content-Length: 3"), response.getHeaders()); in testSetBodyAdjustsHeaders() 92 response.getHeaders()); in testMockResponseAddHeader() 103 response.getHeaders()); in testMockResponseSetHeader() 120 assertTrue(request.getHeaders().contains("Accept-Language: en-US")); in testRegularResponse()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
D | PemWriter.java | 54 if (!obj.getHeaders().isEmpty()) in getOutputSize() 56 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in getOutputSize() 81 if (!obj.getHeaders().isEmpty()) in writeObject() 83 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in writeObject()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/io/pem/ |
D | PemWriter.java | 56 if (!obj.getHeaders().isEmpty()) in getOutputSize() 58 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in getOutputSize() 83 if (!obj.getHeaders().isEmpty()) in writeObject() 85 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in writeObject()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/pem/ |
D | PemWriter.java | 56 if (!obj.getHeaders().isEmpty()) in getOutputSize() 58 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in getOutputSize() 83 if (!obj.getHeaders().isEmpty()) in writeObject() 85 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in writeObject()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | RoundRobinLoadBalancerTest.java | 415 doReturn(headerWithStickinessValue).when(mockArgs).getHeaders(); in noStickinessEnabled_withStickyHeader() 445 doReturn(new Metadata()).when(mockArgs).getHeaders(); in stickinessEnabled_withoutStickyHeader() 458 verify(mockArgs, times(4)).getHeaders(); in stickinessEnabled_withoutStickyHeader() 480 doReturn(headerWithStickinessValue).when(mockArgs).getHeaders(); in stickinessEnabled_withStickyHeader() 488 verify(mockArgs, atLeast(4)).getHeaders(); in stickinessEnabled_withStickyHeader() 516 doReturn(headerWithStickinessValue1).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 519 doReturn(headerWithStickinessValue2).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 522 doReturn(headerWithStickinessValue1).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 525 doReturn(headerWithStickinessValue2).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 533 verify(mockArgs, atLeast(4)).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() [all …]
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpSessionHeadersTest.java | 64 assertEquals(ipAddress, session.getHeaders().get("remote-addr")); in testHeadersRemoteIp() 65 assertEquals(ipAddress, session.getHeaders().get("http-client-ip")); in testHeadersRemoteIp()
|
/external/volley/src/test/java/com/android/volley/mock/ |
D | MockHttpStack.java | 67 if (request.getHeaders() != null) { in executeRequest() 68 mLastHeaders.putAll(request.getHeaders()); in executeRequest()
|
D | MockAsyncStack.java | 69 if (request.getHeaders() != null) { in executeRequest() 70 mLastHeaders.putAll(request.getHeaders()); in executeRequest()
|
/external/volley/src/main/java/com/android/volley/cronet/ |
D | CronetHttpStack.java | 138 List<Header> headers = getHeaders(urlResponseInfo.getAllHeadersAsList()); in executeRequest() 220 public static List<Header> getHeaders(List<Map.Entry<String, String>> headersList) { in getHeaders() method in CronetHttpStack 293 requestParameters.putAllHeaders(request.getHeaders()); in setRequestHeaders() 334 for (Map.Entry<String, String> header : requestParameters.getHeaders().entrySet()) { in generateCurlCommand() 376 String contentEncoding = requestParameters.getHeaders().get("Content-Encoding"); in isBinaryContentForLogging() 387 String contentType = requestParameters.getHeaders().get("Content-Type"); in isBinaryContentForLogging() 590 TreeMap<String, String> getHeaders() { in getHeaders() method in CronetHttpStack.CurlLoggedRequestParameters
|
/external/volley/src/test/java/com/android/volley/cronet/ |
D | CronetHttpStackTest.java | 136 public Map<String, String> getHeaders() { in curlLogging_headers_withoutTokens() 170 public Map<String, String> getHeaders() { in curlLogging_headers_withTokens() 252 public Map<String, String> getHeaders() { in curlLogging_gzipTextRequest() 342 List<Header> actual = CronetHttpStack.getHeaders(list); in getHeadersEmptyTest() 354 List<Header> actual = CronetHttpStack.getHeaders(list); in getHeadersNonEmptyTest()
|
/external/nanohttpd/fileupload/src/main/java/fi/iki/elonen/ |
D | NanoFileUpload.java | 68 String cl1 = session.getHeaders().get("content-length"); in contentLength() 84 return this.session.getHeaders().get("content-type"); in getContentType()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | AdaptedHttpStackTest.java | 68 assertEquals(Collections.emptyList(), response.getHeaders()); in emptyResponse() 85 assertEquals(Collections.emptyList(), response.getHeaders()); in nonEmptyResponse() 126 assertEquals(expectedHeaders, response.getHeaders()); in responseWithHeaders()
|
/external/apache-http/src/org/apache/http/message/ |
D | AbstractHttpMessage.java | 78 public Header[] getHeaders(final String name) { in getHeaders() method in AbstractHttpMessage 79 return this.headergroup.getHeaders(name); in getHeaders()
|
D | HeaderGroup.java | 150 Header[] headers = getHeaders(name); in getCondensedHeader() 178 public Header[] getHeaders(String name) { in getHeaders() method in HeaderGroup
|
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/ |
D | GrpclbLoadBalancerTest.java | 311 when(args1.getHeaders()).thenReturn(headers1); in roundRobinPickerNoDrop() 313 verify(args1).getHeaders(); in roundRobinPickerNoDrop() 318 when(args2.getHeaders()).thenReturn(headers2); in roundRobinPickerNoDrop() 320 verify(args2).getHeaders(); in roundRobinPickerNoDrop() 325 when(args3.getHeaders()).thenReturn(headers3); in roundRobinPickerNoDrop() 327 verify(args3).getHeaders(); in roundRobinPickerNoDrop() 352 when(args1.getHeaders()).thenReturn(headers1); in roundRobinPickerWithDrop() 354 verify(args1).getHeaders(); in roundRobinPickerWithDrop() 360 when(args2.getHeaders()).thenReturn(headers2); in roundRobinPickerWithDrop() 362 verify(args2, never()).getHeaders(); in roundRobinPickerWithDrop() [all …]
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionResponse.java | 50 this.headers.addAll(getHeaders()); in URLConnectionResponse() 75 private List<Map.Entry<String, String>> getHeaders() { in getHeaders() method in URLConnectionResponse
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | RecordedRequest.java | 110 public List<String> getHeaders() { in getHeaders() method in RecordedRequest 131 public List<String> getHeaders(String name) { in getHeaders() method in RecordedRequest
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 161 private Headers getHeaders() throws IOException { in getHeaders() method in HttpURLConnectionImpl 192 return getHeaders().value(position); in getHeaderField() 207 : getHeaders().get(fieldName); in getHeaderField() 215 return getHeaders().name(position); in getHeaderFieldKey() 223 return OkHeaders.toMultimap(getHeaders(), in getHeaderFields()
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 165 private Headers getHeaders() throws IOException { in getHeaders() method in HttpURLConnectionImpl 196 return getHeaders().value(position); in getHeaderField() 211 : getHeaders().get(fieldName); in getHeaderField() 219 return getHeaders().name(position); in getHeaderFieldKey() 227 return OkHeaders.toMultimap(getHeaders(), in getHeaderFields()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpMethodResponse.java | 59 this.headers.addAll(getHeaders()); in HttpMethodResponse() 79 private List<Map.Entry<String, String>> getHeaders() in getHeaders() method in HttpMethodResponse
|
/external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/ |
D | TestNanoFileUpLoad.java | 124 this.header = session.getHeaders(); in serve() 129 session.getHeaders().put("content-length", "AA"); in serve() 151 fileItem.setHeaders(item.getHeaders()); in serve()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverterTest.java | 107 @Override public Map<String, List<String>> getHeaders() throws IOException { in createOkResponseForCacheGet() 139 @Override public Map<String, List<String>> getHeaders() throws IOException { in createOkResponseForCacheGet_withMissingStatusLine() 167 @Override public Map<String, List<String>> getHeaders() throws IOException { in createOkResponseForCacheGet_secure() 517 Map<String, List<String>> javaHeaders = javaCacheResponse.getHeaders(); in createJavaCacheResponse_httpGet() 541 Map<String, List<String>> javaHeaders = javaCacheResponse.getHeaders(); in createJavaCacheResponse_httpPost() 568 Map<String, List<String>> javaHeaders = javaCacheResponse.getHeaders(); in createJavaCacheResponse_httpsPost()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | PushPromise.java | 42 public Headers getHeaders() { in getHeaders() method in PushPromise
|