/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); 182 InputChannel inputChannel, Looper looper); 45 nativeInit(InputEventReceiver receiver, InputChannel inputChannel, MessageQueue messageQueue) argument 181 createInputEventReceiver( InputChannel inputChannel, Looper looper) argument
|
H A D | ViewRootImpl.java | 4218 public WindowInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 4219 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/services/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 40 public InputChannel inputChannel; field in class:InputWindowHandle
|
H A D | InputManagerService.java | 159 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel, argument 161 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel); argument 392 * @param inputChannel The input channel to register. 396 public void registerInputChannel(InputChannel inputChannel, argument 398 if (inputChannel == null) { 399 throw new IllegalArgumentException("inputChannel must not be null."); 402 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); 407 * @param inputChannel The input channel to unregister. 409 public void unregisterInputChannel(InputChannel inputChannel) { argument 410 if (inputChannel [all...] |
/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/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 35 jfieldID inputChannel; member in struct:android::__anon1162 90 gInputWindowHandleClassInfo.inputChannel); 92 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); 95 mInfo->inputChannel.clear(); 235 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, 236 "inputChannel", "Landroid/view/InputChannel;");
|
H A D | com_android_server_input_InputManagerService.cpp | 171 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 173 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 379 const sp<InputChannel>& inputChannel, 382 inputChannel, inputWindowHandle, monitor); 386 const sp<InputChannel>& inputChannel) { 387 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); 1104 "inputChannel is not initialized"); 1108 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { 1112 "the input manager!", inputChannel->getName().string()); 1113 im->unregisterInputChannel(env, inputChannel); 378 registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 385 unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel) argument 1107 handleInputChannelDisposed(JNIEnv* env, jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) argument 1120 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 1149 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); 796 sp<InputChannel> inputChannel; // never null member in class:android::InputDispatcher::Connection 813 explicit Connection(const sp<InputChannel>& inputChannel, 816 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } 875 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel); 914 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) cons [all...] |
H A D | InputWindow.h | 115 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo 165 return mInfo ? mInfo->inputChannel : NULL;
|
H A D | InputDispatcher.cpp | 213 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); 888 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); 896 inputTarget.inputChannel->getName().string()); 972 const sp<InputChannel>& inputChannel) { 981 if (inputChannel.get()) { 982 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); 1568 target.inputChannel = windowInfo->inputChannel; 1581 target.inputChannel = mMonitoringChannels[i]; 2116 d->unregisterInputChannelLocked(connection->inputChannel, notif 971 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument 3171 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 3203 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument 3223 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument 3250 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument 3259 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument 4183 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 | 61 mWindowHandle.inputChannel = mServerChannel;
|
H A D | InputMonitor.java | 191 final InputChannel inputChannel = child.mInputChannel; 193 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) {
|
H A D | WindowState.java | 830 void setInputChannel(InputChannel inputChannel) { argument 835 mInputChannel = inputChannel; 836 mInputWindowHandle.inputChannel = inputChannel; 847 mInputWindowHandle.inputChannel = null;
|
H A D | DragState.java | 106 mDragWindowHandle.inputChannel = mServerChannel;
|
H A D | WindowManagerService.java | 683 public DragInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 684 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 | 376 public PointerLocationInputEventReceiver(InputChannel inputChannel, Looper looper, argument 378 super(inputChannel, looper); 2194 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 2195 super(inputChannel, looper); 2256 InputChannel inputChannel, Looper looper) { 2257 return new HideNavInputEventReceiver(inputChannel, looper);
|