Home
last modified time | relevance | path

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

/external/volley/src/test/java/com/android/volley/toolbox/
DBasicNetworkTest.java83 httpNetwork.performRequest(request); in headersAndPostParams()
115 NetworkResponse response = httpNetwork.performRequest(request); in notModified()
149 NetworkResponse response = httpNetwork.performRequest(request); in notModified_legacyCache()
171 httpNetwork.performRequest(request); in socketTimeout()
188 httpNetwork.performRequest(request); in noConnectionDefault()
206 httpNetwork.performRequest(request); in noConnectionRetry()
225 httpNetwork.performRequest(request); in noConnectionNoRetry()
243 httpNetwork.performRequest(request); in unauthorized()
261 httpNetwork.performRequest(request); in forbidden()
280 httpNetwork.performRequest(request); in redirect()
[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()
DBasicAsyncNetworkTest.java150 httpNetwork.performRequest(request, mockCallback); in notModified()
208 httpNetwork.performRequest(request, mockCallback); in socketTimeout()
225 httpNetwork.performRequest(request, mockCallback); in noConnectionDefault()
243 httpNetwork.performRequest(request, mockCallback); in noConnectionRetry()
261 httpNetwork.performRequest(request, mockCallback); in noConnectionNoRetry()
279 httpNetwork.performRequest(request, mockCallback); in unauthorized()
309 httpNetwork.performRequest(request, mockCallback); in forbidden()
328 httpNetwork.performRequest(request, mockCallback); in redirect()
357 httpNetwork.performRequest(request, mockCallback); in otherClientError()
381 httpNetwork.performRequest(request, mockCallback); in serverError_enableRetries()
[all …]
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/
DAsyncNetwork.java48 public abstract void performRequest(Request<?> request, OnRequestComplete callback); in performRequest() method in AsyncNetwork
58 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest() method in AsyncNetwork
62 performRequest( in performRequest()
DNetwork.java28 NetworkResponse performRequest(Request<?> request) throws VolleyError; in performRequest() method
DNetworkDispatcher.java132 NetworkResponse networkResponse = mNetwork.performRequest(request); in processRequest()
DAsyncRequestQueue.java341 mNetwork.performRequest( in run()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-flow-08.kt11 suspend fun performRequest(request: Int): String { in <lambda>() method
18 .map { request -> performRequest(request) } in <lambda>()
Dexample-flow-09.kt11 suspend fun performRequest(request: Int): String { in <lambda>() method
20 emit(performRequest(request)) in <lambda>()
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpStack.java45 HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() method
DBasicAsyncNetwork.java135 performRequest(request, callback); in onRequestFailed()
139 public void performRequest(final Request<?> request, final OnRequestComplete callback) { in performRequest() method in BasicAsyncNetwork
DAdaptedHttpStack.java48 apacheResp = mHttpStack.performRequest(request, additionalHeaders); in executeRequest()
DBaseHttpStack.java65 public final org.apache.http.HttpResponse performRequest( in performRequest() method in BaseHttpStack
DBasicNetwork.java93 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest() method in BasicNetwork
DHttpClientStack.java77 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() method in HttpClientStack