Searched refs:mCurrentRequest (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
D | ServiceResolveQueue.java | 35 private Pair<NsdServiceInfo, ResolveCallback> mCurrentRequest = null; field in ServiceResolveQueue 74 … if ((mCurrentRequest != null) && newRequest.equals(mCurrentRequest)) mCurrentRequest = null; in removeRequest() 80 if (mCurrentRequest != null) return; in makeNextRequest() 82 mCurrentRequest = mQueue.removeFirst(); in makeNextRequest() 83 mNsdResolveQueue.resolve(mNsdManager, mCurrentRequest.first, in makeNextRequest() 88 if (mCurrentRequest != null) mQueue.add(mCurrentRequest); in makeNextRequest() 96 if (mCurrentRequest != null) { in makeNextRequest() 97 mCurrentRequest.second.serviceResolved(nsdServiceInfo); in makeNextRequest() 98 mCurrentRequest = null; in makeNextRequest()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
D | ServiceResolver.java | 107 private NsdServiceInfo mCurrentRequest = null; field in ServiceResolver 120 if ((mCurrentRequest != null) && serviceInfo.equals(mCurrentRequest)) in removeRequest() 121 mCurrentRequest = null; in removeRequest() 133 if (mCurrentRequest != null) return; in makeNextRequest() 135 mCurrentRequest = mQueue.removeFirst(); in makeNextRequest() 136 … mNsdResolveQueue.resolve(mNSDManager, mCurrentRequest, new NsdManager.ResolveListener() { in makeNextRequest() 140 if (mCurrentRequest != null) mQueue.add(mCurrentRequest); in makeNextRequest() 148 if (mCurrentRequest != null) { in makeNextRequest() 150 mCurrentRequest = null; in makeNextRequest()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | TestInteractionActivity.java | 41 VoiceInteractor.Request mCurrentRequest = null; field in TestInteractionActivity 92 mCurrentRequest = mInteractor.getActiveRequest(REQUEST_CONFIRM); in onCreate() 93 if (mCurrentRequest == null) { in onCreate() 94 mCurrentRequest = new VoiceInteractor.ConfirmationRequest( in onCreate() 108 mInteractor.submitRequest(mCurrentRequest, REQUEST_CONFIRM); in onCreate() 118 Log.i(TAG, "Restarting with active confirmation: " + mCurrentRequest); in onCreate() 160 } else if (v == mCancelButton && mCurrentRequest != null) { in onClick() 162 mCurrentRequest.cancel(); in onClick()
|
D | StartVoiceInteractionActivity.java | 37 VoiceInteractor.Request mCurrentRequest = null; field in StartVoiceInteractionActivity 86 } else if (v == mCancelButton && mCurrentRequest != null) { in onClick() 88 mCurrentRequest.cancel(); in onClick()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceState.java | 58 private RequestHolder mCurrentRequest = null; field in CameraDeviceState 147 mCurrentRequest = request; in setCaptureStart() 282 … mCurrentListener.onError(mCurrentError, /*errorArg*/null, mCurrentRequest); in doStateTransition() 342 mCurrentListener.onError(error, /*errorArg*/null, mCurrentRequest); in doStateTransition() 349 mCurrentListener.onCaptureStarted(mCurrentRequest, timestamp); in doStateTransition()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 1690 private int mCurrentRequest = 0; field in UsbDeviceManager.UsbHandlerHal 1872 if ((mCurrentRequest != mRequest) || !hasMessages(MSG_SET_FUNCTIONS_TIMEOUT) in setCurrentUsbFunctionsCb() 1896 if (true) Slog.d(TAG, "setUsbConfig(" + config + ") request:" + ++mCurrentRequest); in setUsbConfig() 1921 UsbGadgetCallback usbGadgetCallback = new UsbGadgetCallback(mCurrentRequest, in setUsbConfig()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1290 private ProviderRequest mCurrentRequest; field in LocationManagerService.MockLocationProvider 1334 mCurrentRequest = request; in setRequestLocked() 3660 if (provider.mCurrentRequest == null) { in getTestProviderCurrentRequests() 3664 for (LocationRequest request : provider.mCurrentRequest.locationRequests) { in getTestProviderCurrentRequests()
|