Home
last modified time | relevance | path

Searched refs:additionalHeaders (Results 1 – 12 of 12) sorted by relevance

/external/volley/src/test/java/com/android/volley/toolbox/
DBaseHttpStackTest.java42 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()
DHttpStackConformanceTest.java145 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/
DMockHttpStack.java60 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument
70 if (additionalHeaders != null) { in executeRequest()
71 mLastHeaders.putAll(additionalHeaders); in executeRequest()
DMockAsyncStack.java61 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/
DBaseHttpStack.java53 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()
DAsyncHttpStack.java56 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()
DHttpClientStack.java77 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
DAdaptedHttpStack.java44 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument
48 apacheResp = mHttpStack.performRequest(request, additionalHeaders); in executeRequest()
DHttpStack.java45 HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() argument
DHurlStack.java68 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/
DCronetHttpStack.java91 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/
DDataSpecTest.java307 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()