/frameworks/base/core/java/android/view/ |
D | InputEventReceiver.java | 48 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
|
D | InputEventSender.java | 44 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()
|
D | ViewRootImpl.java | 5606 public WindowInputEventReceiver(InputChannel inputChannel, Looper looper) { in WindowInputEventReceiver() argument 5607 super(inputChannel, looper); in WindowInputEventReceiver()
|
/frameworks/base/core/jni/ |
D | android_view_InputChannel.cpp | 44 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()
|
D | android_view_InputEventSender.cpp | 52 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()
|
D | android_view_InputEventReceiver.cpp | 53 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()
|
D | android_view_InputChannel.h | 27 const sp<InputChannel>& inputChannel, void* data);
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 44 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/ |
D | InputDispatcher.h | 145 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 …]
|
D | InputWindow.h | 117 sp<InputChannel> inputChannel; member 169 return mInfo ? mInfo->inputChannel : NULL; in getInputChannel()
|
D | InputDispatcher.cpp | 219 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/ |
D | com_android_server_input_InputWindowHandle.cpp | 35 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()
|
D | com_android_server_input_InputManagerService.cpp | 170 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/ |
D | PointerEventDispatcher.java | 34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher() argument 35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
|
D | FakeWindowImpl.java | 62 mWindowHandle.inputChannel = mServerChannel; in FakeWindowImpl()
|
D | InputMonitor.java | 270 final InputChannel inputChannel = child.mInputChannel; in updateInputWindowsLw() local 272 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) { in updateInputWindowsLw()
|
D | WindowState.java | 1022 void setInputChannel(InputChannel inputChannel) { in setInputChannel() argument 1027 mInputChannel = inputChannel; in setInputChannel() 1028 mInputWindowHandle.inputChannel = inputChannel; in setInputChannel() 1039 mInputWindowHandle.inputChannel = null; in disposeInputChannel()
|
D | DragState.java | 115 mDragWindowHandle.inputChannel = mServerChannel; in register()
|
D | WindowManagerService.java | 615 public DragInputEventReceiver(InputChannel inputChannel, Looper looper) { in DragInputEventReceiver() argument 616 super(inputChannel, looper); in DragInputEventReceiver()
|
/frameworks/base/services/java/com/android/server/input/ |
D | InputWindowHandle.java | 40 public InputChannel inputChannel; field in InputWindowHandle
|
D | InputManagerService.java | 166 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/ |
D | IInputMethodSessionWrapper.java | 197 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver() argument 198 super(inputChannel, looper); in ImeInputEventReceiver()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 233 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { in WallpaperInputEventReceiver() argument 234 super(inputChannel, looper); in WallpaperInputEventReceiver()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodManager.java | 1981 public ImeInputEventSender(InputChannel inputChannel, Looper looper) { in ImeInputEventSender() argument 1982 super(inputChannel, looper); in ImeInputEventSender()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindowManager.java | 2512 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);
|