Home
last modified time | relevance | path

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

/frameworks/support/volley/tests/src/com/android/volley/
DResponseDeliveryTest.java31 private MockRequest mRequest; field in ResponseDeliveryTest
40 mRequest = new MockRequest(); in setUp()
41 mRequest.setSequence(1); in setUp()
48 mDelivery.postResponse(mRequest, mSuccessResponse); in testPostResponse_callsDeliverResponse()
49 assertTrue(mRequest.deliverResponse_called); in testPostResponse_callsDeliverResponse()
50 assertFalse(mRequest.deliverError_called); in testPostResponse_callsDeliverResponse()
54 mRequest.cancel(); in testPostResponse_suppressesCanceled()
55 mDelivery.postResponse(mRequest, mSuccessResponse); in testPostResponse_suppressesCanceled()
56 assertFalse(mRequest.deliverResponse_called); in testPostResponse_suppressesCanceled()
57 assertFalse(mRequest.deliverError_called); in testPostResponse_suppressesCanceled()
[all …]
DNetworkDispatcherTest.java38 private MockRequest mRequest; field in NetworkDispatcherTest
51 mRequest = new MockRequest(); in setUp()
66 mNetworkQueue.add(mRequest); in testSuccessPostsResponse()
78 mNetworkQueue.add(mRequest); in testExceptionPostsError()
85 mRequest.setShouldCache(false); in test_shouldCacheFalse()
86 mNetworkQueue.add(mRequest); in test_shouldCacheFalse()
93 mRequest.setShouldCache(true); in test_shouldCacheTrue()
94 mRequest.setCacheKey("bananaphone"); in test_shouldCacheTrue()
95 mNetworkQueue.add(mRequest); in test_shouldCacheTrue()
DCacheDispatcherTest.java37 private MockRequest mRequest; field in CacheDispatcherTest
50 mRequest = new MockRequest(); in setUp()
65 mRequest.cancel(); in testCancelledRequest()
66 mCacheQueue.add(mRequest); in testCancelledRequest()
74 mCacheQueue.add(mRequest); in testCacheMiss()
86 mCacheQueue.add(mRequest); in testNonExpiredCacheHit()
96 mCacheQueue.add(mRequest); in testSoftExpiredCacheHit()
109 mCacheQueue.add(mRequest); in testExpiredCacheHit()
/frameworks/base/core/java/android/speech/tts/
DEventLogger.java33 private final SynthesisRequest mRequest; field in EventLogger
48 mRequest = request; in EventLogger()
129 mRequest.getSpeechRate(), mRequest.getPitch()); in onWriteData()
146 mRequest.getSpeechRate(), mRequest.getPitch(), in onWriteData()
155 final String utterance = mRequest.getText(); in getUtteranceLength()
164 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
165 if (!TextUtils.isEmpty(mRequest.getCountry())) { in getLocaleString()
167 sb.append(mRequest.getCountry()); in getLocaleString()
169 if (!TextUtils.isEmpty(mRequest.getVariant())) { in getLocaleString()
171 sb.append(mRequest.getVariant()); in getLocaleString()
/frameworks/support/volley/src/com/android/volley/
DExecutorDelivery.java86 private final Request mRequest; field in ExecutorDelivery.ResponseDeliveryRunnable
91 mRequest = request; in ResponseDeliveryRunnable()
102 boolean drained = mRequest.isDrainable() && in run()
103 (mRequest.getSequence() < mDiscardBefore); in run()
106 if (drained || mRequest.isCanceled()) { in run()
107 mRequest.finish("canceled-at-delivery"); in run()
113 mRequest.deliverResponse(mResponse.result); in run()
115 mRequest.deliverError(mResponse.error); in run()
121 mRequest.addMarker("intermediate-response"); in run()
123 mRequest.finish("done"); in run()
/frameworks/av/media/mtp/
DMtpServer.cpp159 int ret = mRequest.read(fd); in run()
168 MtpOperationCode operation = mRequest.getOperationCode(); in run()
169 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
172 mRequest.dump(); in run()
267 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
310 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
482 mSessionID = mRequest.getParameter(1); in doOpenSession()
516 MtpStorageID id = mRequest.getParameter(1); in doGetStorageInfo()
537 MtpObjectFormat format = mRequest.getParameter(1); in doGetObjectPropsSupported()
547 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetObjectHandles()
[all …]
DMtpDevice.cpp285 mRequest.reset(); in openSession()
286 mRequest.setParameter(1, newSession); in openSession()
308 mRequest.reset(); in getDeviceInfo()
325 mRequest.reset(); in getStorageIDs()
340 mRequest.reset(); in getStorageInfo()
341 mRequest.setParameter(1, storageID); in getStorageInfo()
359 mRequest.reset(); in getObjectHandles()
360 mRequest.setParameter(1, storageID); in getObjectHandles()
361 mRequest.setParameter(2, format); in getObjectHandles()
362 mRequest.setParameter(3, parent); in getObjectHandles()
[all …]
DMtpDevice.h53 MtpRequestPacket mRequest; variable
DMtpServer.h56 MtpRequestPacket mRequest; variable
/frameworks/base/core/java/android/net/http/
DRequestHandle.java47 private Request mRequest; field in RequestHandle
79 mRequest = request; in RequestHandle()
99 if (mRequest != null) { in cancel()
100 mRequest.cancel(); in cancel()
109 if (mRequest != null) { in pauseRequest()
110 mRequest.setLoadingPaused(pause); in pauseRequest()
119 if (mRequest != null) { in handleSslErrorResponse()
120 mRequest.handleSslErrorResponse(proceed); in handleSslErrorResponse()
163 mRequest); in setupRedirect()
164 mRequest.error(EventHandler.ERROR_REDIRECT_LOOP, in setupRedirect()
[all …]
DRequestQueue.java351 private Request mRequest; field in RequestQueue.SyncFeeder
355 Request r = mRequest; in getRequest()
356 mRequest = null; in getRequest()
363 return mRequest != null; in haveRequest()
366 mRequest = r; in requeueRequest()
/frameworks/base/telephony/java/com/android/internal/telephony/
DRIL.java83 int mRequest; field in RILRequest
114 rr.mRequest = request; in obtain()
181 + RIL.requestToString(mRequest) in onError()
410 + requestToString(rr.mRequest)); in handleMessage()
657 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getVoiceRadioTechnology()
682 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getIccCardStatus()
698 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in supplyIccPinForApp()
718 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in supplyIccPukForApp()
739 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in supplyIccPin2ForApp()
759 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in supplyIccPuk2ForApp()
[all …]