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/
DCacheDispatcherTest.java52 private StringRequest mRequest; field in CacheDispatcherTest
58 mRequest = new StringRequest(Request.Method.GET, "http://foo", null, null); in setUp()
88 mRequest.cancel(); in cancelledRequest()
89 mDispatcher.processRequest(mRequest); in cancelledRequest()
97 mDispatcher.processRequest(mRequest); in cacheMiss()
99 verify(mNetworkQueue).put(mRequest); in cacheMiss()
100 assertNull(mRequest.getCacheEntry()); in cacheMiss()
108 mDispatcher.processRequest(mRequest); in nonExpiredCacheHit()
118 mDispatcher.processRequest(mRequest); in softExpiredCacheHit()
126 verify(mNetworkQueue).put(mRequest); in softExpiredCacheHit()
[all …]
DResponseDeliveryTest.java34 private MockRequest mRequest; field in ResponseDeliveryTest
41 mRequest = new MockRequest(); in setUp()
42 mRequest.setSequence(1); in setUp()
50 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseCallsDeliverResponse()
51 assertTrue(mRequest.deliverResponse_called); in postResponseCallsDeliverResponse()
52 assertFalse(mRequest.deliverError_called); in postResponseCallsDeliverResponse()
57 mRequest.cancel(); in postResponseSuppressesCanceled()
58 mDelivery.postResponse(mRequest, mSuccessResponse); in postResponseSuppressesCanceled()
59 assertFalse(mRequest.deliverResponse_called); in postResponseSuppressesCanceled()
60 assertFalse(mRequest.deliverError_called); in postResponseSuppressesCanceled()
[all …]
DNetworkDispatcherTest.java51 private StringRequest mRequest; field in NetworkDispatcherTest
59 mRequest = new StringRequest(Request.Method.GET, "http://foo", null, null); in setUp()
67 mDispatcher.processRequest(mRequest); in successPostsResponse()
82 mRequest.setRequestQueue(queue); in successNotifiesListener()
87 mDispatcher.processRequest(mRequest); in successNotifiesListener()
92 mRequest, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_STARTED); in successNotifiesListener()
95 mRequest, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_FINISHED); in successNotifiesListener()
102 mDispatcher.processRequest(mRequest); in exceptionPostsError()
113 mRequest.setRequestQueue(queue); in exceptionNotifiesListener()
117 mDispatcher.processRequest(mRequest); in exceptionNotifiesListener()
[all …]
/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/
DExecutorDelivery.java74 private final Request mRequest; field in ExecutorDelivery.ResponseDeliveryRunnable
79 mRequest = request; in ResponseDeliveryRunnable()
95 if (mRequest.isCanceled()) { in run()
96 mRequest.finish("canceled-at-delivery"); in run()
102 mRequest.deliverResponse(mResponse.result); in run()
104 mRequest.deliverError(mResponse.error); in run()
110 mRequest.addMarker("intermediate-response"); in run()
112 mRequest.finish("done"); in run()
/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()
136 if (mRequest == null) { in isCancelled()
139 return mRequest.isCanceled(); in isCancelled()
DImageLoader.java421 private final Request<?> mRequest;
439 mRequest = request;
471 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.java937 private SendReq mRequest; field in SmsFacade.MmsBuilder
962 mRequest = new SendReq(); in MmsBuilder()
967 mRequest.setFrom(new EncodedStringValue(number)); in setFromPhoneNumber()
971 mRequest.setTo(new EncodedStringValue[] { in setToPhoneNumber()
976 mRequest.setTo(EncodedStringValue.encodeStrings((String[]) number.toArray())); in setToPhoneNumbers()
980 mRequest.setSubject(new EncodedStringValue(subject)); in setSubject()
988 mRequest.setDate(time); in setDate()
996 mRequest.setMessageClass(messageClass.getBytes()); in setMessageClass()
1001 mRequest.setPriority(priority); in setMessagePriority()
1009 mRequest.setDeliveryReport((report) ? PduHeaders.VALUE_YES : PduHeaders.VALUE_NO); in setDeliveryReport()
[all …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTest.java143 private final MessageReceiverWithResponder mRequest; field in ValidationTest.RoutingMessageReceiver
148 this.mRequest = request; in RoutingMessageReceiver()
162 return mRequest.acceptWithResponder(message, new SinkMessageReceiver()); in accept()