Home
last modified time | relevance | path

Searched refs:inputChannel (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/android/view/
DInputEventReceiver.java48 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument
60 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver() argument
61 if (inputChannel == null) { in InputEventReceiver()
68 mInputChannel = inputChannel; in InputEventReceiver()
71 inputChannel, mMessageQueue); in InputEventReceiver()
196 InputChannel inputChannel, Looper looper); in createInputEventReceiver() argument
DInputEventSender.java44 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument
55 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender() argument
56 if (inputChannel == null) { in InputEventSender()
63 mInputChannel = inputChannel; in InputEventSender()
66 inputChannel, mMessageQueue); in InputEventSender()
DViewRootImpl.java5606 public WindowInputEventReceiver(InputChannel inputChannel, Looper looper) { in WindowInputEventReceiver() argument
5607 super(inputChannel, looper); in WindowInputEventReceiver()
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp44 NativeInputChannel(const sp<InputChannel>& inputChannel);
60 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : in NativeInputChannel() argument
61 mInputChannel(inputChannel), mDisposeCallback(NULL) { in NativeInputChannel()
212 InputChannel* inputChannel = new InputChannel(name, dupFd); in android_view_InputChannel_nativeReadFromParcel() local
213 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel); in android_view_InputChannel_nativeReadFromParcel()
227 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); in android_view_InputChannel_nativeWriteToParcel() local
230 parcel->writeString8(inputChannel->getName()); in android_view_InputChannel_nativeWriteToParcel()
231 parcel->writeDupFileDescriptor(inputChannel->getFd()); in android_view_InputChannel_nativeWriteToParcel()
Dandroid_view_InputEventSender.cpp52 jobject senderWeak, const sp<InputChannel>& inputChannel,
80 jobject senderWeak, const sp<InputChannel>& inputChannel, in NativeInputEventSender() argument
83 mInputPublisher(inputChannel), mMessageQueue(messageQueue), in NativeInputEventSender()
235 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeInit() local
237 if (inputChannel == NULL) { in nativeInit()
249 senderWeak, inputChannel, messageQueue); in nativeInit()
Dandroid_view_InputEventReceiver.cpp53 jobject receiverWeak, const sp<InputChannel>& inputChannel,
90 jobject receiverWeak, const sp<InputChannel>& inputChannel, in NativeInputEventReceiver() argument
93 mInputConsumer(inputChannel), mMessageQueue(messageQueue), in NativeInputEventReceiver()
335 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeInit() local
337 if (inputChannel == NULL) { in nativeInit()
349 receiverWeak, inputChannel, messageQueue); in nativeInit()
Dandroid_view_InputChannel.h27 const sp<InputChannel>& inputChannel, void* data);
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); in TEST_F() local
46 EXPECT_STREQ("channel name", inputChannel->getName().string()) in TEST_F()
48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) in TEST_F()
51 inputChannel.clear(); // destroys input channel in TEST_F()
/frameworks/base/services/input/
DInputDispatcher.h145 sp<InputChannel> inputChannel; member
344 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
346 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
396 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
398 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel);
803 sp<InputChannel> inputChannel; // never null variable
820 explicit Connection(const sp<InputChannel>& inputChannel,
823 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } in getInputChannelName()
886 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel);
930 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) const;
[all …]
DInputWindow.h117 sp<InputChannel> inputChannel; member
169 return mInfo ? mInfo->inputChannel : NULL; in getInputChannel()
DInputDispatcher.cpp219 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); in ~InputDispatcher()
923 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); in dispatchEventLocked()
931 inputTarget.inputChannel->getName().string()); in dispatchEventLocked()
1007 const sp<InputChannel>& inputChannel) { in resumeAfterTargetsNotReadyTimeoutLocked() argument
1016 if (inputChannel.get()) { in resumeAfterTargetsNotReadyTimeoutLocked()
1017 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in resumeAfterTargetsNotReadyTimeoutLocked()
1600 target.inputChannel = windowInfo->inputChannel; in addWindowTargetLocked()
1613 target.inputChannel = mMonitoringChannels[i]; in addMonitoringTargetsLocked()
2160 d->unregisterInputChannelLocked(connection->inputChannel, notify); in handleReceiveCallback()
2215 sp<InputWindowHandle> windowHandle = getWindowHandleLocked(connection->inputChannel); in synthesizeCancelationEventsForConnectionLocked()
[all …]
/frameworks/base/services/jni/
Dcom_android_server_input_InputWindowHandle.cpp35 jfieldID inputChannel; member
92 gInputWindowHandleClassInfo.inputChannel); in updateInfo()
94 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); in updateInfo()
97 mInfo->inputChannel.clear(); in updateInfo()
241 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, in register_android_server_InputWindowHandle()
Dcom_android_server_input_InputManagerService.cpp170 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
172 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
339 const sp<InputChannel>& inputChannel, in registerInputChannel() argument
342 inputChannel, inputWindowHandle, monitor); in registerInputChannel()
346 const sp<InputChannel>& inputChannel) { in unregisterInputChannel() argument
347 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); in unregisterInputChannel()
1076 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { in handleInputChannelDisposed() argument
1080 "the input manager!", inputChannel->getName().string()); in handleInputChannelDisposed()
1081 im->unregisterInputChannel(env, inputChannel); in handleInputChannelDisposed()
1088 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeRegisterInputChannel() local
[all …]
/frameworks/base/services/java/com/android/server/wm/
DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher() argument
35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
DFakeWindowImpl.java62 mWindowHandle.inputChannel = mServerChannel; in FakeWindowImpl()
DInputMonitor.java270 final InputChannel inputChannel = child.mInputChannel; in updateInputWindowsLw() local
272 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) { in updateInputWindowsLw()
DWindowState.java1022 void setInputChannel(InputChannel inputChannel) { in setInputChannel() argument
1027 mInputChannel = inputChannel; in setInputChannel()
1028 mInputWindowHandle.inputChannel = inputChannel; in setInputChannel()
1039 mInputWindowHandle.inputChannel = null; in disposeInputChannel()
DDragState.java115 mDragWindowHandle.inputChannel = mServerChannel; in register()
DWindowManagerService.java615 public DragInputEventReceiver(InputChannel inputChannel, Looper looper) { in DragInputEventReceiver() argument
616 super(inputChannel, looper); in DragInputEventReceiver()
/frameworks/base/services/java/com/android/server/input/
DInputWindowHandle.java40 public InputChannel inputChannel; field in InputWindowHandle
DInputManagerService.java166 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel, in nativeRegisterInputChannel() argument
168 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel); in nativeUnregisterInputChannel() argument
442 public void registerInputChannel(InputChannel inputChannel, in registerInputChannel() argument
444 if (inputChannel == null) { in registerInputChannel()
448 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); in registerInputChannel()
455 public void unregisterInputChannel(InputChannel inputChannel) { in unregisterInputChannel() argument
456 if (inputChannel == null) { in unregisterInputChannel()
460 nativeUnregisterInputChannel(mPtr, inputChannel); in unregisterInputChannel()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java197 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver() argument
198 super(inputChannel, looper); in ImeInputEventReceiver()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java233 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { in WallpaperInputEventReceiver() argument
234 super(inputChannel, looper); in WallpaperInputEventReceiver()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1981 public ImeInputEventSender(InputChannel inputChannel, Looper looper) { in ImeInputEventSender() argument
1982 super(inputChannel, looper); in ImeInputEventSender()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java2512 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { in HideNavInputEventReceiver() argument
2513 super(inputChannel, looper); in HideNavInputEventReceiver()
2565 InputChannel inputChannel, Looper looper) {
2566 return new HideNavInputEventReceiver(inputChannel, looper);