Searched refs:inputChannel (Results 1 - 25 of 27) 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 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 Dandroid_view_InputEventReceiver.cpp53 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 Dandroid_view_InputEventSender.cpp53 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 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);
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 DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { argument
35 super(inputChannel, UiThread.getHandler().getLooper());
H A DInputConsumerImpl.java58 mWindowHandle.inputChannel = mServerChannel;
H A DInputMonitor.java267 final InputChannel inputChannel = child.mInputChannel;
269 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) {
H A DWindowState.java1184 void setInputChannel(InputChannel inputChannel) { argument
1189 mInputChannel = inputChannel;
1190 mInputWindowHandle.inputChannel = inputChannel;
1201 mInputWindowHandle.inputChannel = null;
H A DDragState.java116 mDragWindowHandle.inputChannel = mServerChannel;
/frameworks/base/services/core/java/com/android/server/input/
H A DInputWindowHandle.java40 public InputChannel inputChannel; field in class:InputWindowHandle
H A DInputManagerService.java173 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 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/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp36 jfieldID inputChannel; member in struct:android::__anon1062
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.cpp190 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
192 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
378 const sp<InputChannel>& inputChannel,
381 inputChannel, inputWindowHandle, monitor);
385 const sp<InputChannel>& inputChannel) {
386 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel);
1131 "inputChannel is not initialized");
1135 jobject /* inputChannelObj */, const sp<InputChannel>& inputChannel, void* data) {
1139 "the input manager!", inputChannel->getName().string());
1140 im->unregisterInputChannel(env, inputChannel);
377 registerInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
384 unregisterInputChannel(JNIEnv* , const sp<InputChannel>& inputChannel) argument
1134 handleInputChannelDisposed(JNIEnv* env, jobject , const sp<InputChannel>& inputChannel, void* data) argument
1147 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
1176 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
[all...]
/frameworks/native/services/inputflinger/
H A DInputDispatcher.h145 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);
809 sp<InputChannel> inputChannel; // never null member in class:android::InputDispatcher::Connection
826 explicit Connection(const sp<InputChannel>& inputChannel,
829 inline const char* getInputChannelName() const { return inputChannel->getName().string(); }
894 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel);
952 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) cons
[all...]
H A DInputWindow.h114 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo
167 return mInfo ? mInfo->inputChannel : NULL;
H A DInputDispatcher.cpp226 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel);
934 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
942 inputTarget.inputChannel->getName().string());
1018 const sp<InputChannel>& inputChannel) {
1027 if (inputChannel.get()) {
1028 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel);
1571 target.inputChannel = windowInfo->inputChannel;
1584 target.inputChannel = mMonitoringChannels[i];
2164 d->unregisterInputChannelLocked(connection->inputChannel, notif
1017 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument
3311 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
3344 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument
3364 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument
3389 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument
3398 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument
4360 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.java304 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
305 super(inputChannel, looper);
H A DTvInputManager.java2091 public TvInputEventSender(InputChannel inputChannel, Looper looper) { argument
2092 super(inputChannel, looper);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java248 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
249 super(inputChannel, looper);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java2224 public ImeInputEventSender(InputChannel inputChannel, Looper looper) { argument
2225 super(inputChannel, looper);
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java3316 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
3317 super(inputChannel, looper);
3369 InputChannel inputChannel, Looper looper) {
3370 return new HideNavInputEventReceiver(inputChannel, looper);

Completed in 372 milliseconds

12