Home
last modified time | relevance | path

Searched refs:mClientChannel (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java44 final InputChannel mClientChannel; field in GestureMonitorSpyWindow
50 mClientChannel = inputChannel; in GestureMonitorSpyWindow()
58 mWindowHandle.token = mClientChannel.getToken(); in GestureMonitorSpyWindow()
84 mClientChannel.dispose(); in remove()
89 + mClientChannel.getToken() + " displayId=" + mWindowHandle.displayId; in dump()
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java38 final InputChannel mClientChannel; field in InputConsumerImpl
62 mClientChannel = mService.mInputManager.createInputChannel(name); in InputConsumerImpl()
64 mClientChannel.copyTo(inputChannel); in InputConsumerImpl()
72 mWindowHandle.token = mClientChannel.getToken(); in InputConsumerImpl()
149 mService.mInputManager.removeInputChannel(mClientChannel.getToken()); in disposeChannelsLw()
150 mClientChannel.dispose(); in disposeChannelsLw()
DTaskPositioner.java101 InputChannel mClientChannel; field in TaskPositioner
206 if (mClientChannel != null) { in register()
212 mClientChannel = mService.mInputManager.createInputChannel(TAG); in register()
215 mClientChannel, mService.mAnimationHandler.getLooper(), in register()
224 mDragWindowHandle.token = mClientChannel.getToken(); in register()
275 if (mClientChannel == null) {
281 mService.mInputManager.removeInputChannel(mClientChannel.getToken());
285 mClientChannel.dispose();
286 mClientChannel = null;
DDragState.java404 InputChannel mClientChannel; field in DragState.InputInterceptor
410 mClientChannel = mService.mInputManager.createInputChannel("drag"); in InputInterceptor()
411 mInputEventReceiver = new DragInputEventReceiver(mClientChannel, in InputInterceptor()
420 mDragWindowHandle.token = mClientChannel.getToken(); in InputInterceptor()
438 mService.mInputManager.removeInputChannel(mClientChannel.getToken()); in tearDown()
441 mClientChannel.dispose(); in tearDown()
442 mClientChannel = null; in tearDown()
456 return mInputInterceptor == null ? null : mInputInterceptor.mClientChannel; in getInputChannel()
464 if (mInputInterceptor == null || mInputInterceptor.mClientChannel == null) { in getInputToken()
467 return mInputInterceptor.mClientChannel.getToken(); in getInputToken()
DLetterbox.java304 private final InputChannel mClientChannel; field in Letterbox.InputInterceptor
315 mClientChannel = mWmService.mInputManager.createInputChannel(name); in InputInterceptor()
316 mInputEventReceiver = new TapEventReceiver(mClientChannel, mWmService, mHandler); in InputInterceptor()
318 mToken = mClientChannel.getToken(); in InputInterceptor()
348 mClientChannel.dispose(); in run()
DTaskPositioningController.java208 mTaskPositioner.mClientChannel.getToken())) { in startPositioningLocked()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java38 private final InputChannel mClientChannel; field in HandwritingEventReceiverSurface
44 mClientChannel = inputChannel; in HandwritingEventReceiverSurface()
50 mWindowHandle.token = mClientChannel.getToken(); in HandwritingEventReceiverSurface()
110 return mClientChannel; in getInputChannel()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp123 mClientChannel = InputChannel::create(std::move(tempChannel)); in InputSurface()
124 mInputInfo.token = mClientChannel->getConnectionToken(); in InputSurface()
125 mInputConsumer = new InputConsumer(mClientChannel); in InputSurface()
187 mClientChannel->waitForMessage(timeout); in consumeEvent()
287 if (mClientChannel) { in ~InputSurface()
288 mInputFlinger->removeInputChannel(mClientChannel->getConnectionToken()); in ~InputSurface()
327 std::shared_ptr<InputChannel> mClientChannel; member in android::test::InputSurface
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumerNoResampling_test.cpp247 std::unique_ptr<InputChannel> mClientChannel; member in android::InputPublisherAndConsumerNoResamplingTest
281 InputChannel::openInputChannelPair("channel name", serverChannel, mClientChannel); in SetUp()
397 mConsumer = std::make_unique<InputConsumerNoResampling>(std::move(mClientChannel), in handleMessage()