Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/jni/
H A 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()
125 std::string name = inputChannel->getName(); in android_view_InputChannel_createJavaObject()
137 inputChannel->getName().c_str()); in android_view_InputChannel_createJavaObject()
207 inputChannel->readFromParcel(parcel); in android_view_InputChannel_nativeReadFromParcel()
209 new NativeInputChannel(std::move(inputChannel)); in android_view_InputChannel_nativeReadFromParcel()
255 if (inputChannel == nullptr) { in android_view_InputChannel_nativeDup()
[all …]
H A Dandroid_view_InputChannel.h27 const std::shared_ptr<InputChannel>& inputChannel,
40 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel);
H A Dandroid_view_InputEventSender.cpp56 const std::shared_ptr<InputChannel>& inputChannel,
87 const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventSender() argument
90 mInputPublisher(inputChannel), in NativeInputEventSender()
318 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local
320 if (inputChannel == NULL) { in nativeInit()
332 senderWeak, inputChannel, messageQueue); in nativeInit()
H A Dandroid_view_InputEventReceiver.cpp79 const std::shared_ptr<InputChannel>& inputChannel,
125 JNIEnv* env, jobject receiverWeak, const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventReceiver() argument
128 mInputConsumer(inputChannel), in NativeInputEventReceiver()
499 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local
501 if (inputChannel == nullptr) { in nativeInit()
513 receiverWeak, inputChannel, messageQueue); in nativeInit()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A 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()
H A DInputChannelCompat.java68 public InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument
70 mReceiver = new BatchedInputEventReceiver(inputChannel, looper, choreographer) { in InputEventReceiver()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A 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()
/aosp14/frameworks/base/core/java/android/view/
H A 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()
H A 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()
H A 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()
289 InputEventReceiver createInputEventReceiver(InputChannel inputChannel, Looper looper); in createInputEventReceiver() argument
H A DInputMonitor.java99 @NonNull InputChannel inputChannel, in InputMonitor()
102 this.mInputChannel = inputChannel; in InputMonitor()
165 InputChannel inputChannel = (InputChannel) in.readTypedObject(InputChannel.CREATOR); in InputMonitor() local
169 this.mInputChannel = inputChannel; in InputMonitor()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubblesNavBarInputEventReceiver.java33 BubblesNavBarInputEventReceiver(InputChannel inputChannel, in BubblesNavBarInputEventReceiver() argument
35 super(inputChannel, Looper.myLooper(), choreographer); in BubblesNavBarInputEventReceiver()
H A DBubblesNavBarGestureTracker.java68 InputChannel inputChannel = mInputMonitor.getInputChannel(); in start() local
73 mInputEventReceiver = new BubblesNavBarInputEventReceiver(inputChannel, in start()
/aosp14/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
H A DWindowAddRemovePerfTest.java105 final InputChannel inputChannel = new InputChannel(); in runBenchmark() local
109 Display.DEFAULT_DISPLAY, mRequestedVisibleTypes, inputChannel, in runBenchmark()
120 inputChannel.dispose(); in runBenchmark()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DPointerEventDispatcher.java34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher() argument
35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
H A 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()
H A DDragInputEventReceiver.java50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver() argument
52 super(inputChannel, looper); in DragInputEventReceiver()
H A DLetterbox.java258 TapEventReceiver(InputChannel inputChannel, WindowManagerService wmService) { in TapEventReceiver() argument
259 super(inputChannel, UiThread.getHandler().getLooper()); in TapEventReceiver()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DGestureMonitorSpyWindow.java48 SurfaceControl sc, InputChannel inputChannel) { in GestureMonitorSpyWindow() argument
50 mClientChannel = inputChannel; in GestureMonitorSpyWindow()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DHandwritingEventReceiverSurface.java43 @NonNull InputChannel inputChannel) { in HandwritingEventReceiverSurface() argument
44 mClientChannel = inputChannel; in HandwritingEventReceiverSurface()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowManagerServiceTests.java884 final InputChannel inputChannel = new InputChannel(); in testGrantInputChannel_sanitizeSpyWindowForApplications() local
890 inputChannel)); in testGrantInputChannel_sanitizeSpyWindowForApplications()
904 final InputChannel inputChannel = new InputChannel(); in testGrantInputChannel_allowSpyWindowForInputMonitorPermission() local
908 "TestInputChannel", inputChannel); in testGrantInputChannel_allowSpyWindowForInputMonitorPermission()
926 final InputChannel inputChannel = new InputChannel(); in testUpdateInputChannel_sanitizeSpyWindowForApplications() local
930 "TestInputChannel", inputChannel); in testUpdateInputChannel_sanitizeSpyWindowForApplications()
936 mWm.updateInputChannel(inputChannel.getToken(), DEFAULT_DISPLAY, surfaceControl, in testUpdateInputChannel_sanitizeSpyWindowForApplications()
952 final InputChannel inputChannel = new InputChannel(); in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission() local
956 "TestInputChannel", inputChannel); in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission()
961 mWm.updateInputChannel(inputChannel.getToken(), DEFAULT_DISPLAY, surfaceControl, in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission()
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java238 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver() argument
239 super(inputChannel, looper); in ImeInputEventReceiver()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp1782 const std::shared_ptr<InputChannel>& inputChannel, in handleInputChannelDisposed() argument
1788 inputChannel->getName().c_str()); in handleInputChannelDisposed()
1789 im->removeInputChannel(inputChannel->getConnectionToken()); in handleInputChannelDisposed()
1798 base::Result<std::unique_ptr<InputChannel>> inputChannel = im->createInputChannel(name); in nativeCreateInputChannel() local
1800 if (!inputChannel.ok()) { in nativeCreateInputChannel()
1801 std::string message = inputChannel.error().message(); in nativeCreateInputChannel()
1808 android_view_InputChannel_createJavaObject(env, std::move(*inputChannel)); in nativeCreateInputChannel()
1831 base::Result<std::unique_ptr<InputChannel>> inputChannel = in nativeCreateInputMonitor() local
1834 if (!inputChannel.ok()) { in nativeCreateInputMonitor()
1835 std::string message = inputChannel.error().message(); in nativeCreateInputMonitor()
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java487 TvInputEventReceiver(InputChannel inputChannel, Looper looper) { in TvInputEventReceiver() argument
488 super(inputChannel, looper); in TvInputEventReceiver()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DDragResizeInputListener.java342 InputChannel inputChannel, Handler handler, Choreographer choreographer) { in TaskResizeInputEventReceiver() argument
343 super(inputChannel, handler.getLooper()); in TaskResizeInputEventReceiver()

12