/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 | BatchedInputEventReceiver.java | 30 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() argument 31 super(inputChannel, looper); in BatchedInputEventReceiver()
|
D | IWindowManager.aidl | 418 void createWallpaperInputConsumer(out InputChannel inputChannel); in createWallpaperInputConsumer() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputConsumerImpl.java | 32 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()
|
D | PointerEventDispatcher.java | 34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher() argument 35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
|
D | TaskPositioner.java | 121 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in WindowPositionerEventReceiver() argument 122 super(inputChannel, looper, choreographer); in WindowPositionerEventReceiver() 259 mDragWindowHandle.inputChannel = mServerChannel; in register()
|
D | InputMonitor.java | 295 final InputChannel inputChannel = child.mInputChannel; in updateInputWindowsLw() local 297 if (inputChannel == null || inputWindowHandle == null || child.mRemoved in updateInputWindowsLw()
|
D | WindowState.java | 1520 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/ |
D | android_view_InputChannel.cpp | 46 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()
|
D | android_view_InputEventSender.cpp | 53 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()
|
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 | 151 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 …]
|
D | InputDispatcher.cpp | 226 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 …]
|
D | InputWindow.h | 115 sp<InputChannel> inputChannel; member 170 return mInfo ? mInfo->inputChannel : NULL; in getInputChannel()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputWindowHandle.cpp | 36 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()
|
D | com_android_server_input_InputManagerService.cpp | 195 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/ |
D | InputWindowHandle.java | 40 public InputChannel inputChannel; field in InputWindowHandle
|
D | InputManagerService.java | 196 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/ |
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 | 365 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { in TvInputEventReceiver() argument 366 super(inputChannel, looper); in TvInputEventReceiver()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 588 public void createWallpaperInputConsumer(InputChannel inputChannel) throws RemoteException {} in createWallpaperInputConsumer() argument
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 249 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { in WallpaperInputEventReceiver() argument 250 super(inputChannel, looper); in WallpaperInputEventReceiver()
|