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.cpp44 NativeInputChannel(const sp<InputChannel>& inputChannel);
60 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : argument
61 mInputChannel(inputChannel), mDisposeCallback(NULL) {
212 InputChannel* inputChannel = new InputChannel(name, dupFd); local
213 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel);
227 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); local
230 parcel->writeString8(inputChannel->getName());
231 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.cpp52 jobject senderWeak, const sp<InputChannel>& inputChannel,
80 jobject senderWeak, const sp<InputChannel>& inputChannel,
83 mInputPublisher(inputChannel), mMessageQueue(messageQueue),
235 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
237 if (inputChannel == NULL) {
249 senderWeak, inputChannel, messageQueue);
79 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 DFakeWindowImpl.java60 mWindowHandle.inputChannel = mServerChannel;
H A DInputMonitor.java273 final InputChannel inputChannel = child.mInputChannel;
275 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) {
H A DWindowState.java1117 void setInputChannel(InputChannel inputChannel) { argument
1122 mInputChannel = inputChannel;
1123 mInputWindowHandle.inputChannel = inputChannel;
1134 mInputWindowHandle.inputChannel = null;
H A DDragState.java114 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::__anon1007
94 gInputWindowHandleClassInfo.inputChannel);
96 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj);
99 mInfo->inputChannel.clear();
242 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz,
243 "inputChannel", "Landroid/view/InputChannel;");
H A Dcom_android_server_input_InputManagerService.cpp182 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
184 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
354 const sp<InputChannel>& inputChannel,
357 inputChannel, inputWindowHandle, monitor);
361 const sp<InputChannel>& inputChannel) {
362 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel);
1105 "inputChannel is not initialized");
1109 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) {
1113 "the input manager!", inputChannel->getName().string());
1114 im->unregisterInputChannel(env, inputChannel);
353 registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
360 unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel) argument
1108 handleInputChannelDisposed(JNIEnv* env, jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) argument
1121 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
1150 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);
801 sp<InputChannel> inputChannel; // never null member in class:android::InputDispatcher::Connection
818 explicit Connection(const sp<InputChannel>& inputChannel,
821 inline const char* getInputChannelName() const { return inputChannel->getName().string(); }
884 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel);
942 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.cpp222 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel);
920 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
928 inputTarget.inputChannel->getName().string());
1004 const sp<InputChannel>& inputChannel) {
1013 if (inputChannel.get()) {
1014 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel);
1557 target.inputChannel = windowInfo->inputChannel;
1570 target.inputChannel = mMonitoringChannels[i];
2150 d->unregisterInputChannelLocked(connection->inputChannel, notif
1003 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument
3286 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
3319 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument
3339 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument
3364 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument
3373 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument
4347 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.java246 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
247 super(inputChannel, looper);
H A DTvInputManager.java1850 public TvInputEventSender(InputChannel inputChannel, Looper looper) { argument
1851 super(inputChannel, looper);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java243 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
244 super(inputChannel, looper);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java2179 public ImeInputEventSender(InputChannel inputChannel, Looper looper) { argument
2180 super(inputChannel, looper);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java3043 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
3044 super(inputChannel, looper);
3096 InputChannel inputChannel, Looper looper) {
3097 return new HideNavInputEventReceiver(inputChannel, looper);

Completed in 761 milliseconds

12