/external/volley/src/test/java/com/android/volley/toolbox/ |
D | BasicNetworkTest.java | 83 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 …]
|
D | AdaptedHttpStackTest.java | 52 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()
|
D | BasicAsyncNetworkTest.java | 150 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 …]
|
D | BaseHttpStackTest.java | 49 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()
|
D | HttpStackConformanceTest.java | 163 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence() 179 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence()
|
/external/volley/src/test/java/com/android/volley/ |
D | RequestQueueIntegrationTest.java | 86 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()
|
D | NetworkDispatcherTest.java | 65 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/ |
D | AsyncNetwork.java | 48 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()
|
D | Network.java | 28 NetworkResponse performRequest(Request<?> request) throws VolleyError; in performRequest() method
|
D | NetworkDispatcher.java | 132 NetworkResponse networkResponse = mNetwork.performRequest(request); in processRequest()
|
D | AsyncRequestQueue.java | 341 mNetwork.performRequest( in run()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-flow-08.kt | 11 suspend fun performRequest(request: Int): String { in <lambda>() method 18 .map { request -> performRequest(request) } in <lambda>()
|
D | example-flow-09.kt | 11 suspend fun performRequest(request: Int): String { in <lambda>() method 20 emit(performRequest(request)) in <lambda>()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpStack.java | 45 HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() method
|
D | BasicAsyncNetwork.java | 135 performRequest(request, callback); in onRequestFailed() 139 public void performRequest(final Request<?> request, final OnRequestComplete callback) { in performRequest() method in BasicAsyncNetwork
|
D | AdaptedHttpStack.java | 48 apacheResp = mHttpStack.performRequest(request, additionalHeaders); in executeRequest()
|
D | BaseHttpStack.java | 65 public final org.apache.http.HttpResponse performRequest( in performRequest() method in BaseHttpStack
|
D | BasicNetwork.java | 93 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest() method in BasicNetwork
|
D | HttpClientStack.java | 77 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() method in HttpClientStack
|