/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 | 46 explicit NativeInputChannel(const sp<InputChannel>& inputChannel); 62 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : argument 63 mInputChannel(inputChannel), mDisposeCallback(NULL) { 215 InputChannel* inputChannel = new InputChannel(name.string(), dupFd); local 216 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel); 230 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); local 233 parcel->writeString8(String8(inputChannel->getName().c_str())); 234 parcel->writeDupFileDescriptor(inputChannel->getFd());
|
H A D | android_view_InputEventReceiver.cpp | 55 jobject receiverWeak, const sp<InputChannel>& inputChannel, 92 jobject receiverWeak, const sp<InputChannel>& inputChannel, 95 mInputConsumer(inputChannel), mMessageQueue(messageQueue), 341 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 343 if (inputChannel == NULL) { 355 receiverWeak, inputChannel, messageQueue); 91 NativeInputEventReceiver(JNIEnv* env, jobject receiverWeak, const sp<InputChannel>& inputChannel, const sp<MessageQueue>& messageQueue) argument
|
H A D | android_view_InputEventSender.cpp | 55 jobject senderWeak, const sp<InputChannel>& inputChannel, 83 jobject senderWeak, const sp<InputChannel>& inputChannel, 86 mInputPublisher(inputChannel), mMessageQueue(messageQueue), 241 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 243 if (inputChannel == NULL) { 255 senderWeak, inputChannel, messageQueue); 82 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); 197 InputChannel inputChannel, Looper looper); 47 nativeInit(WeakReference<InputEventReceiver> receiver, InputChannel inputChannel, MessageQueue messageQueue) argument 196 createInputEventReceiver( InputChannel inputChannel, Looper looper) argument
|
H A D | BatchedInputEventReceiver.java | 30 InputChannel inputChannel, Looper looper, Choreographer choreographer) { 31 super(inputChannel, looper); 29 BatchedInputEventReceiver( InputChannel inputChannel, Looper looper, Choreographer choreographer) argument
|
H A D | IWindowManager.aidl | 395 void createInputConsumer(IBinder token, String name, out InputChannel inputChannel);
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | InputConsumerController.java | 65 public InputEventReceiver(InputChannel inputChannel, Looper looper) { argument 66 super(inputChannel, looper, Choreographer.getSfInstance()); 147 final InputChannel inputChannel = new InputChannel(); 150 mWindowManager.createInputConsumer(mToken, mName, inputChannel); 154 mInputEventReceiver = new InputEventReceiver(inputChannel, Looper.myLooper());
|
/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 | InputConsumerImpl.java | 43 InputChannel inputChannel, int clientPid, UserHandle clientUser) { 52 if (inputChannel != null) { 53 channels[1].transferTo(inputChannel); 55 mClientChannel = inputChannel; 69 mWindowHandle.inputChannel = mServerChannel; 42 InputConsumerImpl(WindowManagerService service, IBinder token, String name, InputChannel inputChannel, int clientPid, UserHandle clientUser) argument
|
H A D | DragInputEventReceiver.java | 50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, argument 52 super(inputChannel, looper);
|
H A D | InputMonitor.java | 116 super(service, null /* token */, name, null /* inputChannel */, clientPid, clientUser); 182 void createInputConsumer(IBinder token, String name, InputChannel inputChannel, int clientPid, argument 189 inputChannel, clientPid, clientUser); 652 final InputChannel inputChannel = w.mInputChannel; 654 if (inputChannel == null || inputWindowHandle == null || w.mRemoved
|
H A D | TaskPositioner.java | 124 InputChannel inputChannel, Looper looper, Choreographer choreographer) { 125 super(inputChannel, looper, choreographer); 263 mDragWindowHandle.inputChannel = mServerChannel; 123 WindowPositionerEventReceiver( InputChannel inputChannel, Looper looper, Choreographer choreographer) argument
|
/frameworks/native/libs/input/tests/ |
H A D | InputChannel_test.cpp | 44 sp<InputChannel> inputChannel = new InputChannel("channel name", pipe.sendFd); local 46 EXPECT_STREQ("channel name", inputChannel->getName().c_str()) 48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) 51 inputChannel.clear(); // destroys input channel
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 44 public InputChannel inputChannel; field in class:InputWindowHandle
|
H A D | InputManagerService.java | 207 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel, argument 209 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); argument 525 * @param inputChannel The input channel to register. 529 public void registerInputChannel(InputChannel inputChannel, argument 531 if (inputChannel == null) { 532 throw new IllegalArgumentException("inputChannel must not be null."); 535 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); 540 * @param inputChannel The input channel to unregister. 542 public void unregisterInputChannel(InputChannel inputChannel) { argument 543 if (inputChannel [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 36 jfieldID inputChannel; member in struct:android::__anon1133 94 gInputWindowHandleClassInfo.inputChannel); 96 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); 99 mInfo->inputChannel.clear(); 243 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, 244 "inputChannel", "Landroid/view/InputChannel;");
|
H A D | com_android_server_input_InputManagerService.cpp | 209 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 211 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 452 const sp<InputChannel>& inputChannel, 456 inputChannel, inputWindowHandle, monitor); 460 const sp<InputChannel>& inputChannel) { 462 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); 1340 "inputChannel is not initialized"); 1344 jobject /* inputChannelObj */, const sp<InputChannel>& inputChannel, void* data) { 1348 "the input manager!", inputChannel->getName().c_str()); 1349 im->unregisterInputChannel(env, inputChannel); 451 registerInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 459 unregisterInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel) argument 1343 handleInputChannelDisposed(JNIEnv* env, jobject , const sp<InputChannel>& inputChannel, void* data) argument 1356 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 1385 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.h | 150 sp<InputChannel> inputChannel; member in struct:android::InputTarget 346 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, 348 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0; 398 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, 400 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel); 814 sp<InputChannel> inputChannel; // never null member in class:android::InputDispatcher::Connection 831 explicit Connection(const sp<InputChannel>& inputChannel, 834 inline const std::string getInputChannelName() const { return inputChannel->getName(); } 899 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel); 957 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) cons [all...] |
H A D | InputWindow.h | 117 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo 172 return mInfo ? mInfo->inputChannel : NULL;
|
H A D | InputDispatcher.cpp | 265 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); 971 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); 979 inputTarget.inputChannel->getName().c_str()); 1055 const sp<InputChannel>& inputChannel) { 1064 if (inputChannel.get()) { 1065 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); 1614 target.inputChannel = windowInfo->inputChannel; 1627 target.inputChannel = mMonitoringChannels[i]; 2231 d->unregisterInputChannelLocked(connection->inputChannel, notif 1054 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument 3400 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 3433 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument 3453 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument 3478 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument 3487 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument 4453 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 | 365 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 366 super(inputChannel, looper);
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 520 public void createInputConsumer(IBinder token, String name, InputChannel inputChannel) argument
|