Home
last modified time | relevance | path

Searched refs:postResponse (Results 1 – 8 of 8) sorted by relevance

/external/volley/src/test/java/com/android/volley/
DCacheDispatcherTest.java79 verify(delivery, never()).postResponse(any(Request.class), any(Response.class)); in verifyNoResponse()
81 .postResponse(any(Request.class), any(Response.class), any(Runnable.class)); in verifyNoResponse()
109 verify(mDelivery).postResponse(any(Request.class), any(Response.class)); in nonExpiredCacheHit()
123 verify(mDelivery).postResponse(any(Request.class), any(Response.class), runnable.capture()); in softExpiredCacheHit()
195 verify(mDelivery).postResponse(any(Request.class), any(Response.class), runnable.capture()); in duplicateSoftExpiredCacheHit_failedRequest()
201 .postResponse(any(Request.class), any(Response.class), any(Runnable.class)); in duplicateSoftExpiredCacheHit_failedRequest()
224 verify(mDelivery).postResponse(any(Request.class), any(Response.class), runnable.capture()); in duplicateSoftExpiredCacheHit_successfulRequest()
230 .postResponse(any(Request.class), any(Response.class), any(Runnable.class)); in duplicateSoftExpiredCacheHit_successfulRequest()
236 .postResponse(any(Request.class), any(Response.class), any(Runnable.class)); in duplicateSoftExpiredCacheHit_successfulRequest()
DResponseDeliveryTest.java50 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseCallsDeliverResponse()
58 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseSuppressesCanceled()
67 mDelivery.postResponse(mRequest, errorResponse); in postErrorCallsDeliverError()
DNetworkDispatcherTest.java70 verify(mDelivery).postResponse(any(Request.class), response.capture()); in successPostsResponse()
105 verify(mDelivery, never()).postResponse(any(Request.class), any(Response.class)); in exceptionPostsError()
/external/volley/src/main/java/com/android/volley/
DExecutorDelivery.java53 public void postResponse(Request<?> request, Response<?> response) { in postResponse() method in ExecutorDelivery
54 postResponse(request, response, null); in postResponse()
58 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() method in ExecutorDelivery
DResponseDelivery.java21 void postResponse(Request<?> request, Response<?> response); in postResponse() method
27 void postResponse(Request<?> request, Response<?> response, Runnable runnable); in postResponse() method
DCacheDispatcher.java164 mDelivery.postResponse(request, response); in processRequest()
177 mDelivery.postResponse( in processRequest()
194 mDelivery.postResponse(request, response); in processRequest()
242 mCacheDispatcher.mDelivery.postResponse(waiting, response); in onResponseReceived()
DNetworkDispatcher.java156 mDelivery.postResponse(request, response); in processRequest()
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DShadowDefaultRequestDirectorTest.java139 HttpResponse postResponse = in shouldReturnRequestsByRule_AnyMethod() local
141 assertNotNull(postResponse); in shouldReturnRequestsByRule_AnyMethod()
142 assertThat(postResponse.getStatusLine().getStatusCode()).isEqualTo(200); in shouldReturnRequestsByRule_AnyMethod()
143 assertThat(getStringContent(postResponse)).isEqualTo("a cheery response body"); in shouldReturnRequestsByRule_AnyMethod()
159 HttpResponse postResponse = in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() local
161 InputStream postResponseStream = postResponse.getEntity().getContent(); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()