Home
last modified time | relevance | path

Searched refs:inputChannel (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp23 Connection::Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor, in Connection() argument
26 inputChannel(inputChannel), in Connection()
28 inputPublisher(inputChannel), in Connection()
34 if (inputChannel != nullptr) { in getWindowName()
35 return inputChannel->getName(); in getWindowName()
DMonitor.cpp22 Monitor::Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid) in Monitor() argument
23 : inputChannel(inputChannel), pid(pid) {} in Monitor()
DConnection.h45 std::shared_ptr<InputChannel> inputChannel; // never null variable
62 Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor,
65 inline const std::string getInputChannelName() const { return inputChannel->getName(); } in getInputChannelName()
DMonitor.h25 std::shared_ptr<InputChannel> inputChannel; // never null member
29 explicit Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid);
DInputDispatcher.cpp449 if (monitor.inputChannel->getConnectionToken() == token) { in findMonitorPidByToken()
550 removeInputChannel(connection->inputChannel->getConnectionToken()); in ~InputDispatcher()
670 mAnrTracker.eraseToken(connection->inputChannel->getConnectionToken()); in processAnrsLocked()
905 getConnectionLocked(gestureMonitor.monitor.inputChannel->getConnectionToken()); in shouldPruneInboundQueueLocked()
1296 target.inputChannel = channel; in dispatchFocusLocked()
1354 target.inputChannel = channel; in dispatchPointerCaptureChangedLocked()
1635 target.inputChannel = channel; in dispatchDragLocked()
1687 getConnectionLocked(inputTarget.inputChannel->getConnectionToken()); in dispatchEventLocked()
1694 inputTarget.inputChannel->getName().c_str()); in dispatchEventLocked()
1707 connection->inputChannel->getName().c_str()); in cancelEventsForAnrLocked()
[all …]
DInputTarget.h94 std::shared_ptr<InputChannel> inputChannel; member
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp49 explicit NativeInputChannel(std::unique_ptr<InputChannel> inputChannel);
65 NativeInputChannel::NativeInputChannel(std::unique_ptr<InputChannel> inputChannel) in NativeInputChannel() argument
66 : mInputChannel(std::move(inputChannel)), mDisposeCallback(nullptr) {} in NativeInputChannel()
116 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel) { in android_view_InputChannel_createInputChannel() argument
118 std::make_unique<NativeInputChannel>(std::move(inputChannel)); in android_view_InputChannel_createInputChannel()
124 std::unique_ptr<InputChannel> inputChannel) { in android_view_InputChannel_createJavaObject() argument
125 std::string name = inputChannel->getName(); in android_view_InputChannel_createJavaObject()
126 jlong ptr = android_view_InputChannel_createInputChannel(env, std::move(inputChannel)); in android_view_InputChannel_createJavaObject()
137 inputChannel->getName().c_str()); in android_view_InputChannel_createJavaObject()
206 std::unique_ptr<InputChannel> inputChannel = std::make_unique<InputChannel>(); in android_view_InputChannel_nativeReadFromParcel() local
[all …]
Dandroid_view_InputChannel.h27 const std::shared_ptr<InputChannel>& inputChannel,
40 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel);
Dandroid_view_InputEventSender.cpp55 const std::shared_ptr<InputChannel>& inputChannel,
86 const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventSender() argument
89 mInputPublisher(inputChannel), in NativeInputEventSender()
304 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local
306 if (inputChannel == NULL) { in nativeInit()
318 senderWeak, inputChannel, messageQueue); in nativeInit()
Dandroid_view_InputEventReceiver.cpp78 const std::shared_ptr<InputChannel>& inputChannel,
124 JNIEnv* env, jobject receiverWeak, const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventReceiver() argument
127 mInputConsumer(inputChannel), in NativeInputEventReceiver()
488 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local
490 if (inputChannel == nullptr) { in nativeInit()
502 receiverWeak, inputChannel, messageQueue); in nativeInit()
/frameworks/base/core/java/android/view/
DInputEventSender.java46 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument
57 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender() argument
58 if (inputChannel == null) { in InputEventSender()
65 mInputChannel = inputChannel; in InputEventSender()
68 inputChannel, mMessageQueue); in InputEventSender()
DInputEventReceiver.java54 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument
69 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver() argument
70 if (inputChannel == null) { in InputEventReceiver()
77 mInputChannel = inputChannel; in InputEventReceiver()
80 inputChannel, mMessageQueue); in InputEventReceiver()
281 InputEventReceiver createInputEventReceiver(InputChannel inputChannel, Looper looper); in createInputEventReceiver() argument
DInputMonitor.java93 @NonNull InputChannel inputChannel, in InputMonitor()
95 this.mInputChannel = inputChannel; in InputMonitor()
148 InputChannel inputChannel = (InputChannel) in.readTypedObject(InputChannel.CREATOR); in InputMonitor() local
151 this.mInputChannel = inputChannel; in InputMonitor()
DBatchedInputEventReceiver.java33 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() argument
34 super(inputChannel, looper); in BatchedInputEventReceiver()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipInputConsumer.java65 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
67 super(inputChannel, looper, choreographer); in InputEventReceiver()
138 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local
142 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer()
149 mInputEventReceiver = new InputEventReceiver(inputChannel, in registerInputConsumer()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputConsumerController.java67 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
69 super(inputChannel, looper, choreographer); in InputEventReceiver()
149 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local
152 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer()
156 mInputEventReceiver = new InputEventReceiver(inputChannel, Looper.myLooper(), in registerInputConsumer()
DInputChannelCompat.java68 public InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
70 mReceiver = new BatchedInputEventReceiver(inputChannel, looper, choreographer) { in InputEventReceiver()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java101 final InputChannel inputChannel = new InputChannel(); in runBenchmark() local
105 Display.DEFAULT_DISPLAY, mRequestedVisibility, inputChannel, in runBenchmark()
116 inputChannel.dispose(); in runBenchmark()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp47 std::unique_ptr<InputChannel> inputChannel = in TEST_F() local
50 EXPECT_NE(inputChannel, nullptr) << "channel should be successfully created"; in TEST_F()
51 EXPECT_STREQ("channel name", inputChannel->getName().c_str()) in TEST_F()
53 EXPECT_NE(-1, inputChannel->getFd()) << "channel should have valid fd"; in TEST_F()
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java54 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId) { in InputConsumerImpl() argument
62 if (inputChannel != null) { in InputConsumerImpl()
63 mClientChannel.copyTo(inputChannel); in InputConsumerImpl()
DPointerEventDispatcher.java41 public PointerEventDispatcher(InputChannel inputChannel, DisplayContent dc) { in PointerEventDispatcher() argument
42 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
DDragInputEventReceiver.java50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver() argument
52 super(inputChannel, looper); in DragInputEventReceiver()
DLetterbox.java264 SimpleInputReceiver(InputChannel inputChannel) { in SimpleInputReceiver() argument
265 super(inputChannel, UiThread.getHandler().getLooper()); in SimpleInputReceiver()
/frameworks/native/include/input/
DInputTransport.h295 bool operator==(const InputChannel& inputChannel) const {
300 if (fstat(inputChannel.getFd(), &rhs) != 0) {
304 return inputChannel.getName() == getName() && inputChannel.getConnectionToken() == mToken &&
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java228 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver() argument
229 super(inputChannel, looper); in ImeInputEventReceiver()

12