Searched defs:inputChannel (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); local
45 EXPECT_STREQ("channel name", inputChannel->getName().string())
47 EXPECT_EQ(pipe.sendFd, inputChannel->getFd())
50 inputChannel.clear(); // destroys input channel
/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);
193 InputChannel inputChannel, Looper looper);
47 nativeInit(WeakReference<InputEventReceiver> receiver, InputChannel inputChannel, MessageQueue messageQueue) argument
192 createInputEventReceiver( InputChannel inputChannel, Looper looper) argument
H A DViewRootImpl.java5487 public WindowInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
5488 super(inputChannel, looper);
/frameworks/base/services/java/com/android/server/input/
H A DInputWindowHandle.java40 public InputChannel inputChannel; field in class:InputWindowHandle
H A DInputManagerService.java166 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel, argument
168 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel); argument
437 * @param inputChannel The input channel to register.
441 public void registerInputChannel(InputChannel inputChannel, argument
443 if (inputChannel == null) {
444 throw new IllegalArgumentException("inputChannel must not be null.");
447 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false);
452 * @param inputChannel The input channel to unregister.
454 public void unregisterInputChannel(InputChannel inputChannel) { argument
455 if (inputChannel
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java197 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
198 super(inputChannel, looper);
/frameworks/base/core/jni/
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,
89 jobject receiverWeak, const sp<InputChannel>& inputChannel,
92 mInputConsumer(inputChannel), mMessageQueue(messageQueue),
327 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
329 if (inputChannel == NULL) {
341 receiverWeak, inputChannel, messageQueue);
88 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/services/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp35 jfieldID inputChannel; member in struct:android::__anon1175
91 gInputWindowHandleClassInfo.inputChannel);
93 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj);
96 mInfo->inputChannel.clear();
238 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz,
239 "inputChannel", "Landroid/view/InputChannel;");
H A Dcom_android_server_input_InputManagerService.cpp169 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
171 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
337 const sp<InputChannel>& inputChannel,
340 inputChannel, inputWindowHandle, monitor);
344 const sp<InputChannel>& inputChannel) {
345 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel);
1067 "inputChannel is not initialized");
1071 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) {
1075 "the input manager!", inputChannel->getName().string());
1076 im->unregisterInputChannel(env, inputChannel);
336 registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
343 unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel) argument
1070 handleInputChannelDisposed(JNIEnv* env, jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) argument
1083 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
1112 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, local
[all...]
/frameworks/base/services/input/
H A DInputWindow.h117 sp<InputChannel> inputChannel; member in struct:android::InputWindowInfo
168 return mInfo ? mInfo->inputChannel : NULL;
H A DInputDispatcher.h145 sp<InputChannel> inputChannel; member in struct:android::InputTarget
343 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
345 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
395 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
397 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(); }
880 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel);
924 sp<InputWindowHandle> getWindowHandleLocked(const sp<InputChannel>& inputChannel) cons
[all...]
H A DInputDispatcher.cpp217 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel);
911 ssize_t connectionIndex = getConnectionIndexLocked(inputTarget.inputChannel);
919 inputTarget.inputChannel->getName().string());
995 const sp<InputChannel>& inputChannel) {
1004 if (inputChannel.get()) {
1005 ssize_t connectionIndex = getConnectionIndexLocked(inputChannel);
1601 target.inputChannel = windowInfo->inputChannel;
1614 target.inputChannel = mMonitoringChannels[i];
2161 d->unregisterInputChannelLocked(connection->inputChannel, notif
994 resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout, const sp<InputChannel>& inputChannel) argument
3236 registerInputChannel(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
3269 unregisterInputChannel(const sp<InputChannel>& inputChannel) argument
3289 unregisterInputChannelLocked(const sp<InputChannel>& inputChannel, bool notify) argument
3314 removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) argument
3323 getConnectionIndexLocked(const sp<InputChannel>& inputChannel) argument
4253 Connection(const sp<InputChannel>& inputChannel, const sp<InputWindowHandle>& inputWindowHandle, bool monitor) argument
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java233 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
234 super(inputChannel, looper);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java1953 public ImeInputEventSender(InputChannel inputChannel, Looper looper) { argument
1954 super(inputChannel, looper);
/frameworks/base/services/java/com/android/server/wm/
H A DWindowState.java975 void setInputChannel(InputChannel inputChannel) { argument
980 mInputChannel = inputChannel;
981 mInputWindowHandle.inputChannel = inputChannel;
992 mInputWindowHandle.inputChannel = null;
H A DWindowManagerService.java635 public DragInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
636 super(inputChannel, looper);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java297 public PointerLocationInputEventReceiver(InputChannel inputChannel, Looper looper, argument
299 super(inputChannel, looper);
2419 public HideNavInputEventReceiver(InputChannel inputChannel, Looper looper) { argument
2420 super(inputChannel, looper);
2481 InputChannel inputChannel, Looper looper) {
2482 return new HideNavInputEventReceiver(inputChannel, looper);

Completed in 338 milliseconds