Home
last modified time | relevance | path

Searched refs:InputChannel (Results 1 – 25 of 117) 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;
99 @NonNull InputChannel inputChannel, in InputMonitor()
116 public @NonNull InputChannel getInputChannel() { in getInputChannel()
165 InputChannel inputChannel = (InputChannel) in.readTypedObject(InputChannel.CREATOR); in InputMonitor()
DInputEventSender.java47 private InputChannel mInputChannel;
51 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
62 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp34 bool operator==(const InputChannel& left, const InputChannel& right) { in operator ==()
52 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F()
55 InputChannel::openInputChannelPair("channel name", serverChannel, clientChannel); in TEST_F()
61 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F()
63 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
109 std::unique_ptr<InputChannel> senderChannel, receiverChannel; in TEST_F()
113 InputChannel::openInputChannelPair("channel name", senderChannel, receiverChannel); in TEST_F()
151 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F()
153 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
165 std::unique_ptr<InputChannel> serverChannel, clientChannel; in TEST_F()
[all …]
/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.h236 class InputChannel : private android::os::InputChannelCore {
238 static std::unique_ptr<InputChannel> create(android::os::InputChannelCore&& parceledChannel);
239 ~InputChannel();
249 std::unique_ptr<InputChannel>& outServerChannel,
250 std::unique_ptr<InputChannel>& outClientChannel);
299 std::unique_ptr<InputChannel> dup() const;
309 static void moveChannel(std::unique_ptr<InputChannel> from,
327 static std::unique_ptr<InputChannel> create(const std::string& name,
330 InputChannel(const std::string name, android::base::unique_fd fd, sp<IBinder> token);
339 explicit InputPublisher(const std::shared_ptr<InputChannel>& channel);
[all …]
DInputConsumer.h35 explicit InputConsumer(const std::shared_ptr<InputChannel>& channel);
37 explicit InputConsumer(const std::shared_ptr<InputChannel>& channel,
44 inline std::shared_ptr<InputChannel> getChannel() { return mChannel; } in getChannel()
112 std::shared_ptr<InputChannel> mChannel;
/frameworks/native/libs/input/
DInputTransport.cpp326 std::unique_ptr<InputChannel> InputChannel::create(const std::string& name, in create()
335 return std::unique_ptr<InputChannel>(new InputChannel(name, std::move(fd), token)); in create()
338 std::unique_ptr<InputChannel> InputChannel::create( in create()
340 return InputChannel::create(parceledChannel.name, parceledChannel.fd.release(), in create()
344 InputChannel::InputChannel(const std::string name, android::base::unique_fd fd, sp<IBinder> token) { in InputChannel() function in android::InputChannel
352 InputChannel::~InputChannel() { in ~InputChannel()
357 status_t InputChannel::openInputChannelPair(const std::string& name, in openInputChannelPair()
358 std::unique_ptr<InputChannel>& outServerChannel, in openInputChannelPair()
359 std::unique_ptr<InputChannel>& outClientChannel) { in openInputChannelPair()
380 outServerChannel = InputChannel::create(serverChannelName, std::move(serverFd), token); in openInputChannelPair()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputChannelCompat.java26 import android.view.InputChannel;
67 public InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver()
72 public InputEventReceiver(String name, InputChannel inputChannel, Looper looper, in InputEventReceiver()
DInputConsumerController.java30 import android.view.InputChannel;
66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver()
140 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java25 import android.view.InputChannel;
38 private final InputChannel mClientChannel;
43 @NonNull InputChannel inputChannel) { in HandwritingEventReceiverSurface()
109 InputChannel getInputChannel() { in getInputChannel()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipInputConsumer.java28 import android.view.InputChannel;
66 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver()
139 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer()
/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/base/media/java/android/media/tv/ad/
DITvAdService.aidl22 import android.view.InputChannel;
32 void createSession(in InputChannel channel, in ITvAdSessionCallback callback, in createSession()
DITvAdClient.aidl20 import android.view.InputChannel;
28 void onSessionCreated(in String serviceId, IBinder token, in InputChannel channel, int seq); in onSessionCreated()
/frameworks/base/tests/Input/src/com/android/test/input/
DSpyInputEventSenderAndReceiver.kt21 import android.view.InputChannel
41 class SpyInputEventReceiver(channel: InputChannel, looper: Looper) :
59 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()
132 val channels = InputChannel.openInputChannelPair("TestChannel2") in testCrashingReceiverDoesNotCrash()
DUnresponsiveGestureMonitorActivity.kt24 import android.view.InputChannel
29 class UnresponsiveReceiver(channel: InputChannel, looper: Looper) :
/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/media/java/android/media/tv/interactive/
DITvInteractiveAppService.aidl23 import android.view.InputChannel;
33 void createSession(in InputChannel channel, in ITvInteractiveAppSessionCallback callback, in createSession()
/frameworks/base/core/java/com/android/internal/inputmethod/
DIInputMethod.aidl21 import android.view.InputChannel;
70 void createSession(in InputChannel channel, IInputMethodSessionCallback callback); in createSession()
88 void startStylusHandwriting(int requestId, in InputChannel channel, in startStylusHandwriting()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java30 import android.view.InputChannel;
105 final InputChannel inputChannel = new InputChannel(); in runBenchmark()
/frameworks/base/native/android/
Dsurface_control_input_receiver.cpp40 InputReceiver(const sp<Looper>& looper, const std::shared_ptr<InputChannel>& inputChannel, in InputReceiver()
110 const std::shared_ptr<InputChannel>& inputChannel, in BatchedInputReceiver()
162 std::shared_ptr<InputChannel> inputChannel = in AInputReceiver_createBatchedInputReceiver()
180 std::shared_ptr<InputChannel> inputChannel = in AInputReceiver_createUnbatchedInputReceiver()

12345