Home
last modified time | relevance | path

Searched refs:InputChannel (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/core/java/android/view/
DInputChannel.java35 public final class InputChannel implements Parcelable { class
41 InputChannel.class.getClassLoader(),
45 public static final @android.annotation.NonNull Parcelable.Creator<InputChannel> CREATOR
46 = new Parcelable.Creator<InputChannel>() {
47 public InputChannel createFromParcel(Parcel source) {
48 InputChannel result = new InputChannel();
53 public InputChannel[] newArray(int size) {
54 return new InputChannel[size];
78 public InputChannel() { in InputChannel() method in InputChannel
109 public static InputChannel[] openInputChannelPair(String name) { in openInputChannelPair()
[all …]
DInputMonitor.java43 private final InputChannel mInputChannel;
97 @NonNull InputChannel inputChannel, in InputMonitor()
110 public @NonNull InputChannel getInputChannel() { in getInputChannel()
152 InputChannel inputChannel = (InputChannel) in.readTypedObject(InputChannel.CREATOR); in InputMonitor()
DInputEventSender.java42 private InputChannel mInputChannel;
46 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
57 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender()
DInputEventReceiver.java47 private InputChannel mInputChannel;
54 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
69 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver()
289 InputEventReceiver createInputEventReceiver(InputChannel inputChannel, Looper looper); in createInputEventReceiver()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp47 std::unique_ptr<InputChannel> inputChannel = in TEST_F()
48 InputChannel::create("channel name", std::move(sendFd), new BBinder()); in TEST_F()
62 std::unique_ptr<InputChannel> channel = in TEST_F()
63 InputChannel::create("test channel", android::base::unique_fd(pipe.sendFd), token); in TEST_F()
69 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F()
71 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
120 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F()
122 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
134 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F()
136 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputFlingerService_test.cpp69 std::unique_ptr<InputChannel> mServerChannel, mClientChannel;
81 binder::Status getInputChannels(std::vector<::android::InputChannel>* channels);
85 binder::Status createInputChannel(const std::string& name, InputChannel* outChannel) override;
93 std::vector<std::shared_ptr<InputChannel>> mInputChannels;
99 binder::Status getInputChannels(std::vector<::android::InputChannel>* channels) override;
106 binder::Status TestInputQuery::getInputChannels(std::vector<::android::InputChannel>* channels) { in getInputChannels()
116 InputChannel* outChannel) { in createInputChannel()
118 std::unique_ptr<InputChannel> serverChannel; in createInputChannel()
119 std::unique_ptr<InputChannel> clientChannel; in createInputChannel()
120 InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in createInputChannel()
[all …]
DIInputFlingerQuery.aidl17 import android.InputChannel;
25 void getInputChannels(out InputChannel[] channels); in getInputChannels()
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp49 explicit NativeInputChannel(std::unique_ptr<InputChannel> inputChannel);
52 inline std::shared_ptr<InputChannel> getInputChannel() { return mInputChannel; } in getInputChannel()
58 std::shared_ptr<InputChannel> mInputChannel;
65 NativeInputChannel::NativeInputChannel(std::unique_ptr<InputChannel> inputChannel) in NativeInputChannel()
97 std::shared_ptr<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, in android_view_InputChannel_getInputChannel()
116 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel) { in android_view_InputChannel_createInputChannel()
124 std::unique_ptr<InputChannel> inputChannel) { in android_view_InputChannel_createJavaObject()
148 std::unique_ptr<InputChannel> serverChannel; in android_view_InputChannel_nativeOpenInputChannelPair()
149 std::unique_ptr<InputChannel> clientChannel; in android_view_InputChannel_nativeOpenInputChannelPair()
150 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in android_view_InputChannel_nativeOpenInputChannelPair()
[all …]
Dandroid_view_InputChannel.h27 const std::shared_ptr<InputChannel>& inputChannel,
30 extern std::shared_ptr<InputChannel> android_view_InputChannel_getInputChannel(
40 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel);
/frameworks/native/include/input/
DInputTransport.h237 class InputChannel : public Parcelable {
239 static std::unique_ptr<InputChannel> create(const std::string& name,
241 InputChannel() = default;
242 InputChannel(const InputChannel& other) in InputChannel() function
244 InputChannel(const std::string name, android::base::unique_fd fd, sp<IBinder> token);
245 ~InputChannel() override;
254 std::unique_ptr<InputChannel>& outServerChannel,
255 std::unique_ptr<InputChannel>& outClientChannel);
287 std::unique_ptr<InputChannel> dup() const;
289 void copyTo(InputChannel& outChannel) const;
[all …]
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java25 import android.view.InputChannel;
42 private final InputChannel mClientChannel;
47 @NonNull InputChannel inputChannel) { in HandwritingEventReceiverSurface()
102 InputChannel getInputChannel() { in getInputChannel()
DHandwritingModeController.java31 import android.view.InputChannel;
105 final InputChannel channel = mInputManagerInternal.createInputChannel(name); in initializeHandwritingSpy()
286 private final InputChannel mHandwritingChannel;
289 private HandwritingSession(int requestId, InputChannel handwritingChannel, in HandwritingSession()
300 InputChannel getHandwritingChannel() { in getHandwritingChannel()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputConsumerController.java30 import android.view.InputChannel;
66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver()
140 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer()
/frameworks/native/services/inputflinger/dispatcher/
DMonitor.h25 std::shared_ptr<InputChannel> inputChannel; // never null
29 explicit Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid);
DConnection.h49 std::shared_ptr<InputChannel> inputChannel; // never null
66 Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipInputConsumer.java28 import android.view.InputChannel;
66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver()
139 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer()
/frameworks/native/libs/input/android/os/
DIInputFlinger.aidl19 import android.InputChannel;
26 InputChannel createInputChannel(in @utf8InCpp String name); in createInputChannel()
/frameworks/base/tests/Input/src/com/android/test/input/
DSpyInputEventSenderAndReceiver.kt21 import android.view.InputChannel
34 class SpyInputEventReceiver(channel: InputChannel, looper: Looper) :
52 class SpyInputEventSender(channel: InputChannel, looper: Looper) :
DInputEventSenderAndReceiverTest.kt21 import android.view.InputChannel in <lambda>()
49 private class CrashingInputEventReceiver(channel: InputChannel, looper: Looper) :
70 val channels = InputChannel.openInputChannelPair("TestChannel") in setUp()
134 val channels = InputChannel.openInputChannelPair("TestChannel2") in testCrashingReceiverDoesNotCrash()
DUnresponsiveGestureMonitorActivity.kt24 import android.view.InputChannel
29 class UnresponsiveReceiver(channel: InputChannel, looper: Looper) :
/frameworks/base/core/java/com/android/internal/view/
DIInputMethod.aidl21 import android.view.InputChannel;
56 void createSession(in InputChannel channel, IInputSessionCallback callback); in createSession()
68 void startStylusHandwriting(int requestId, in InputChannel channel, in startStylusHandwriting()
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java24 import android.view.InputChannel;
44 final InputChannel mClientChannel;
48 SurfaceControl sc, InputChannel inputChannel) { in GestureMonitorSpyWindow()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarInputEventReceiver.java22 import android.view.InputChannel;
33 BubblesNavBarInputEventReceiver(InputChannel inputChannel, in BubblesNavBarInputEventReceiver()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPositioningControllerTests.java35 import android.view.InputChannel;
64 any(InputChannel.class), in setUp()
65 any(InputChannel.class), in setUp()
70 mWindow.mInputChannel = new InputChannel(); in setUp()
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppService.aidl23 import android.view.InputChannel;
33 void createSession(in InputChannel channel, in ITvInteractiveAppSessionCallback callback, in createSession()

12345