Searched refs:inputChannel (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.h27 const sp<InputChannel>& inputChannel, void* data);
H A Dandroid_view_InputChannel.cpp46 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, dupFd); local
216 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel);
230 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); local
233 parcel->writeString8(inputChannel->getName());
234 parcel->writeDupFileDescriptor(inputChannel->getFd());
H A Dandroid_view_InputEventReceiver.cpp53 jobject receiverWeak, const sp<InputChannel>& inputChannel,
90 jobject receiverWeak, const sp<InputChannel>& inputChannel,
93 mInputConsumer(inputChannel), mMessageQueue(messageQueue),
337 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
339 if (inputChannel == NULL) {
351 receiverWeak, inputChannel, messageQueue);
89 NativeInputEventReceiver(JNIEnv* env, jobject receiverWeak, const sp<InputChannel>& inputChannel, const sp<MessageQueue>& messageQueue) argument
H A Dandroid_view_InputEventSender.cpp55 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 DInputEventSender.java44 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 DInputEventReceiver.java48 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 DBatchedInputEventReceiver.java30 InputChannel inputChannel, Looper looper, Choreographer choreographer) {
31 super(inputChannel, looper);
29 BatchedInputEventReceiver( InputChannel inputChannel, Looper looper, Choreographer choreographer) argument
H A DIWindowManager.aidl388 void createInputConsumer(String name, out InputChannel inputChannel);
/frameworks/base/services/core/java/com/android/server/wm/
H A DInputConsumerImpl.java32 InputConsumerImpl(WindowManagerService service, String name, InputChannel inputChannel) { argument
37 if (inputChannel != null) {
38 channels[1].transferTo(inputChannel);
40 mClientChannel = inputChannel;
54 mWindowHandle.inputChannel = mServerChannel;
H A DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { argument
35 super(inputChannel, UiThread.getHandler().getLooper());
H A DInputMonitor.java175 void createInputConsumer(String name, InputChannel inputChannel) { argument
180 final InputConsumerImpl consumer = new InputConsumerImpl(mService, name, inputChannel);
639 final InputChannel inputChannel = w.mInputChannel;
641 if (inputChannel == null || inputWindowHandle == null || w.mRemoved
H A DTaskPositioner.java131 InputChannel inputChannel, Looper looper, Choreographer choreographer) {
132 super(inputChannel, looper, choreographer);
276 mDragWindowHandle.inputChannel = mServerChannel;
130 WindowPositionerEventReceiver( InputChannel inputChannel, Looper looper, Choreographer choreographer) argument
H A DDragState.java154 mDragWindowHandle.inputChannel = mServerChannel;
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DInputConsumerController.java63 public PipInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
64 super(inputChannel, looper, Choreographer.getSfInstance());
124 final InputChannel inputChannel = new InputChannel();
127 mWindowManager.createInputConsumer(INPUT_CONSUMER_PIP, inputChannel);
131 mInputEventReceiver = new PipInputEventReceiver(inputChannel, Looper.myLooper());
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp44 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 DInputWindowHandle.java44 public InputChannel inputChannel; field in class:InputWindowHandle
H A DInputManagerService.java212 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel, argument
214 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); argument
530 * @param inputChannel The input channel to register.
534 public void registerInputChannel(InputChannel inputChannel, argument
536 if (inputChannel == null) {
537 throw new IllegalArgumentException("inputChannel must not be null.");
540 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false);
545 * @param inputChannel The input channel to unregister.
547 public void unregisterInputChannel(InputChannel inputChannel) { argument
548 if (inputChannel
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp36 jfieldID inputChannel; member in struct:android::__anon1302
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 Dcom_android_server_input_InputManagerService.cpp206 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
208 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
449 const sp<InputChannel>& inputChannel,
453 inputChannel, inputWindowHandle, monitor);
457 const sp<InputChannel>& inputChannel) {
459 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel);
1337 "inputChannel is not initialized");
1341 jobject /* inputChannelObj */, const sp<InputChannel>& inputChannel, void* data) {
1345 "the input manager!", inputChannel->getName().string());
1346 im->unregisterInputChannel(env, inputChannel);
448 registerInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
456 unregisterInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel) argument
1340 handleInputChannelDisposed(JNIEnv* env, jobject , const sp<InputChannel>& inputChannel, void* data) argument
1353 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
1382 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
[all...]
/frameworks/native/services/inputflinger/
H A DInputDispatcher.h151 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 DInputWindow.h118 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo
173 return mInfo ? mInfo->inputChannel : NULL;
H A DInputDispatcher.cpp226 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel);
931 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
939 inputTarget.inputChannel->getName().string());
1015 const sp<InputChannel>& inputChannel) {
1024 if (inputChannel.get()) {
1025 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel);
1576 target.inputChannel = windowInfo->inputChannel;
1589 target.inputChannel = mMonitoringChannels[i];
2193 d->unregisterInputChannelLocked(connection->inputChannel, notif
1014 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument
3341 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
3374 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument
3394 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument
3419 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument
3428 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument
4390 Connection(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
217 super(inputChannel, looper);
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java365 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
366 super(inputChannel, looper);
/frameworks/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java510 public void createInputConsumer(String name, InputChannel inputChannel) argument

Completed in 1214 milliseconds

12