/frameworks/base/core/java/android/view/ |
D | InputEventReceiver.java | 46 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument 58 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver() argument 59 if (inputChannel == null) { in InputEventReceiver() 66 mInputChannel = inputChannel; in InputEventReceiver() 68 mReceiverPtr = nativeInit(this, inputChannel, mMessageQueue); in InputEventReceiver() 190 InputChannel inputChannel, Looper looper); in createInputEventReceiver() argument
|
D | ViewRootImpl.java | 4357 public WindowInputEventReceiver(InputChannel inputChannel, Looper looper) { in WindowInputEventReceiver() argument 4358 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_InputEventReceiver.cpp | 50 jobject receiverObj, const sp<InputChannel>& inputChannel, 77 jobject receiverObj, const sp<InputChannel>& inputChannel, in NativeInputEventReceiver() argument 80 mInputConsumer(inputChannel), mMessageQueue(messageQueue), in NativeInputEventReceiver() 229 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeInit() local 231 if (inputChannel == NULL) { in nativeInit() 243 receiverObj, inputChannel, messageQueue); in nativeInit()
|
D | android_view_InputChannel.h | 27 const sp<InputChannel>& inputChannel, void* data);
|
D | android_app_NativeActivity.cpp | 407 inputChannel = NULL; in NativeCode() 446 if (inputChannel != NULL) { in setInputChannel() 448 env->DeleteGlobalRef(inputChannel); in setInputChannel() 450 inputChannel = NULL; in setInputChannel() 453 inputChannel = env->NewGlobalRef(_channel); in setInputChannel() 478 jobject inputChannel; member
|
/frameworks/base/libs/androidfw/tests/ |
D | InputChannel_test.cpp | 43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); in TEST_F() local 45 EXPECT_STREQ("channel name", inputChannel->getName().string()) in TEST_F() 47 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) in TEST_F() 50 inputChannel.clear(); // destroys input channel in TEST_F()
|
/frameworks/base/services/input/ |
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); 799 sp<InputChannel> inputChannel; // never null variable 816 explicit Connection(const sp<InputChannel>& inputChannel, 819 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } in getInputChannelName() 878 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel); 922 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) const; [all …]
|
D | InputDispatcher.cpp | 217 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); in ~InputDispatcher() 909 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); in dispatchEventLocked() 917 inputTarget.inputChannel->getName().string()); in dispatchEventLocked() 993 const sp<InputChannel>& inputChannel) { in resumeAfterTargetsNotReadyTimeoutLocked() argument 1002 if (inputChannel.get()) { in resumeAfterTargetsNotReadyTimeoutLocked() 1003 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); in resumeAfterTargetsNotReadyTimeoutLocked() 1599 target.inputChannel = windowInfo->inputChannel; in addWindowTargetLocked() 1612 target.inputChannel = mMonitoringChannels[i]; in addMonitoringTargetsLocked() 2159 d->unregisterInputChannelLocked(connection->inputChannel, notify); in handleReceiveCallback() 2214 sp<InputWindowHandle> windowHandle = getWindowHandleLocked(connection->inputChannel); in synthesizeCancelationEventsForConnectionLocked() [all …]
|
D | InputWindow.h | 117 sp<InputChannel> inputChannel; member 168 return mInfo ? mInfo->inputChannel : NULL; in getInputChannel()
|
/frameworks/base/services/jni/ |
D | com_android_server_input_InputWindowHandle.cpp | 35 jfieldID inputChannel; member 91 gInputWindowHandleClassInfo.inputChannel); in updateInfo() 93 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); in updateInfo() 96 mInfo->inputChannel.clear(); in updateInfo() 238 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, in register_android_server_InputWindowHandle()
|
D | com_android_server_input_InputManagerService.cpp | 169 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 171 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 337 const sp<InputChannel>& inputChannel, in registerInputChannel() argument 340 inputChannel, inputWindowHandle, monitor); in registerInputChannel() 344 const sp<InputChannel>& inputChannel) { in unregisterInputChannel() argument 345 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); in unregisterInputChannel() 1066 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { in handleInputChannelDisposed() argument 1070 "the input manager!", inputChannel->getName().string()); in handleInputChannelDisposed() 1071 im->unregisterInputChannel(env, inputChannel); in handleInputChannelDisposed() 1078 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeRegisterInputChannel() local [all …]
|
/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 441 public void registerInputChannel(InputChannel inputChannel, in registerInputChannel() argument 443 if (inputChannel == null) { in registerInputChannel() 447 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); in registerInputChannel() 454 public void unregisterInputChannel(InputChannel inputChannel) { in unregisterInputChannel() argument 455 if (inputChannel == null) { in unregisterInputChannel() 459 nativeUnregisterInputChannel(mPtr, inputChannel); in unregisterInputChannel()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | FakeWindowImpl.java | 62 mWindowHandle.inputChannel = mServerChannel; in FakeWindowImpl()
|
D | InputMonitor.java | 256 final InputChannel inputChannel = child.mInputChannel; in updateInputWindowsLw() local 258 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) { in updateInputWindowsLw()
|
D | WindowState.java | 907 void setInputChannel(InputChannel inputChannel) { in setInputChannel() argument 912 mInputChannel = inputChannel; in setInputChannel() 913 mInputWindowHandle.inputChannel = inputChannel; in setInputChannel() 924 mInputWindowHandle.inputChannel = null; in disposeInputChannel()
|
D | DragState.java | 114 mDragWindowHandle.inputChannel = mServerChannel; in register()
|
D | WindowManagerService.java | 667 public DragInputEventReceiver(InputChannel inputChannel, Looper looper) { in DragInputEventReceiver() argument 668 super(inputChannel, looper); in DragInputEventReceiver()
|
/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/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindowManager.java | 330 public PointerLocationInputEventReceiver(InputChannel inputChannel, Looper looper, in PointerLocationInputEventReceiver() argument 332 super(inputChannel, looper); in PointerLocationInputEventReceiver() 2262 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { in HideNavInputEventReceiver() argument 2263 super(inputChannel, looper); in HideNavInputEventReceiver() 2324 InputChannel inputChannel, Looper looper) { 2325 return new HideNavInputEventReceiver(inputChannel, looper);
|