Home
last modified time | relevance | path

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

12

/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()
DBatchedInputEventReceiver.java30 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() argument
31 super(inputChannel, looper); in BatchedInputEventReceiver()
DIWindowManager.aidl418 void createWallpaperInputConsumer(out InputChannel inputChannel); in createWallpaperInputConsumer() argument
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java32 InputConsumerImpl(WindowManagerService service, String name, InputChannel inputChannel) { in InputConsumerImpl() argument
37 if (inputChannel != null) { in InputConsumerImpl()
38 channels[1].transferTo(inputChannel); in InputConsumerImpl()
40 mClientChannel = inputChannel; in InputConsumerImpl()
53 mWindowHandle.inputChannel = mServerChannel; in InputConsumerImpl()
DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher() argument
35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
DTaskPositioner.java121 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in WindowPositionerEventReceiver() argument
122 super(inputChannel, looper, choreographer); in WindowPositionerEventReceiver()
259 mDragWindowHandle.inputChannel = mServerChannel; in register()
DInputMonitor.java295 final InputChannel inputChannel = child.mInputChannel; in updateInputWindowsLw() local
297 if (inputChannel == null || inputWindowHandle == null || child.mRemoved in updateInputWindowsLw()
DWindowState.java1520 DeadWindowEventReceiver(InputChannel inputChannel) { in DeadWindowEventReceiver() argument
1521 super(inputChannel, mService.mH.getLooper()); in DeadWindowEventReceiver()
1541 mInputWindowHandle.inputChannel = inputChannels[0]; in openInputChannel()
1571 mInputWindowHandle.inputChannel = null; in disposeInputChannel()
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp46 NativeInputChannel(const sp<InputChannel>& inputChannel);
62 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : in NativeInputChannel() argument
63 mInputChannel(inputChannel), mDisposeCallback(NULL) { in NativeInputChannel()
214 InputChannel* inputChannel = new InputChannel(name, dupFd); in android_view_InputChannel_nativeReadFromParcel() local
215 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel); in android_view_InputChannel_nativeReadFromParcel()
229 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); in android_view_InputChannel_nativeWriteToParcel() local
232 parcel->writeString8(inputChannel->getName()); in android_view_InputChannel_nativeWriteToParcel()
233 parcel->writeDupFileDescriptor(inputChannel->getFd()); in android_view_InputChannel_nativeWriteToParcel()
Dandroid_view_InputEventSender.cpp53 jobject senderWeak, const sp<InputChannel>& inputChannel,
81 jobject senderWeak, const sp<InputChannel>& inputChannel, in NativeInputEventSender() argument
84 mInputPublisher(inputChannel), mMessageQueue(messageQueue), in NativeInputEventSender()
238 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeInit() local
240 if (inputChannel == NULL) { in nativeInit()
252 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/native/services/inputflinger/
DInputDispatcher.h151 sp<InputChannel> inputChannel; member
347 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
349 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
399 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
401 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel);
815 sp<InputChannel> inputChannel; // never null variable
832 explicit Connection(const sp<InputChannel>& inputChannel,
835 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } in getInputChannelName()
900 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel);
958 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) const;
[all …]
DInputDispatcher.cpp226 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); in ~InputDispatcher()
936 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); in dispatchEventLocked()
944 inputTarget.inputChannel->getName().string()); in dispatchEventLocked()
1020 const sp<InputChannel>& inputChannel) { in resumeAfterTargetsNotReadyTimeoutLocked() argument
1029 if (inputChannel.get()) { in resumeAfterTargetsNotReadyTimeoutLocked()
1030 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in resumeAfterTargetsNotReadyTimeoutLocked()
1578 target.inputChannel = windowInfo->inputChannel; in addWindowTargetLocked()
1591 target.inputChannel = mMonitoringChannels[i]; in addMonitoringTargetsLocked()
2195 d->unregisterInputChannelLocked(connection->inputChannel, notify); in handleReceiveCallback()
2257 sp<InputWindowHandle> windowHandle = getWindowHandleLocked(connection->inputChannel); in synthesizeCancelationEventsForConnectionLocked()
[all …]
DInputWindow.h115 sp<InputChannel> inputChannel; member
170 return mInfo ? mInfo->inputChannel : NULL; in getInputChannel()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputWindowHandle.cpp36 jfieldID inputChannel; member
94 gInputWindowHandleClassInfo.inputChannel); in updateInfo()
96 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); in updateInfo()
99 mInfo->inputChannel.clear(); in updateInfo()
243 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, in register_android_server_InputWindowHandle()
Dcom_android_server_input_InputManagerService.cpp195 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
197 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
391 const sp<InputChannel>& inputChannel, in registerInputChannel() argument
394 inputChannel, inputWindowHandle, monitor); in registerInputChannel()
398 const sp<InputChannel>& inputChannel) { in unregisterInputChannel() argument
399 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); in unregisterInputChannel()
1209 jobject /* inputChannelObj */, const sp<InputChannel>& inputChannel, void* data) { in handleInputChannelDisposed() argument
1213 "the input manager!", inputChannel->getName().string()); in handleInputChannelDisposed()
1214 im->unregisterInputChannel(env, inputChannel); in handleInputChannelDisposed()
1221 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeRegisterInputChannel() local
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputWindowHandle.java40 public InputChannel inputChannel; field in InputWindowHandle
DInputManagerService.java196 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel, in nativeRegisterInputChannel() argument
198 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); in nativeUnregisterInputChannel() argument
500 public void registerInputChannel(InputChannel inputChannel, in registerInputChannel() argument
502 if (inputChannel == null) { in registerInputChannel()
506 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); in registerInputChannel()
513 public void unregisterInputChannel(InputChannel inputChannel) { in unregisterInputChannel() argument
514 if (inputChannel == null) { in unregisterInputChannel()
518 nativeUnregisterInputChannel(mPtr, inputChannel); in unregisterInputChannel()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver() argument
217 super(inputChannel, looper); in ImeInputEventReceiver()
/frameworks/base/media/java/android/media/tv/
DITvInputSessionWrapper.java365 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { in TvInputEventReceiver() argument
366 super(inputChannel, looper); in TvInputEventReceiver()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java588 public void createWallpaperInputConsumer(InputChannel inputChannel) throws RemoteException {} in createWallpaperInputConsumer() argument
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java249 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { in WallpaperInputEventReceiver() argument
250 super(inputChannel, looper); in WallpaperInputEventReceiver()

12