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 …]
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()
118 mRequest.setSequence(1); in duplicateCacheMiss()
120 mCacheQueue.add(mRequest); in duplicateCacheMiss()
[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()
/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.java78 private final Request mRequest; field in ExecutorDelivery.ResponseDeliveryRunnable
83 mRequest = request; in ResponseDeliveryRunnable()
99 if (mRequest.isCanceled()) { in run()
100 mRequest.finish("canceled-at-delivery"); in run()
106 mRequest.deliverResponse(mResponse.result); in run()
108 mRequest.deliverError(mResponse.error); in run()
114 mRequest.addMarker("intermediate-response"); in run()
116 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()
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.java933 private SendReq mRequest; field in SmsFacade.MmsBuilder
958 mRequest = new SendReq(); in MmsBuilder()
963 mRequest.setFrom(new EncodedStringValue(number)); in setFromPhoneNumber()
967 mRequest.setTo(new EncodedStringValue[] { in setToPhoneNumber()
972 mRequest.setTo(EncodedStringValue.encodeStrings((String[]) number.toArray())); in setToPhoneNumbers()
976 mRequest.setSubject(new EncodedStringValue(subject)); in setSubject()
984 mRequest.setDate(time); in setDate()
992 mRequest.setMessageClass(messageClass.getBytes()); in setMessageClass()
997 mRequest.setPriority(priority); in setMessagePriority()
1005 mRequest.setDeliveryReport((report) ? PduHeaders.VALUE_YES : PduHeaders.VALUE_NO); in setDeliveryReport()
[all …]
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTest.java133 private final MessageReceiverWithResponder mRequest; field in ValidationTest.RoutingMessageReceiver
138 this.mRequest = request; in RoutingMessageReceiver()
152 return mRequest.acceptWithResponder(message, new SinkMessageReceiver()); in accept()