Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareRequestParcelable.java29 private GeofenceHardwareRequest mRequest; field in GeofenceHardwareRequestParcelable
34 mRequest = request; in GeofenceHardwareRequestParcelable()
48 return mRequest.getLatitude(); in getLatitude()
55 return mRequest.getLongitude(); in getLongitude()
62 return mRequest.getRadius(); in getRadius()
69 return mRequest.getMonitorTransitions(); in getMonitorTransitions()
76 return mRequest.getUnknownTimer(); in getUnknownTimer()
83 return mRequest.getNotificationResponsiveness(); in getNotificationResponsiveness()
90 return mRequest.getLastTransition(); in getLastTransition()
97 return mRequest.getType(); in getType()
[all …]
/frameworks/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/
DEventLoggerV1.java26 private final SynthesisRequest mRequest; field in EventLoggerV1
30 mRequest = request; in EventLoggerV1()
41 mRequest.getSpeechRate(), mRequest.getPitch()); in logFailure()
49 mRequest.getSpeechRate(), mRequest.getPitch(), in logSuccess()
58 final String utterance = mRequest.getText(); in getUtteranceLength()
67 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
68 if (!TextUtils.isEmpty(mRequest.getCountry())) { in getLocaleString()
70 sb.append(mRequest.getCountry()); in getLocaleString()
72 if (!TextUtils.isEmpty(mRequest.getVariant())) { in getLocaleString()
74 sb.append(mRequest.getVariant()); in getLocaleString()
/frameworks/av/media/mtp/
DMtpServer.cpp161 int ret = mRequest.read(fd); in run()
170 MtpOperationCode operation = mRequest.getOperationCode(); in run()
171 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
174 mRequest.dump(); in run()
274 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
317 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
328 int containertype = mRequest.getContainerType(); in handleRequest()
498 if (mRequest.getParameterCount() < 1) in doOpenSession()
501 mSessionID = mRequest.getParameter(1); in doOpenSession()
535 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
[all …]
DMtpDevice.cpp285 mRequest.reset(); in openSession()
286 mRequest.setParameter(1, newSession); in openSession()
308 mRequest.reset(); in getDeviceInfo()
327 mRequest.reset(); in getStorageIDs()
342 mRequest.reset(); in getStorageInfo()
343 mRequest.setParameter(1, storageID); in getStorageInfo()
363 mRequest.reset(); in getObjectHandles()
364 mRequest.setParameter(1, storageID); in getObjectHandles()
365 mRequest.setParameter(2, format); in getObjectHandles()
366 mRequest.setParameter(3, parent); in getObjectHandles()
[all …]
DMtpDevice.h53 MtpRequestPacket mRequest; variable
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapObexSession.java80 if (mObexClientThread != null && mObexClientThread.mRequest != null) { in abort()
88 mObexClientThread.mRequest.abort(); in abort()
122 private BluetoothPbapRequest mRequest; field in BluetoothPbapObexSession.ObexClientThread
129 mRequest = null; in ObexClientThread()
146 if (mRequest == null) { in run()
155 if (mRunning && mRequest != null) { in run()
157 mRequest.execute(mClientSession); in run()
163 if (mRequest.isSuccess()) { in run()
164 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_COMPLETED, mRequest) in run()
167 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_FAILED, mRequest) in run()
[all …]
/frameworks/base/location/lib/java/com/android/location/provider/
DProviderRequestUnbundled.java34 private final ProviderRequest mRequest; field in ProviderRequestUnbundled
37 mRequest = request; in ProviderRequestUnbundled()
41 return mRequest.reportLocation; in getReportLocation()
45 return mRequest.interval; in getInterval()
53 mRequest.locationRequests.size()); in getLocationRequests()
54 for (LocationRequest r : mRequest.locationRequests) { in getLocationRequests()
62 return mRequest.toString(); in toString()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java50 private final RequestHolder mRequest; field in CaptureCollector.CaptureHolder
64 mRequest = request; in CaptureHolder()
92 mRequest.failRequest(); in tryComplete()
93 CaptureCollector.this.mDeviceState.setCaptureStart(mRequest, mTimestamp, in tryComplete()
100 mRequest.getRequestId()); in tryComplete()
101 for (int i = 0; i < mRequest.numPreviewTargets(); i++) { in tryComplete()
102 CaptureCollector.this.mDeviceState.setCaptureResult(mRequest, in tryComplete()
109 mRequest.getRequestId()); in tryComplete()
110 for (int i = 0; i < mRequest.numJpegTargets(); i++) { in tryComplete()
111 CaptureCollector.this.mDeviceState.setCaptureResult(mRequest, in tryComplete()
[all …]
DRequestHolder.java37 private final CaptureRequest mRequest; field in RequestHolder
55 private final CaptureRequest mRequest; field in RequestHolder.Builder
75 mRequest = request; in Builder()
78 mNumJpegTargets = numJpegTargets(mRequest); in Builder()
79 mNumPreviewTargets = numPreviewTargets(mRequest); in Builder()
153 return new RequestHolder(mRequestId, mSubsequenceId, mRequest, mRepeating, frameNumber, in build()
162 mRequest = request; in RequestHolder()
202 return mRequest; in getRequest()
/frameworks/volley/src/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()
/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.java347 private Request mRequest; field in RequestQueue.SyncFeeder
351 Request r = mRequest; in getRequest()
352 mRequest = null; in getRequest()
359 return mRequest != null; in haveRequest()
362 mRequest = r; in requeueRequest()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java55 private BluetoothMasRequest mRequest; field in BluetoothMasObexClientSession.ClientThread
81 if (mRequest == null) { in run()
90 if (!mInterrupted && mRequest != null) { in run()
92 mRequest.execute(mSession); in run()
98 BluetoothMasRequest oldReq = mRequest; in run()
99 mRequest = null; in run()
143 if (mRequest != null) { in schedule()
147 mRequest = request; in schedule()
/frameworks/volley/src/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.java366 private final Request<?> mRequest;
383 mRequest = request;
418 mRequest.cancel();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java106 int mRequest; field in RILRequest
136 rr.mRequest = request; in obtain()
205 + RIL.requestToString(mRequest) in onError()
206 + " error: " + ex + " ret=" + RIL.retToString(mRequest, ret)); in onError()
405 + requestToString(rr.mRequest)); in handleMessage()
656 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getVoiceRadioTechnology()
666 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getImsRegistrationState()
690 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getIccCardStatus()
700 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) in setUiccSubscription()
715 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in setDataAllowed()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java46 private final CaptureRequest mRequest; field in CaptureFailure
57 mRequest = request; in CaptureFailure()
85 return mRequest; in getRequest()
DCaptureRequest.java369 private final CaptureRequest mRequest; field in CaptureRequest.Builder
378 mRequest = new CaptureRequest(template); in Builder()
393 mRequest.mSurfaceSet.add(outputTarget); in addTarget()
404 mRequest.mSurfaceSet.remove(outputTarget); in removeTarget()
416 mRequest.mSettings.set(key, value); in set()
429 return mRequest.mSettings.get(key); in get()
444 mRequest.mUserTag = tag; in setTag()
460 return new CaptureRequest(mRequest); in build()
468 return mRequest.mSettings.isEmpty(); in isEmpty()
DCaptureResult.java144 private final CaptureRequest mRequest; field in CaptureResult
172 mRequest = parent; in CaptureResult()
201 mRequest = null; in CaptureResult()
289 return mRequest; in getRequest()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java61 private ProviderRequestUnbundled mRequest; field in FusionEngine
93 mRequest = null; in deinit()
112 mRequest = request; in setRequest()
157 if (mEnabled == false || mRequest == null) { in updateRequirements()
158 mRequest = null; in updateRequirements()
166 for (LocationRequestUnbundled request : mRequest.getLocationRequests()) { in updateRequirements()
297 s.append("mEnabled=" + mEnabled).append(' ').append(mRequest).append('\n'); in dump()
/frameworks/base/services/core/java/com/android/server/location/
DLocationProviderProxy.java52 private ProviderRequest mRequest = null; field in LocationProviderProxy
108 request = mRequest;
201 mRequest = request; in setRequest()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java688 && updateRecord.mRequest.getInterval() < HIGH_POWER_INTERVAL_MS) { in updateMonitoring()
1337 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked()
1356 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked()
1382 final LocationRequest mRequest; field in LocationManagerService.UpdateRecord
1392 mRequest = request; in UpdateRecord()
1442 s.append(' ').append(mRequest); in toString()
2060 long minTime = record.mRequest.getFastestInterval(); in shouldBroadcastSafe()
2068 double minDistance = record.mRequest.getSmallestDisplacement(); in shouldBroadcastSafe()
2076 if (record.mRequest.getNumUpdates() <= 0) { in shouldBroadcastSafe()
2081 if (record.mRequest.getExpireAt() < now) { in shouldBroadcastSafe()
[all …]

12