/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()
|
/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/native/services/inputflinger/ |
D | InputDispatcher.h | 145 sp<InputChannel> inputChannel; member 341 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, 343 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0; 393 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, 395 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel); 801 sp<InputChannel> inputChannel; // never null variable 818 explicit Connection(const sp<InputChannel>& inputChannel, 821 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } in getInputChannelName() 884 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel); 942 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) const; [all …]
|
D | InputWindow.h | 119 sp<InputChannel> inputChannel; member 173 return mInfo ? mInfo->inputChannel : NULL; in getInputChannel()
|
D | InputDispatcher.cpp | 222 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); in ~InputDispatcher() 926 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); in dispatchEventLocked() 934 inputTarget.inputChannel->getName().string()); in dispatchEventLocked() 1010 const sp<InputChannel>& inputChannel) { in resumeAfterTargetsNotReadyTimeoutLocked() argument 1019 if (inputChannel.get()) { in resumeAfterTargetsNotReadyTimeoutLocked() 1020 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in resumeAfterTargetsNotReadyTimeoutLocked() 1582 target.inputChannel = windowInfo->inputChannel; in addWindowTargetLocked() 1595 target.inputChannel = mMonitoringChannels[i]; in addMonitoringTargetsLocked() 2175 d->unregisterInputChannelLocked(connection->inputChannel, notify); in handleReceiveCallback() 2230 sp<InputWindowHandle> windowHandle = getWindowHandleLocked(connection->inputChannel); in synthesizeCancelationEventsForConnectionLocked() [all …]
|
/frameworks/base/services/core/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 | 60 mWindowHandle.inputChannel = mServerChannel; in FakeWindowImpl()
|
D | InputMonitor.java | 273 final InputChannel inputChannel = child.mInputChannel; in updateInputWindowsLw() local 275 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) { in updateInputWindowsLw()
|
D | WindowState.java | 1088 void setInputChannel(InputChannel inputChannel) { in setInputChannel() argument 1093 mInputChannel = inputChannel; in setInputChannel() 1094 mInputWindowHandle.inputChannel = inputChannel; in setInputChannel() 1105 mInputWindowHandle.inputChannel = null; in disposeInputChannel()
|
D | DragState.java | 114 mDragWindowHandle.inputChannel = mServerChannel; in register()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputWindowHandle.cpp | 36 jfieldID inputChannel; member 95 gInputWindowHandleClassInfo.inputChannel); in updateInfo() 97 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); in updateInfo() 100 mInfo->inputChannel.clear(); in updateInfo() 245 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, in register_android_server_InputWindowHandle()
|
D | com_android_server_input_InputManagerService.cpp | 182 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 184 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 354 const sp<InputChannel>& inputChannel, in registerInputChannel() argument 357 inputChannel, inputWindowHandle, monitor); in registerInputChannel() 361 const sp<InputChannel>& inputChannel) { in unregisterInputChannel() argument 362 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); in unregisterInputChannel() 1109 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { in handleInputChannelDisposed() argument 1113 "the input manager!", inputChannel->getName().string()); in handleInputChannelDisposed() 1114 im->unregisterInputChannel(env, inputChannel); in handleInputChannelDisposed() 1121 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeRegisterInputChannel() local [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputWindowHandle.java | 40 public InputChannel inputChannel; field in InputWindowHandle
|
D | InputManagerService.java | 173 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel, in nativeRegisterInputChannel() argument 175 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); in nativeUnregisterInputChannel() argument 464 public void registerInputChannel(InputChannel inputChannel, in registerInputChannel() argument 466 if (inputChannel == null) { in registerInputChannel() 470 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); in registerInputChannel() 477 public void unregisterInputChannel(InputChannel inputChannel) { in unregisterInputChannel() argument 478 if (inputChannel == null) { in unregisterInputChannel() 482 nativeUnregisterInputChannel(mPtr, inputChannel); in unregisterInputChannel()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver() argument 217 super(inputChannel, looper); in ImeInputEventReceiver()
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputSessionWrapper.java | 237 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { in TvInputEventReceiver() argument 238 super(inputChannel, looper); in TvInputEventReceiver()
|
D | TvInputManager.java | 1721 public TvInputEventSender(InputChannel inputChannel, Looper looper) { 1722 super(inputChannel, looper);
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 254 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { in WallpaperInputEventReceiver() argument 255 super(inputChannel, looper); in WallpaperInputEventReceiver()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodManager.java | 2179 public ImeInputEventSender(InputChannel inputChannel, Looper looper) { in ImeInputEventSender() argument 2180 super(inputChannel, looper); in ImeInputEventSender()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindowManager.java | 2792 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { in HideNavInputEventReceiver() argument 2793 super(inputChannel, looper); in HideNavInputEventReceiver() 2845 InputChannel inputChannel, Looper looper) { 2846 return new HideNavInputEventReceiver(inputChannel, looper);
|