/frameworks/base/core/java/android/view/ |
H A D | InputEventReceiver.java | 46 InputChannel inputChannel, MessageQueue messageQueue); 55 * @param inputChannel The input channel. 58 public InputEventReceiver(InputChannel inputChannel, Looper looper) { argument 59 if (inputChannel == null) { 60 throw new IllegalArgumentException("inputChannel must not be null"); 66 mInputChannel = inputChannel; 68 mReceiverPtr = nativeInit(this, inputChannel, mMessageQueue); 190 InputChannel inputChannel, Looper looper); 45 nativeInit(InputEventReceiver receiver, InputChannel inputChannel, MessageQueue messageQueue) argument 189 createInputEventReceiver( InputChannel inputChannel, Looper looper) argument
|
H A D | ViewRootImpl.java | 4357 public WindowInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 4358 super(inputChannel, looper);
|
/frameworks/base/core/jni/ |
H A D | android_view_InputChannel.h | 27 const sp<InputChannel>& inputChannel, void* data);
|
H A D | android_view_InputChannel.cpp | 44 NativeInputChannel(const sp<InputChannel>& inputChannel); 60 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : argument 61 mInputChannel(inputChannel), mDisposeCallback(NULL) { 212 InputChannel* inputChannel = new InputChannel(name, dupFd); local 213 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel); 227 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); local 230 parcel->writeString8(inputChannel->getName()); 231 parcel->writeDupFileDescriptor(inputChannel->getFd());
|
H A D | android_view_InputEventReceiver.cpp | 50 jobject receiverObj, const sp<InputChannel>& inputChannel, 77 jobject receiverObj, const sp<InputChannel>& inputChannel, 80 mInputConsumer(inputChannel), mMessageQueue(messageQueue), 229 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 231 if (inputChannel == NULL) { 243 receiverObj, inputChannel, messageQueue); 76 NativeInputEventReceiver(JNIEnv* env, jobject receiverObj, const sp<InputChannel>& inputChannel, const sp<MessageQueue>& messageQueue) argument
|
H A D | android_app_NativeActivity.cpp | 407 inputChannel = NULL; 446 if (inputChannel != NULL) { 448 env->DeleteGlobalRef(inputChannel); 450 inputChannel = NULL; 453 inputChannel = env->NewGlobalRef(_channel); 478 jobject inputChannel; member in struct:android::NativeCode
|
/frameworks/base/libs/androidfw/tests/ |
H A D | InputChannel_test.cpp | 43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); local 45 EXPECT_STREQ("channel name", inputChannel->getName().string()) 47 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) 50 inputChannel.clear(); // destroys input channel
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 40 public InputChannel inputChannel; field in class:InputWindowHandle
|
H A D | InputManagerService.java | 166 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel, argument 168 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel); argument 437 * @param inputChannel The input channel to register. 441 public void registerInputChannel(InputChannel inputChannel, argument 443 if (inputChannel == null) { 444 throw new IllegalArgumentException("inputChannel must not be null."); 447 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); 452 * @param inputChannel The input channel to unregister. 454 public void unregisterInputChannel(InputChannel inputChannel) { argument 455 if (inputChannel [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 35 jfieldID inputChannel; member in struct:android::__anon1141 91 gInputWindowHandleClassInfo.inputChannel); 93 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); 96 mInfo->inputChannel.clear(); 238 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, 239 "inputChannel", "Landroid/view/InputChannel;");
|
H A 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, 340 inputChannel, inputWindowHandle, monitor); 344 const sp<InputChannel>& inputChannel) { 345 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); 1062 "inputChannel is not initialized"); 1066 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { 1070 "the input manager!", inputChannel->getName().string()); 1071 im->unregisterInputChannel(env, inputChannel); 336 registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 343 unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel) argument 1065 handleInputChannelDisposed(JNIEnv* env, jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) argument 1078 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 1107 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local [all...] |
/frameworks/base/services/input/ |
H A D | InputDispatcher.h | 145 sp<InputChannel> inputChannel; member in struct:android::InputTarget 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 member in class:android::InputDispatcher::Connection 816 explicit Connection(const sp<InputChannel>& inputChannel, 819 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } 878 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel); 922 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) cons [all...] |
H A D | InputWindow.h | 117 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo 168 return mInfo ? mInfo->inputChannel : NULL;
|
H A D | InputDispatcher.cpp | 217 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); 909 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); 917 inputTarget.inputChannel->getName().string()); 993 const sp<InputChannel>& inputChannel) { 1002 if (inputChannel.get()) { 1003 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); 1599 target.inputChannel = windowInfo->inputChannel; 1612 target.inputChannel = mMonitoringChannels[i]; 2159 d->unregisterInputChannelLocked(connection->inputChannel, notif 992 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument 3234 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 3267 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument 3287 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument 3312 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument 3321 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument 4251 Connection(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | FakeWindowImpl.java | 62 mWindowHandle.inputChannel = mServerChannel;
|
H A D | InputMonitor.java | 256 final InputChannel inputChannel = child.mInputChannel; 258 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) {
|
H A D | WindowState.java | 889 void setInputChannel(InputChannel inputChannel) { argument 894 mInputChannel = inputChannel; 895 mInputWindowHandle.inputChannel = inputChannel; 906 mInputWindowHandle.inputChannel = null;
|
H A D | DragState.java | 114 mDragWindowHandle.inputChannel = mServerChannel;
|
H A D | WindowManagerService.java | 664 public DragInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 665 super(inputChannel, looper);
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 233 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 234 super(inputChannel, looper);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 330 public PointerLocationInputEventReceiver(InputChannel inputChannel, Looper looper, argument 332 super(inputChannel, looper); 2260 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 2261 super(inputChannel, looper); 2322 InputChannel inputChannel, Looper looper) { 2323 return new HideNavInputEventReceiver(inputChannel, looper);
|