/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 | 53 jobject receiverWeak, const sp<InputChannel>& inputChannel, 90 jobject receiverWeak, const sp<InputChannel>& inputChannel, 93 mInputConsumer(inputChannel), mMessageQueue(messageQueue), 335 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 337 if (inputChannel == NULL) { 349 receiverWeak, inputChannel, messageQueue); 89 NativeInputEventReceiver(JNIEnv* env, jobject receiverWeak, const sp<InputChannel>& inputChannel, const sp<MessageQueue>& messageQueue) argument
|
H A D | android_view_InputEventSender.cpp | 52 jobject senderWeak, const sp<InputChannel>& inputChannel, 80 jobject senderWeak, const sp<InputChannel>& inputChannel, 83 mInputPublisher(inputChannel), mMessageQueue(messageQueue), 235 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 237 if (inputChannel == NULL) { 249 senderWeak, inputChannel, messageQueue); 79 NativeInputEventSender(JNIEnv* env, jobject senderWeak, const sp<InputChannel>& inputChannel, const sp<MessageQueue>& messageQueue) argument
|
/frameworks/base/core/java/android/view/ |
H A D | InputEventSender.java | 44 InputChannel inputChannel, MessageQueue messageQueue); 52 * @param inputChannel The input channel. 55 public InputEventSender(InputChannel inputChannel, Looper looper) { argument 56 if (inputChannel == null) { 57 throw new IllegalArgumentException("inputChannel must not be null"); 63 mInputChannel = inputChannel; 66 inputChannel, mMessageQueue); 43 nativeInit(WeakReference<InputEventSender> sender, InputChannel inputChannel, MessageQueue messageQueue) argument
|
H A D | InputEventReceiver.java | 48 InputChannel inputChannel, MessageQueue messageQueue); 57 * @param inputChannel The input channel. 60 public InputEventReceiver(InputChannel inputChannel, Looper looper) { argument 61 if (inputChannel == null) { 62 throw new IllegalArgumentException("inputChannel must not be null"); 68 mInputChannel = inputChannel; 71 inputChannel, mMessageQueue); 196 InputChannel inputChannel, Looper looper); 47 nativeInit(WeakReference<InputEventReceiver> receiver, InputChannel inputChannel, MessageQueue messageQueue) argument 195 createInputEventReceiver( InputChannel inputChannel, Looper looper) argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | PointerEventDispatcher.java | 34 public PointerEventDispatcher(InputChannel inputChannel) { argument 35 super(inputChannel, UiThread.getHandler().getLooper());
|
H A D | FakeWindowImpl.java | 60 mWindowHandle.inputChannel = mServerChannel;
|
H A D | InputMonitor.java | 273 final InputChannel inputChannel = child.mInputChannel; 275 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) {
|
H A D | WindowState.java | 1117 void setInputChannel(InputChannel inputChannel) { argument 1122 mInputChannel = inputChannel; 1123 mInputWindowHandle.inputChannel = inputChannel; 1134 mInputWindowHandle.inputChannel = null;
|
H A D | DragState.java | 114 mDragWindowHandle.inputChannel = mServerChannel;
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 40 public InputChannel inputChannel; field in class:InputWindowHandle
|
H A D | InputManagerService.java | 173 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel, argument 175 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); argument 460 * @param inputChannel The input channel to register. 464 public void registerInputChannel(InputChannel inputChannel, argument 466 if (inputChannel == null) { 467 throw new IllegalArgumentException("inputChannel must not be null."); 470 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); 475 * @param inputChannel The input channel to unregister. 477 public void unregisterInputChannel(InputChannel inputChannel) { argument 478 if (inputChannel [all...] |
/frameworks/native/libs/input/tests/ |
H A D | InputChannel_test.cpp | 44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); local 46 EXPECT_STREQ("channel name", inputChannel->getName().string()) 48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) 51 inputChannel.clear(); // destroys input channel
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 36 jfieldID inputChannel; member in struct:android::__anon1007 94 gInputWindowHandleClassInfo.inputChannel); 96 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); 99 mInfo->inputChannel.clear(); 242 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, 243 "inputChannel", "Landroid/view/InputChannel;");
|
H A 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, 357 inputChannel, inputWindowHandle, monitor); 361 const sp<InputChannel>& inputChannel) { 362 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); 1105 "inputChannel is not initialized"); 1109 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { 1113 "the input manager!", inputChannel->getName().string()); 1114 im->unregisterInputChannel(env, inputChannel); 353 registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 360 unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel) argument 1108 handleInputChannelDisposed(JNIEnv* env, jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) argument 1121 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 1150 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local [all...] |
/frameworks/native/services/inputflinger/ |
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); 801 sp<InputChannel> inputChannel; // never null member in class:android::InputDispatcher::Connection 818 explicit Connection(const sp<InputChannel>& inputChannel, 821 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } 884 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel); 942 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) cons [all...] |
H A D | InputWindow.h | 114 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo 167 return mInfo ? mInfo->inputChannel : NULL;
|
H A D | InputDispatcher.cpp | 222 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); 920 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); 928 inputTarget.inputChannel->getName().string()); 1004 const sp<InputChannel>& inputChannel) { 1013 if (inputChannel.get()) { 1014 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); 1557 target.inputChannel = windowInfo->inputChannel; 1570 target.inputChannel = mMonitoringChannels[i]; 2150 d->unregisterInputChannelLocked(connection->inputChannel, notif 1003 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument 3286 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 3319 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument 3339 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument 3364 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument 3373 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument 4347 Connection(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodSessionWrapper.java | 216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 217 super(inputChannel, looper);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputSessionWrapper.java | 246 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 247 super(inputChannel, looper);
|
H A D | TvInputManager.java | 1850 public TvInputEventSender(InputChannel inputChannel, Looper looper) { argument 1851 super(inputChannel, looper);
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 243 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 244 super(inputChannel, looper);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 2179 public ImeInputEventSender(InputChannel inputChannel, Looper looper) { argument 2180 super(inputChannel, looper);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 3043 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 3044 super(inputChannel, looper); 3096 InputChannel inputChannel, Looper looper) { 3097 return new HideNavInputEventReceiver(inputChannel, looper);
|