Home
last modified time | relevance | path

Searched refs:mRequest (Results 1 – 11 of 11) sorted by relevance

/external/volley/src/test/java/com/android/volley/
DResponseDeliveryTest.java35 private MockRequest mRequest; field in ResponseDeliveryTest
41 mRequest = new MockRequest(); in setUp()
42 mRequest.setSequence(1); in setUp()
49 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseCallsDeliverResponse()
50 assertTrue(mRequest.deliverResponse_called); in postResponseCallsDeliverResponse()
51 assertFalse(mRequest.deliverError_called); in postResponseCallsDeliverResponse()
55 mRequest.cancel(); in postResponseSuppressesCanceled()
56 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseSuppressesCanceled()
57 assertFalse(mRequest.deliverResponse_called); in postResponseSuppressesCanceled()
58 assertFalse(mRequest.deliverError_called); in postResponseSuppressesCanceled()
[all …]
DNetworkDispatcherTest.java41 private MockRequest mRequest; field in NetworkDispatcherTest
51 mRequest = new MockRequest(); in setUp()
64 mNetworkQueue.add(mRequest); in successPostsResponse()
76 mNetworkQueue.add(mRequest); in exceptionPostsError()
83 mRequest.setShouldCache(false); in shouldCacheFalse()
84 mNetworkQueue.add(mRequest); in shouldCacheFalse()
91 mRequest.setShouldCache(true); in shouldCacheTrue()
92 mRequest.setCacheKey("bananaphone"); in shouldCacheTrue()
93 mNetworkQueue.add(mRequest); in shouldCacheTrue()
DCacheDispatcherTest.java41 private MockRequest mRequest; field in CacheDispatcherTest
51 mRequest = new MockRequest(); in setUp()
64 mRequest.cancel(); in cancelledRequest()
65 mCacheQueue.add(mRequest); in cancelledRequest()
73 mCacheQueue.add(mRequest); in cacheMiss()
85 mCacheQueue.add(mRequest); in nonExpiredCacheHit()
95 mCacheQueue.add(mRequest); in softExpiredCacheHit()
108 mCacheQueue.add(mRequest); in expiredCacheHit()
/external/volley/src/main/java/com/android/volley/
DExecutorDelivery.java78 private final Request mRequest; field in ExecutorDelivery.ResponseDeliveryRunnable
83 mRequest = request; in ResponseDeliveryRunnable()
92 if (mRequest.isCanceled()) { in run()
93 mRequest.finish("canceled-at-delivery"); in run()
99 mRequest.deliverResponse(mResponse.result); in run()
101 mRequest.deliverError(mResponse.error); in run()
107 mRequest.addMarker("intermediate-response"); in run()
109 mRequest.finish("done"); in run()
/external/apache-http/android/src/android/net/http/
DRequestHandle.java43 private Request mRequest; field in RequestHandle
75 mRequest = request; in RequestHandle()
95 if (mRequest != null) { in cancel()
96 mRequest.cancel(); in cancel()
105 if (mRequest != null) { in pauseRequest()
106 mRequest.setLoadingPaused(pause); in pauseRequest()
115 if (mRequest != null) { in handleSslErrorResponse()
116 mRequest.handleSslErrorResponse(proceed); in handleSslErrorResponse()
159 mRequest); in setupRedirect()
160 mRequest.error(EventHandler.ERROR_REDIRECT_LOOP, in setupRedirect()
[all …]
DRequestQueue.java344 private Request mRequest; field in RequestQueue.SyncFeeder
348 Request r = mRequest; in getRequest()
349 mRequest = null; in getRequest()
356 return mRequest != null; in haveRequest()
359 mRequest = r; in requeueRequest()
/external/volley/src/main/java/com/android/volley/toolbox/
DRequestFuture.java56 private Request<?> mRequest; field in RequestFuture
68 mRequest = request; in setRequest()
73 if (mRequest == null) { in cancel()
78 mRequest.cancel(); in cancel()
129 if (mRequest == null) { in isCancelled()
132 return mRequest.isCanceled(); in isCancelled()
DImageLoader.java392 private final Request<?> mRequest;
409 mRequest = request;
444 mRequest.cancel();
/external/nist-sip/java/javax/sip/
DRequestEvent.java8 private Request mRequest; field in RequestEvent
15 mRequest = request; in RequestEvent()
24 return mRequest; in getRequest()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java854 private SendReq mRequest; field in SmsFacade.MmsBuilder
879 mRequest = new SendReq(); in MmsBuilder()
884 mRequest.setFrom(new EncodedStringValue(number)); in setFromPhoneNumber()
888 mRequest.setTo(new EncodedStringValue[] { in setToPhoneNumber()
893 mRequest.setTo(EncodedStringValue.encodeStrings((String[]) number.toArray())); in setToPhoneNumbers()
897 mRequest.setSubject(new EncodedStringValue(subject)); in setSubject()
905 mRequest.setDate(time); in setDate()
913 mRequest.setMessageClass(messageClass.getBytes()); in setMessageClass()
918 mRequest.setPriority(priority); in setMessagePriority()
926 mRequest.setDeliveryReport((report) ? PduHeaders.VALUE_YES : PduHeaders.VALUE_NO); in setDeliveryReport()
[all …]
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTest.java132 private final MessageReceiverWithResponder mRequest; field in ValidationTest.RoutingMessageReceiver
137 this.mRequest = request; in RoutingMessageReceiver()
151 return mRequest.acceptWithResponder(message, new SinkMessageReceiver()); in accept()