Home
last modified time | relevance | path

Searched refs:inputChannel (Results 1 – 25 of 46) 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.h49 std::shared_ptr<InputChannel> inputChannel; // never null variable
66 Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor,
69 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.cpp580 removeInputChannelLocked(connection->inputChannel->getConnectionToken(), in ~InputDispatcher()
701 mAnrTracker.eraseToken(connection->inputChannel->getConnectionToken()); in processAnrsLocked()
712 getWindowHandleLocked(connection->inputChannel->getConnectionToken()); in getDispatchingTimeoutLocked()
1354 target.inputChannel = channel; in dispatchFocusLocked()
1428 target.inputChannel = channel; in dispatchPointerCaptureChangedLocked()
1466 target.inputChannel = channel; in getInputTargetsFromWindowHandlesLocked()
1717 target.inputChannel = channel; in dispatchDragLocked()
1770 getConnectionLocked(inputTarget.inputChannel->getConnectionToken()); in dispatchEventLocked()
1777 inputTarget.inputChannel->getName().c_str()); in dispatchEventLocked()
1790 connection->inputChannel->getName().c_str()); in cancelEventsForAnrLocked()
[all …]
/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()
303 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local
305 if (inputChannel == NULL) { in nativeInit()
317 senderWeak, inputChannel, messageQueue); in nativeInit()
/frameworks/av/media/libaaudio/src/flowgraph/
DChannelCountConverter.cpp38 int inputChannel = 0; in onProcess() local
43 outputBuffer[outputChannel] = inputBuffer[inputChannel]; in onProcess()
44 inputChannel = (inputChannel == inputChannelCount) in onProcess()
45 ? 0 : inputChannel + 1; in onProcess()
/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()
289 InputEventReceiver createInputEventReceiver(InputChannel inputChannel, Looper looper); in createInputEventReceiver() argument
DBatchedInputEventReceiver.java41 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() argument
42 super(inputChannel, looper); in BatchedInputEventReceiver()
135 public SimpleBatchedInputEventReceiver(InputChannel inputChannel, Looper looper, in SimpleBatchedInputEventReceiver() argument
137 super(inputChannel, looper, choreographer); in SimpleBatchedInputEventReceiver()
DInputMonitor.java97 @NonNull InputChannel inputChannel, in InputMonitor()
99 this.mInputChannel = inputChannel; in InputMonitor()
152 InputChannel inputChannel = (InputChannel) in.readTypedObject(InputChannel.CREATOR); in InputMonitor() local
155 this.mInputChannel = inputChannel; in InputMonitor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputConsumerController.java66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()
140 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local
143 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer()
147 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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipInputConsumer.java66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()
139 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local
143 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer()
149 mInputEventReceiver = new InputEventReceiver(inputChannel, in registerInputConsumer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarInputEventReceiver.java33 BubblesNavBarInputEventReceiver(InputChannel inputChannel, in BubblesNavBarInputEventReceiver() argument
35 super(inputChannel, Looper.myLooper(), choreographer); in BubblesNavBarInputEventReceiver()
DBubblesNavBarGestureTracker.java69 InputChannel inputChannel = mInputMonitor.getInputChannel(); in start() local
74 mInputEventReceiver = new BubblesNavBarInputEventReceiver(inputChannel, in start()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java105 final InputChannel inputChannel = new InputChannel(); in runBenchmark() local
109 Display.DEFAULT_DISPLAY, mRequestedVisibilities, inputChannel, in runBenchmark()
120 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/
DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher() argument
35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
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()
DDragInputEventReceiver.java50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver() argument
52 super(inputChannel, looper); in DragInputEventReceiver()
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java48 SurfaceControl sc, InputChannel inputChannel) { in GestureMonitorSpyWindow() argument
50 mClientChannel = inputChannel; in GestureMonitorSpyWindow()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java47 @NonNull InputChannel inputChannel) { in HandwritingEventReceiverSurface() argument
48 mClientChannel = inputChannel; in HandwritingEventReceiverSurface()

12