/external/volley/src/test/java/com/android/volley/toolbox/ |
D | BaseHttpStackTest.java | 42 Request<?> request, Map<String, String> additionalHeaders) in legacyRequestWithoutBody() 45 assertSame(ADDITIONAL_HEADERS, additionalHeaders); in legacyRequestWithoutBody() 61 Request<?> request, Map<String, String> additionalHeaders) in legacyResponseWithBody() 64 assertSame(ADDITIONAL_HEADERS, additionalHeaders); in legacyResponseWithBody() 82 Request<?> request, Map<String, String> additionalHeaders) in legacyResponseHeaders() 85 assertSame(ADDITIONAL_HEADERS, additionalHeaders); in legacyResponseHeaders()
|
D | HttpStackConformanceTest.java | 145 Map<String, String> additionalHeaders = new HashMap<>(); in headerPrecedence() local 146 additionalHeaders.put("A", "AddlA"); in headerPrecedence() 147 additionalHeaders.put("B", "AddlB"); in headerPrecedence() 163 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence() 179 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence()
|
/external/volley/src/test/java/com/android/volley/mock/ |
D | MockHttpStack.java | 60 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument 70 if (additionalHeaders != null) { in executeRequest() 71 mLastHeaders.putAll(additionalHeaders); in executeRequest()
|
D | MockAsyncStack.java | 61 Request<?> request, Map<String, String> additionalHeaders, OnRequestComplete callback) { in executeRequest() argument 76 if (additionalHeaders != null) { in executeRequest() 77 mLastHeaders.putAll(additionalHeaders); in executeRequest()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | BaseHttpStack.java | 53 Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument 66 Request<?> request, Map<String, String> additionalHeaders) in performRequest() argument 68 HttpResponse response = executeRequest(request, additionalHeaders); in performRequest()
|
D | AsyncHttpStack.java | 56 Request<?> request, Map<String, String> additionalHeaders, OnRequestComplete callback); in executeRequest() argument 98 Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument 104 additionalHeaders, in executeRequest()
|
D | HttpClientStack.java | 77 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() argument 79 HttpUriRequest httpRequest = createHttpRequest(request, additionalHeaders); in performRequest() 80 setHeaders(httpRequest, additionalHeaders); in performRequest() 97 Request<?> request, Map<String, String> additionalHeaders) throws AuthFailureError { in createHttpRequest() argument
|
D | AdaptedHttpStack.java | 44 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument 48 apacheResp = mHttpStack.performRequest(request, additionalHeaders); in executeRequest()
|
D | HttpStack.java | 45 HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() argument
|
D | HurlStack.java | 68 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument 72 map.putAll(additionalHeaders); in executeRequest()
|
/external/volley/src/main/java/com/android/volley/cronet/ |
D | CronetHttpStack.java | 91 final Map<String, String> additionalHeaders, in executeRequest() argument 175 new SetUpRequestTask<>(request, url, builder, additionalHeaders, callback)); in executeRequest() 181 Map<String, String> additionalHeaders; field in CronetHttpStack.SetUpRequestTask 189 Map<String, String> additionalHeaders, in SetUpRequestTask() argument 195 this.additionalHeaders = additionalHeaders; in SetUpRequestTask() 206 setRequestHeaders(requestParameters, request, additionalHeaders); in run() 289 Map<String, String> additionalHeaders) in setRequestHeaders() argument 291 requestParameters.putAllHeaders(additionalHeaders); in setRequestHeaders()
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/upstream/ |
D | DataSpecTest.java | 307 Map<String, String> additionalHeaders = createHttpRequestHeaders(5, 10); in withAdditionalHeaders_setsCorrectHeaders() local 310 additionalHeaders.put(existingKey, "overwritten"); in withAdditionalHeaders_setsCorrectHeaders() 312 expectedHeaders.putAll(additionalHeaders); in withAdditionalHeaders_setsCorrectHeaders() 314 DataSpec dataSpecCopy = dataSpec.withAdditionalHeaders(additionalHeaders); in withAdditionalHeaders_setsCorrectHeaders()
|