Home
last modified time | relevance | path

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

/external/volley/src/test/java/com/android/volley/
DResponseDeliveryTest.java49 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseCallsDeliverResponse()
56 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseSuppressesCanceled()
64 mDelivery.postResponse(mRequest, errorResponse); in postErrorCallsDeliverError()
/external/volley/src/main/java/com/android/volley/
DExecutorDelivery.java54 public void postResponse(Request<?> request, Response<?> response) { in postResponse() method in ExecutorDelivery
55 postResponse(request, response, null); in postResponse()
59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() method in ExecutorDelivery
DResponseDelivery.java23 public void postResponse(Request<?> request, Response<?> response); in postResponse() method
29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable); in postResponse() method
DCacheDispatcher.java124 mDelivery.postResponse(request, response); in run()
137 mDelivery.postResponse(request, response, new Runnable() { in run()
DNetworkDispatcher.java135 mDelivery.postResponse(request, response); in run()
/external/volley/src/test/java/com/android/volley/mock/
DMockResponseDelivery.java35 public void postResponse(Request<?> request, Response<?> response) { in postResponse() method in MockResponseDelivery
41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() method in MockResponseDelivery
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java120 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod() local
121 assertNotNull(postResponse); in shouldReturnRequestsByRule_AnyMethod()
122 assertThat(postResponse.getStatusLine().getStatusCode(), equalTo(200)); in shouldReturnRequestsByRule_AnyMethod()
123 …assertThat(Strings.fromStream(postResponse.getEntity().getContent()), equalTo("a cheery response b… in shouldReturnRequestsByRule_AnyMethod()
138 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() local
139 InputStream postResponseStream = postResponse.getEntity().getContent(); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()