/frameworks/native/services/inputflinger/dispatcher/ |
D | Connection.cpp | 23 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()
|
D | Monitor.cpp | 22 Monitor::Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid) in Monitor() argument 23 : inputChannel(inputChannel), pid(pid) {} in Monitor()
|
D | Connection.h | 45 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()
|
D | Monitor.h | 25 std::shared_ptr<InputChannel> inputChannel; // never null member 29 explicit Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid);
|
D | InputDispatcher.cpp | 449 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 …]
|
D | InputTarget.h | 94 std::shared_ptr<InputChannel> inputChannel; member
|
/frameworks/base/core/jni/ |
D | android_view_InputChannel.cpp | 49 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 …]
|
D | android_view_InputChannel.h | 27 const std::shared_ptr<InputChannel>& inputChannel, 40 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel);
|
D | android_view_InputEventSender.cpp | 55 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()
|
D | android_view_InputEventReceiver.cpp | 78 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/ |
D | InputEventSender.java | 46 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()
|
D | InputEventReceiver.java | 54 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
|
D | InputMonitor.java | 93 @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()
|
D | BatchedInputEventReceiver.java | 33 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/ |
D | PipInputConsumer.java | 65 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/ |
D | InputConsumerController.java | 67 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()
|
D | InputChannelCompat.java | 68 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/ |
D | WindowAddRemovePerfTest.java | 101 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/ |
D | InputChannel_test.cpp | 47 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/ |
D | InputConsumerImpl.java | 54 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId) { in InputConsumerImpl() argument 62 if (inputChannel != null) { in InputConsumerImpl() 63 mClientChannel.copyTo(inputChannel); in InputConsumerImpl()
|
D | PointerEventDispatcher.java | 41 public PointerEventDispatcher(InputChannel inputChannel, DisplayContent dc) { in PointerEventDispatcher() argument 42 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
|
D | DragInputEventReceiver.java | 50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver() argument 52 super(inputChannel, looper); in DragInputEventReceiver()
|
D | Letterbox.java | 264 SimpleInputReceiver(InputChannel inputChannel) { in SimpleInputReceiver() argument 265 super(inputChannel, UiThread.getHandler().getLooper()); in SimpleInputReceiver()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 295 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/ |
D | IInputMethodSessionWrapper.java | 228 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver() argument 229 super(inputChannel, looper); in ImeInputEventReceiver()
|