Home
last modified time | relevance | path

Searched refs:mRequest (Results 1 – 25 of 41) 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/base/core/java/android/speech/tts/
DEventLogger.java26 private final SynthesisRequest mRequest; field in EventLogger
30 mRequest = request; in EventLogger()
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/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java45 private PinItemRequest mRequest; field in ShortcutManagerTest10
67 mRequest = verifyAndGetCreateShortcutResult(intent); in testCreateShortcutResult_validResult()
71 assertTrue(mRequest.isValid()); in testCreateShortcutResult_validResult()
72 assertTrue(mRequest.accept()); in testCreateShortcutResult_validResult()
90 mRequest = verifyAndGetCreateShortcutResult(intent); in testCreateShortcutResult_alreadyPinned()
94 assertTrue(mRequest.isValid()); in testCreateShortcutResult_alreadyPinned()
95 assertTrue(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinned()
96 assertTrue(mRequest.accept()); in testCreateShortcutResult_alreadyPinned()
114 mRequest = verifyAndGetCreateShortcutResult(intent); in testCreateShortcutResult_alreadyPinnedByAnother()
118 assertTrue(mRequest.isValid()); in testCreateShortcutResult_alreadyPinnedByAnother()
[all …]
/frameworks/av/media/mtp/
DMtpServer.cpp177 int ret = mRequest.read(mHandle); in run()
186 MtpOperationCode operation = mRequest.getOperationCode(); in run()
187 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
288 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
331 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
342 int containertype = mRequest.getContainerType(); in handleRequest()
512 if (mRequest.getParameterCount() < 1) in doOpenSession()
515 mSessionID = mRequest.getParameter(1); in doOpenSession()
546 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
549 MtpStorageID id = mRequest.getParameter(1); in doGetStorageInfo()
[all …]
DMtpDevice.cpp335 mRequest.reset(); in openSession()
336 mRequest.setParameter(1, newSession); in openSession()
358 mRequest.reset(); in getDeviceInfo()
377 mRequest.reset(); in getStorageIDs()
392 mRequest.reset(); in getStorageInfo()
393 mRequest.setParameter(1, storageID); in getStorageInfo()
413 mRequest.reset(); in getObjectHandles()
414 mRequest.setParameter(1, storageID); in getObjectHandles()
415 mRequest.setParameter(2, format); in getObjectHandles()
416 mRequest.setParameter(3, parent); in getObjectHandles()
[all …]
/frameworks/base/location/lib/java/com/android/location/provider/
DProviderRequestUnbundled.java37 private final ProviderRequest mRequest; field in ProviderRequestUnbundled
41 mRequest = request; in ProviderRequestUnbundled()
45 return mRequest.reportLocation; in getReportLocation()
49 return mRequest.interval; in getInterval()
54 return mRequest.locationSettingsIgnored; in isLocationSettingsIgnored()
62 mRequest.locationRequests.size()); in getLocationRequests()
63 for (LocationRequest r : mRequest.locationRequests) { in getLocationRequests()
71 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()
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/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfigResponse.java57 + mRadioConfig.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse()
61 + mRadioConfig.requestToString(rr.mRequest) + " error " in getSimSlotsStatusResponse()
83 + mRadioConfig.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse_1_2()
87 + mRadioConfig.requestToString(rr.mRequest) + " error " in getSimSlotsStatusResponse_1_2()
106 + mRadioConfig.requestToString(rr.mRequest)); in setSimSlotsMappingResponse()
110 + mRadioConfig.requestToString(rr.mRequest) + " error " in setSimSlotsMappingResponse()
148 + mRadioConfig.requestToString(rr.mRequest) + " " + ret.toString()); in getPhoneCapabilityResponse()
152 + mRadioConfig.requestToString(rr.mRequest) + " error " in getPhoneCapabilityResponse()
171 + mRadioConfig.requestToString(rr.mRequest)); in setPreferredDataModemResponse()
175 + mRadioConfig.requestToString(rr.mRequest) + " error " in setPreferredDataModemResponse()
[all …]
DRIL.java343 + requestToString(rr.mRequest)); in handleMessage()
371 mMetrics.writeOnRilTimeoutResponse(mPhoneId, rr.mSerial, rr.mRequest); in handleMessage()
413 switch(rr.mRequest) { in getResponseForTimedOutRILRequest()
753 if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)); in getIccCardStatus()
794 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) in supplyIccPinForApp()
821 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) in supplyIccPukForApp()
849 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) in supplyIccPin2ForApp()
876 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) in supplyIccPuk2ForApp()
904 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) + " oldPin = " in changeIccPinForApp()
932 riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) + " oldPin = " in changeIccPin2ForApp()
[all …]
DNetworkScanRequestTracker.java132 if (nsri.mRequest == null || nsri.mRequest.getSpecifiers() == null) { in isValidScan()
135 if (nsri.mRequest.getSpecifiers().length > NetworkScanRequest.MAX_RADIO_ACCESS_NETWORKS) { in isValidScan()
138 for (RadioAccessSpecifier ras : nsri.mRequest.getSpecifiers()) { in isValidScan()
153 if ((nsri.mRequest.getSearchPeriodicity() < NetworkScanRequest.MIN_SEARCH_PERIODICITY_SEC) in isValidScan()
154 || (nsri.mRequest.getSearchPeriodicity() in isValidScan()
159 if ((nsri.mRequest.getMaxSearchTime() < NetworkScanRequest.MIN_SEARCH_MAX_SEC) in isValidScan()
160 || (nsri.mRequest.getMaxSearchTime() > NetworkScanRequest.MAX_SEARCH_MAX_SEC)) { in isValidScan()
164 if ((nsri.mRequest.getIncrementalResultsPeriodicity() in isValidScan()
166 || (nsri.mRequest.getIncrementalResultsPeriodicity() in isValidScan()
171 if ((nsri.mRequest.getSearchPeriodicity() > nsri.mRequest.getMaxSearchTime()) in isValidScan()
[all …]
DRILRequest.java51 int mRequest; field in RILRequest
68 return mRequest; in getRequest()
102 rr.mRequest = request; in obtain()
242 + RIL.requestToString(mRequest) in onError()
243 + " error: " + ex + " ret=" + RIL.retToString(mRequest, ret)); in onError()
DRadioConfig.java143 logd(i + ": [" + rr.mSerial + "] " + requestToString(rr.mRequest)); in clearRequestList()
284 logd(rr.serialString() + "> " + requestToString(rr.mRequest)); in getSimSlotsStatus()
312 logd(rr.serialString() + "> " + requestToString(rr.mRequest)); in setPreferredDataModem()
340 logd(rr.serialString() + "> " + requestToString(rr.mRequest)); in getPhoneCapability()
373 logd(rr.serialString() + "> " + requestToString(rr.mRequest) in setSimSlotsMapping()
425 logd(rr.serialString() + "> " + requestToString(rr.mRequest) in setModemsConfig()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java215 private Request mRequest = new Request(); field in ActivityStarter
494 mRequest.set(starter.mRequest); in set()
515 if (mRequest.mayWait) { in execute()
516 return startActivityMayWait(mRequest.caller, mRequest.callingUid, in execute()
517 mRequest.callingPackage, mRequest.realCallingPid, mRequest.realCallingUid, in execute()
518 mRequest.intent, mRequest.resolvedType, in execute()
519 mRequest.voiceSession, mRequest.voiceInteractor, mRequest.resultTo, in execute()
520 mRequest.resultWho, mRequest.requestCode, mRequest.startFlags, in execute()
521 mRequest.profilerInfo, mRequest.waitResult, mRequest.globalConfig, in execute()
522 mRequest.activityOptions, mRequest.ignoreTargetSecurity, mRequest.userId, in execute()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java120 ? ((PendingFillRequest) canceledRequest).mRequest.getId() in cancelCurrentRequest()
147 mCallbacks.onFillRequestSuccess(pendingRequest.mRequest.getId(), response,
157 mCallbacks.onFillRequestFailure(pendingRequest.mRequest.getId(), message);
165 mCallbacks.onFillRequestTimeout(pendingRequest.mRequest.getId());
200 private final FillRequest mRequest;
206 mRequest = request;
269 if (sDebug) Slog.d(mTag, "run() called after canceled: " + mRequest);
275 if (sVerbose) Slog.v(mTag, "calling onFillRequest() for id=" + mRequest.getId());
277 remoteService.mService.onFillRequest(mRequest, mCallback);
307 private final SaveRequest mRequest;
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java160 mDataUsageRequests.put(requestInfo.mRequest.requestId, requestInfo); in handleRegister()
228 protected final DataUsageRequest mRequest; field in NetworkStatsObservers.RequestInfo
240 mRequest = request; in RequestInfo()
256 + mRequest + ", " + mBinder + ")"); in binderDied()
257 mStatsObserver.unregister(mRequest, Process.SYSTEM_UID); in binderDied()
264 + " for " + mRequest + " accessLevel:" + mAccessLevel; in toString()
293 bundle.putParcelable(DataUsageRequest.PARCELABLE_KEY, mRequest); in callCallback()
300 + " for " + mRequest); in callCallback()
305 Slog.w(TAG, "RemoteException caught trying to send a callback msg for " + mRequest); in callCallback()
339 long bytesSoFar = getTotalBytesForNetwork(mRequest.template); in checkStats()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DSelectRequestBuffer.java137 private SelectRequest mRequest; field in SelectRequestBuffer
140 mRequest = request; in set()
144 if (mRequest != null) { in process()
145 mRequest.process(); in process()
151 mRequest = null; in clear()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java58 private ProviderRequestUnbundled mRequest; field in FusionEngine
77 mRequest = request; in setRequest()
120 if (mRequest == null || !mRequest.getReportLocation()) { in updateRequirements()
121 mRequest = null; in updateRequirements()
129 for (LocationRequestUnbundled request : mRequest.getLocationRequests()) { in updateRequirements()
254 s.append(mRequest).append('\n'); in dump()
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java60 private final CaptureRequest mRequest; field in CaptureFailure
72 mRequest = request; in CaptureFailure()
102 return mRequest; in getRequest()
DCaptureRequest.java778 private final CaptureRequest mRequest; field in CaptureRequest.Builder
805 mRequest = new CaptureRequest(template, reprocess, reprocessableSessionId, in Builder()
821 mRequest.mSurfaceSet.add(outputTarget); in addTarget()
832 mRequest.mSurfaceSet.remove(outputTarget); in removeTarget()
848 mRequest.mLogicalCameraSettings.set(key, value); in set()
862 return mRequest.mLogicalCameraSettings.get(key); in get()
891 if (!mRequest.mPhysicalCameraSettings.containsKey(physicalCameraId)) { in setPhysicalCameraKey()
896 mRequest.mPhysicalCameraSettings.get(physicalCameraId).set(key, value); in setPhysicalCameraKey()
921 if (!mRequest.mPhysicalCameraSettings.containsKey(physicalCameraId)) { in getPhysicalCameraKey()
926 return mRequest.mPhysicalCameraSettings.get(physicalCameraId).get(key); in getPhysicalCameraKey()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DLocationProviderProxy.java95 private ProviderRequest mRequest; field in LocationProviderProxy
140 mRequest = null; in LocationProviderProxy()
157 if (mRequest != null) { in initializeService()
158 service.setRequest(mRequest, mWorkSource); in initializeService()
173 mRequest = request; in setRequest()
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java273 private AssociationRequest mRequest; field in CompanionDeviceManager.CallbackProxy
280 mRequest = request; in CallbackProxy()
315 mService.stopScan(mRequest, this, getCallingPackage()); in onActivityDestroyed()
322 mRequest = null; in onActivityDestroyed()
/frameworks/base/telecomm/java/android/telecom/Logging/
DEventManager.java100 String mRequest; field in EventManager.TimedEventPair
106 this.mRequest = request; in TimedEventPair()
112 this.mRequest = request; in TimedEventPair()
120 if (requestResponsePairs.containsKey(p.mRequest)) { in addRequestResponsePair()
121 requestResponsePairs.get(p.mRequest).add(p); in addRequestResponsePair()
125 requestResponsePairs.put(p.mRequest, responses); in addRequestResponsePair()
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java451 private TetheredInterfaceRequest mRequest; field in EthernetTetheringTest.TetheredInterfaceRequester
471 assertNull("BUG: more than one tethered interface request", mRequest); in requestInterface()
473 mRequest = mEm.requestTetheredInterface(mHandler::post, this); in requestInterface()
482 if (mRequest != null) { in release()
484 mRequest.release(); in release()
485 mRequest = null; in release()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java93 AssociationRequest mRequest; field in DeviceDiscoveryService
149 if (!request.equals(mRequest)) { in startDiscovery()
150 mRequest = request; in startDiscovery()
168 if (mRequest.isSingleDevice()) { in startDiscovery()

12