Searched refs:inputChannel (Results 1 - 25 of 33) 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.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 Dandroid_view_InputEventReceiver.cpp55 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 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.aidl395 void createInputConsumer(IBinder token, String name, out InputChannel inputChannel);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DInputConsumerController.java65 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 DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { argument
35 super(inputChannel, UiThread.getHandler().getLooper());
H A DInputConsumerImpl.java43 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 DDragInputEventReceiver.java50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, argument
52 super(inputChannel, looper);
H A DInputMonitor.java116 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 DTaskPositioner.java124 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 DInputChannel_test.cpp44 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 DInputWindowHandle.java44 public InputChannel inputChannel; field in class:InputWindowHandle
H A DInputManagerService.java207 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 Dcom_android_server_input_InputWindowHandle.cpp36 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 Dcom_android_server_input_InputManagerService.cpp209 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 DInputDispatcher.h150 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 DInputWindow.h117 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo
172 return mInfo ? mInfo->inputChannel : NULL;
H A DInputDispatcher.cpp265 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 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.java520 public void createInputConsumer(IBinder token, String name, InputChannel inputChannel) argument

Completed in 431 milliseconds

12