Home
last modified time | relevance | path

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

/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/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()
/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()
275 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
318 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
329 int containertype = mRequest.getContainerType(); in handleRequest()
499 if (mRequest.getParameterCount() < 1) in doOpenSession()
502 mSessionID = mRequest.getParameter(1); in doOpenSession()
536 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
[all …]
DMtpDevice.cpp320 mRequest.reset(); in openSession()
321 mRequest.setParameter(1, newSession); in openSession()
343 mRequest.reset(); in getDeviceInfo()
362 mRequest.reset(); in getStorageIDs()
377 mRequest.reset(); in getStorageInfo()
378 mRequest.setParameter(1, storageID); in getStorageInfo()
398 mRequest.reset(); in getObjectHandles()
399 mRequest.setParameter(1, storageID); in getObjectHandles()
400 mRequest.setParameter(2, format); in getObjectHandles()
401 mRequest.setParameter(3, parent); in getObjectHandles()
[all …]
DMtpServer.h56 MtpRequestPacket mRequest; variable
DMtpDevice.h55 MtpRequestPacket mRequest; variable
/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()
98 for (Surface targetSurface : mRequest.getRequest().getTargets() ) { in tryComplete()
100 if (mRequest.jpegType(targetSurface)) { in tryComplete()
102 … CaptureCollector.this.mDeviceState.setCaptureResult(mRequest, in tryComplete()
111 … CaptureCollector.this.mDeviceState.setCaptureResult(mRequest, in tryComplete()
131 Log.d(TAG, "setJpegTimestamp - called for request " + mRequest.getRequestId()); in setJpegTimestamp()
150 CaptureCollector.this.mDeviceState.setCaptureStart(mRequest, mTimestamp, in setJpegTimestamp()
[all …]
DRequestHolder.java36 private final CaptureRequest mRequest; field in RequestHolder
57 private final CaptureRequest mRequest; field in RequestHolder.Builder
77 mRequest = request; in Builder()
80 mNumJpegTargets = numJpegTargets(mRequest); in Builder()
81 mNumPreviewTargets = numPreviewTargets(mRequest); in Builder()
155 return new RequestHolder(mRequestId, mSubsequenceId, mRequest, mRepeating, frameNumber, in build()
164 mRequest = request; in RequestHolder()
205 return mRequest; in getRequest()
/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/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()
/frameworks/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();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java112 int mRequest; field in RILRequest
143 rr.mRequest = request; in obtain()
220 + RIL.requestToString(mRequest) in onError()
221 + " error: " + ex + " ret=" + RIL.retToString(mRequest, ret)); in onError()
478 + requestToString(rr.mRequest)); in handleMessage()
506 mEventLog.writeOnRilTimeoutResponse(rr.mSerial, rr.mRequest); in handleMessage()
530 switch(rr.mRequest) { in getResponseForTimedOutRILRequest()
793 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getVoiceRadioTechnology()
803 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getImsRegistrationState()
827 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getIccCardStatus()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java165 mDataUsageRequests.put(requestInfo.mRequest.requestId, requestInfo); in handleRegister()
233 protected final DataUsageRequest mRequest; field in NetworkStatsObservers.RequestInfo
245 mRequest = request; in RequestInfo()
261 + mRequest + ", " + mBinder + ")"); in binderDied()
262 mStatsObserver.unregister(mRequest, Process.SYSTEM_UID); in binderDied()
269 + " for " + mRequest + " accessLevel:" + mAccessLevel; in toString()
298 bundle.putParcelable(DataUsageRequest.PARCELABLE_KEY, mRequest); in callCallback()
305 + " for " + mRequest); in callCallback()
310 Slog.w(TAG, "RemoteException caught trying to send a callback msg for " + mRequest); in callCallback()
344 long bytesSoFar = getTotalBytesForNetwork(mRequest.template); in checkStats()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DSelectRequestBuffer.java125 private SelectRequest mRequest; field in SelectRequestBuffer
128 mRequest = request; in set()
132 if (mRequest != null) { in process()
133 mRequest.process(); in process()
139 mRequest = null; in clear()
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java59 private final CaptureRequest mRequest; field in CaptureFailure
70 mRequest = request; in CaptureFailure()
99 return mRequest; in getRequest()
DCaptureRequest.java504 private final CaptureRequest mRequest; field in CaptureRequest.Builder
526 mRequest = new CaptureRequest(template, reprocess, reprocessableSessionId); in Builder()
541 mRequest.mSurfaceSet.add(outputTarget); in addTarget()
552 mRequest.mSurfaceSet.remove(outputTarget); in removeTarget()
568 mRequest.mSettings.set(key, value); in set()
582 return mRequest.mSettings.get(key); in get()
597 mRequest.mUserTag = tag; in setTag()
610 mRequest.mIsPartOfCHSRequestList = partOfCHSList; in setPartOfCHSRequestList()
627 return new CaptureRequest(mRequest); in build()
634 return mRequest.mSettings.isEmpty(); in isEmpty()
DCaptureResult.java161 private final CaptureRequest mRequest; field in CaptureResult
189 mRequest = parent; in CaptureResult()
218 mRequest = null; in CaptureResult()
309 return mRequest; in getRequest()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java61 private ProviderRequestUnbundled mRequest; field in FusionEngine
91 mRequest = null; in deinit()
114 mRequest = request; in setRequest()
157 if (!mEnabled || mRequest == null) { in updateRequirements()
158 mRequest = null; in updateRequirements()
166 for (LocationRequestUnbundled request : mRequest.getLocationRequests()) { in updateRequirements()
287 s.append("mEnabled=").append(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.java739 && updateRecord.mRequest.getInterval() < HIGH_POWER_INTERVAL_MS) { in updateMonitoring()
1414 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked()
1433 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked()
1466 final LocationRequest mRequest; field in LocationManagerService.UpdateRecord
1476 mRequest = request; in UpdateRecord()
1526 s.append(' ').append(mRequest); in toString()
2172 long minTime = record.mRequest.getFastestInterval(); in shouldBroadcastSafe()
2180 double minDistance = record.mRequest.getSmallestDisplacement(); in shouldBroadcastSafe()
2188 if (record.mRequest.getNumUpdates() <= 0) { in shouldBroadcastSafe()
2193 if (record.mRequest.getExpireAt() < now) { in shouldBroadcastSafe()
[all …]