Home
last modified time | relevance | path

Searched refs:performRequest (Results 1 – 13 of 13) sorted by relevance

/external/volley/src/test/java/com/android/volley/toolbox/
DBasicNetworkTest.java82 httpNetwork.performRequest(request); in headersAndPostParams()
114 NetworkResponse response = httpNetwork.performRequest(request); in notModified()
148 NetworkResponse response = httpNetwork.performRequest(request); in notModified_legacyCache()
170 httpNetwork.performRequest(request); in socketTimeout()
187 httpNetwork.performRequest(request); in noConnection()
205 httpNetwork.performRequest(request); in unauthorized()
223 httpNetwork.performRequest(request); in forbidden()
242 httpNetwork.performRequest(request); in redirect()
267 httpNetwork.performRequest(request); in otherClientError()
289 httpNetwork.performRequest(request); in serverError_enableRetries()
[all …]
DAdaptedHttpStackTest.java52 when(mHttpStack.performRequest(REQUEST, ADDITIONAL_HEADERS)) in requestTimeout()
60 when(mHttpStack.performRequest(REQUEST, ADDITIONAL_HEADERS)).thenReturn(mHttpResponse); in emptyResponse()
74 when(mHttpStack.performRequest(REQUEST, ADDITIONAL_HEADERS)).thenReturn(mHttpResponse); in nonEmptyResponse()
92 when(mHttpStack.performRequest(REQUEST, ADDITIONAL_HEADERS)).thenReturn(mHttpResponse); in responseTooBig()
104 when(mHttpStack.performRequest(REQUEST, ADDITIONAL_HEADERS)).thenReturn(mHttpResponse); in responseWithHeaders()
DBaseHttpStackTest.java49 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); in legacyRequestWithoutBody()
69 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); in legacyResponseWithBody()
93 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); in legacyResponseHeaders()
DHttpStackConformanceTest.java163 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence()
179 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence()
/external/volley/src/test/java/com/android/volley/
DRequestQueueIntegrationTest.java86 when(mMockNetwork.performRequest(higherPriorityReq)).thenAnswer(delayAnswer); in add_requestProcessedInCorrectOrder()
87 when(mMockNetwork.performRequest(lowerPriorityReq)).thenReturn(mock(NetworkResponse.class)); in add_requestProcessedInCorrectOrder()
121 when(mMockNetwork.performRequest(req1)).thenAnswer(delayAnswer); in add_dedupeByCacheKey()
122 when(mMockNetwork.performRequest(req2)).thenReturn(mock(NetworkResponse.class)); in add_dedupeByCacheKey()
154 when(mMockNetwork.performRequest(request)).thenAnswer(delayAnswer); in add_requestFinishedListenerCanceled()
188 when(mMockNetwork.performRequest(request)).thenThrow(new VolleyError()); in add_requestFinishedListenerError()
DNetworkDispatcherTest.java65 when(mNetwork.performRequest(any(Request.class))) in successPostsResponse()
84 when(mNetwork.performRequest(any(Request.class))) in successNotifiesListener()
101 when(mNetwork.performRequest(any(Request.class))).thenThrow(new ServerError()); in exceptionPostsError()
115 when(mNetwork.performRequest(any(Request.class))).thenThrow(new ServerError()); in exceptionNotifiesListener()
138 when(mNetwork.performRequest(any(Request.class))) in shouldCacheTrue()
/external/volley/src/main/java/com/android/volley/
DNetwork.java28 NetworkResponse performRequest(Request<?> request) throws VolleyError; in performRequest() method
DNetworkDispatcher.java132 NetworkResponse networkResponse = mNetwork.performRequest(request); in processRequest()
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpStack.java45 HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() method
DAdaptedHttpStack.java48 apacheResp = mHttpStack.performRequest(request, additionalHeaders); in executeRequest()
DBaseHttpStack.java65 public final org.apache.http.HttpResponse performRequest( in performRequest() method in BaseHttpStack
DHttpClientStack.java77 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() method in HttpClientStack
DBasicNetwork.java113 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest() method in BasicNetwork