Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DInputConsumerImpl.java38 final InputChannel mClientChannel; field in InputConsumerImpl
61 mClientChannel = mService.mInputManager.createInputChannel(name); in InputConsumerImpl()
63 mClientChannel.copyTo(inputChannel); in InputConsumerImpl()
71 mWindowHandle.token = mClientChannel.getToken(); in InputConsumerImpl()
152 mService.mInputManager.removeInputChannel(mClientChannel.getToken()); in disposeChannelsLw()
153 mClientChannel.dispose(); in disposeChannelsLw()
H A DTaskPositioner.java99 InputChannel mClientChannel; field in TaskPositioner
216 if (mClientChannel != null) { in register()
222 mClientChannel = mService.mInputManager.createInputChannel(TAG); in register()
225 mClientChannel, mService.mAnimationHandler.getLooper(), in register()
234 mDragWindowHandle.token = mClientChannel.getToken(); in register()
290 if (mClientChannel == null) { in unregister()
296 mService.mInputManager.removeInputChannel(mClientChannel.getToken()); in unregister()
300 mClientChannel.dispose(); in unregister()
301 mClientChannel = null; in unregister()
H A DDragState.java341 InputChannel mClientChannel; field in DragState.InputInterceptor
347 mClientChannel = mService.mInputManager.createInputChannel("drag"); in InputInterceptor()
348 mInputEventReceiver = new DragInputEventReceiver(mClientChannel, in InputInterceptor()
357 mDragWindowHandle.token = mClientChannel.getToken(); in InputInterceptor()
389 mService.mInputManager.removeInputChannel(mClientChannel.getToken()); in tearDown()
392 mClientChannel.dispose(); in tearDown()
393 mClientChannel = null; in tearDown()
407 return mInputInterceptor == null ? null : mInputInterceptor.mClientChannel; in getInputChannel()
H A DLetterbox.java275 private final InputChannel mClientChannel; field in Letterbox.InputInterceptor
284 mClientChannel = mWmService.mInputManager.createInputChannel(name); in InputInterceptor()
285 mInputEventReceiver = new TapEventReceiver(mClientChannel, mWmService.mContext); in InputInterceptor()
287 mToken = mClientChannel.getToken(); in InputInterceptor()
321 mClientChannel.dispose(); in dispose()
H A DTaskPositioningController.java191 transferFocusFromWin.mInputChannel, mTaskPositioner.mClientChannel, in startPositioningLocked()
H A DInputMonitor.java131 mClientChannel, looper); in EventReceiverInputConsumer()
/aosp12/frameworks/native/services/inputflinger/benchmarks/
H A DInputDispatcher_benchmarks.cpp167 mClientChannel = *mDispatcher->createInputChannel(name); in FakeInputReceiver()
168 mConsumer = std::make_unique<InputConsumer>(mClientChannel); in FakeInputReceiver()
174 std::shared_ptr<InputChannel> mClientChannel; member in android::inputdispatcher::FakeInputReceiver
193 mInfo.token = mClientChannel->getConnectionToken(); in updateInfo()
/aosp12/frameworks/native/libs/gui/tests/
H A DEndToEndNativeInputTest.cpp81 mClientChannel = std::make_shared<InputChannel>(); in InputSurface()
82 mInputFlinger->createInputChannel("testchannels", mClientChannel.get()); in InputSurface()
86 mInputConsumer = new InputConsumer(mClientChannel); in InputSurface()
201 mInputFlinger->removeInputChannel(mClientChannel->getConnectionToken()); in ~InputSurface()
240 fd.fd = mClientChannel->getFd(); in waitForEventAvailable()
246 mInputInfo.token = mClientChannel->getConnectionToken(); in populateInputInfo()
273 std::shared_ptr<InputChannel> mClientChannel; member in android::test::InputSurface
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputFlingerService_test.cpp69 std::unique_ptr<InputChannel> mServerChannel, mClientChannel; member in android::InputFlingerServiceTest
169 InputChannel::openInputChannelPair("testchannels", mServerChannel, mClientChannel); in SetUp()
/aosp12/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp37 std::shared_ptr<InputChannel> mServerChannel, mClientChannel; member in android::InputPublisherAndConsumerTest
48 mClientChannel = std::move(clientChannel); in SetUp()
51 mConsumer = std::make_unique<InputConsumer>(mClientChannel); in SetUp()
65 EXPECT_EQ(mClientChannel.get(), mConsumer->getChannel().get()); in TEST_F()