/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 NativeInputChannel(const sp<InputChannel>& inputChannel); 62 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : argument 63 mInputChannel(inputChannel), mDisposeCallback(NULL) { 214 InputChannel* inputChannel = new InputChannel(name, dupFd); local 215 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel); 229 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); local 232 parcel->writeString8(inputChannel->getName()); 233 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 | 53 jobject senderWeak, const sp<InputChannel>& inputChannel, 81 jobject senderWeak, const sp<InputChannel>& inputChannel, 84 mInputPublisher(inputChannel), mMessageQueue(messageQueue), 238 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 240 if (inputChannel == NULL) { 252 senderWeak, inputChannel, messageQueue); 80 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
|
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 | 418 void createWallpaperInputConsumer(out InputChannel inputChannel);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputConsumerImpl.java | 32 InputConsumerImpl(WindowManagerService service, String name, InputChannel inputChannel) { argument 37 if (inputChannel != null) { 38 channels[1].transferTo(inputChannel); 40 mClientChannel = inputChannel; 53 mWindowHandle.inputChannel = mServerChannel;
|
H A D | PointerEventDispatcher.java | 34 public PointerEventDispatcher(InputChannel inputChannel) { argument 35 super(inputChannel, UiThread.getHandler().getLooper());
|
H A D | TaskPositioner.java | 121 InputChannel inputChannel, Looper looper, Choreographer choreographer) { 122 super(inputChannel, looper, choreographer); 259 mDragWindowHandle.inputChannel = mServerChannel; 120 WindowPositionerEventReceiver( InputChannel inputChannel, Looper looper, Choreographer choreographer) argument
|
H A D | InputMonitor.java | 295 final InputChannel inputChannel = child.mInputChannel; 297 if (inputChannel == null || inputWindowHandle == null || child.mRemoved
|
H A D | DragState.java | 158 mDragWindowHandle.inputChannel = mServerChannel;
|
H A D | WindowState.java | 1520 DeadWindowEventReceiver(InputChannel inputChannel) { argument 1521 super(inputChannel, mService.mH.getLooper()); 1541 mInputWindowHandle.inputChannel = inputChannels[0]; 1571 mInputWindowHandle.inputChannel = null;
|
/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/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 40 public InputChannel inputChannel; field in class:InputWindowHandle
|
H A D | InputManagerService.java | 196 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel, argument 198 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); argument 496 * @param inputChannel The input channel to register. 500 public void registerInputChannel(InputChannel inputChannel, argument 502 if (inputChannel == null) { 503 throw new IllegalArgumentException("inputChannel must not be null."); 506 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false); 511 * @param inputChannel The input channel to unregister. 513 public void unregisterInputChannel(InputChannel inputChannel) { argument 514 if (inputChannel [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 36 jfieldID inputChannel; member in struct:android::__anon1119 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 | 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, 394 inputChannel, inputWindowHandle, monitor); 398 const sp<InputChannel>& inputChannel) { 399 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); 1205 "inputChannel is not initialized"); 1209 jobject /* inputChannelObj */, const sp<InputChannel>& inputChannel, void* data) { 1213 "the input manager!", inputChannel->getName().string()); 1214 im->unregisterInputChannel(env, inputChannel); 390 registerInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 397 unregisterInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel) argument 1208 handleInputChannelDisposed(JNIEnv* env, jobject , const sp<InputChannel>& inputChannel, void* data) argument 1221 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local 1250 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.h | 151 sp<InputChannel> inputChannel; member in struct:android::InputTarget 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 member in class:android::InputDispatcher::Connection 832 explicit Connection(const sp<InputChannel>& inputChannel, 835 inline const char* getInputChannelName() const { return inputChannel->getName().string(); } 900 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel); 958 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) cons [all...] |
H A D | InputWindow.h | 115 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo 170 return mInfo ? mInfo->inputChannel : NULL;
|
H A D | InputDispatcher.cpp | 226 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); 936 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel); 944 inputTarget.inputChannel->getName().string()); 1020 const sp<InputChannel>& inputChannel) { 1029 if (inputChannel.get()) { 1030 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel); 1578 target.inputChannel = windowInfo->inputChannel; 1591 target.inputChannel = mMonitoringChannels[i]; 2195 d->unregisterInputChannelLocked(connection->inputChannel, notif 1019 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument 3342 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument 3375 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument 3395 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument 3420 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument 3429 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument 4391 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/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 588 public void createWallpaperInputConsumer(InputChannel inputChannel) throws RemoteException {} argument
|