Home
last modified time | relevance | path

Searched refs:mCurrentRequest (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DServiceResolveQueue.java35 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/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerPerUserService.java59 RemoteRotationResolverService.RotationRequest mCurrentRequest; field in RotationResolverManagerPerUserService
82 if (mCurrentRequest == null) { in destroyLocked()
112 if (mCurrentRequest != null && !mCurrentRequest.mIsFulfilled) { in resolveRotationLocked()
142 mCurrentRequest = new RemoteRotationResolverService.RotationRequest(wrapper, in resolveRotationLocked()
147 if (mCurrentRequest != null && !mCurrentRequest.mIsFulfilled) { in resolveRotationLocked()
149 mCurrentRequest.cancelInternal(); in resolveRotationLocked()
155 mRemoteService.resolveRotationLocked(mCurrentRequest); in resolveRotationLocked()
156 mCurrentRequest.mIsDispatched = true; in resolveRotationLocked()
212 if (mCurrentRequest == null) { in cancelLocked()
215 mCurrentRequest.cancelInternal(); in cancelLocked()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
DServiceResolver.java107 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/
DTestInteractionActivity.java41 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()
DStartVoiceInteractionActivity.java37 VoiceInteractor.Request mCurrentRequest = null; field in StartVoiceInteractionActivity
86 } else if (v == mCancelButton && mCurrentRequest != null) { in onClick()
88 mCurrentRequest.cancel(); in onClick()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DChatActivity.java73 WindowInsetsAnimationControlListener mCurrentRequest; in onCreate()
89 mCurrentRequest = null; in onCreate()
100 mCurrentRequest = new WindowInsetsAnimationControlListener() { in onCreate()
105 if (mCurrentRequest == this) { in onCreate()
135 mCurrentRequest = null; in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/rotationresolver/
DRotationResolverManagerPerUserServiceTest.java86 this.mService.mCurrentRequest = new RemoteRotationResolverService.RotationRequest( in setUp()
100 mService.mCurrentRequest = null; in testResolveRotation_callOnSuccess()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1831 private int mCurrentRequest = 0; field in UsbDeviceManager.UsbHandlerHal
2062 if ((mCurrentRequest != mRequest) || !hasMessages(MSG_SET_FUNCTIONS_TIMEOUT) in setCurrentUsbFunctionsCb()
2091 if (true) Slog.d(TAG, "setUsbConfig(" + config + ") request:" + ++mCurrentRequest); in setUsbConfig()
2118 UsbGadgetCallback usbGadgetCallback = new UsbGadgetCallback(mCurrentRequest, in setUsbConfig()