Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/view/
DInputChannel.java30 public final class InputChannel implements Parcelable { class
35 public static final Parcelable.Creator<InputChannel> CREATOR
36 = new Parcelable.Creator<InputChannel>() {
37 public InputChannel createFromParcel(Parcel source) {
38 InputChannel result = new InputChannel();
43 public InputChannel[] newArray(int size) {
44 return new InputChannel[size];
51 private static native InputChannel[] nativeOpenInputChannelPair(String name); in nativeOpenInputChannelPair()
54 private native void nativeTransferTo(InputChannel other); in nativeTransferTo()
57 private native void nativeDup(InputChannel target); in nativeDup()
[all …]
DInputEventReceiver.java41 private InputChannel mInputChannel;
48 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
60 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver()
197 InputChannel inputChannel, Looper looper); in createInputEventReceiver()
DInputEventSender.java40 private InputChannel mInputChannel;
44 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
55 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender()
DIWindowSession.aidl26 import android.view.InputChannel;
42 out InputChannel outInputChannel); in add()
46 out DisplayCutout.ParcelableWrapper displayCutout, out InputChannel outInputChannel); in addToDisplay()
DInputChannel.aidl20 parcelable InputChannel;
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp44 sp<InputChannel> inputChannel = new InputChannel("channel name", pipe.sendFd); in TEST_F()
61 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
63 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
112 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
114 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
126 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
128 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
142 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
144 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F()
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp46 explicit NativeInputChannel(const sp<InputChannel>& inputChannel);
49 inline sp<InputChannel> getInputChannel() { return mInputChannel; } in getInputChannel()
55 sp<InputChannel> mInputChannel;
62 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : in NativeInputChannel()
96 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) { in android_view_InputChannel_getInputChannel()
130 sp<InputChannel> serverChannel; in android_view_InputChannel_nativeOpenInputChannelPair()
131 sp<InputChannel> clientChannel; in android_view_InputChannel_nativeOpenInputChannelPair()
132 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in android_view_InputChannel_nativeOpenInputChannelPair()
215 InputChannel* inputChannel = new InputChannel(name.string(), dupFd); in android_view_InputChannel_nativeReadFromParcel()
230 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel(); in android_view_InputChannel_nativeWriteToParcel()
Dandroid_view_InputChannel.h27 const sp<InputChannel>& inputChannel, void* data);
29 extern sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env,
/frameworks/native/include/input/
DInputTransport.h139 class InputChannel : public RefBase {
141 virtual ~InputChannel();
144 InputChannel(const std::string& name, int fd);
151 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel);
182 sp<InputChannel> dup() const;
195 explicit InputPublisher(const sp<InputChannel>& channel);
201 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
267 sp<InputChannel> mChannel;
276 explicit InputConsumer(const sp<InputChannel>& channel);
282 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java24 import android.view.InputChannel;
33 final InputChannel mServerChannel, mClientChannel;
43 InputChannel inputChannel, int clientPid, UserHandle clientUser) { in InputConsumerImpl()
50 InputChannel[] channels = InputChannel.openInputChannelPair(name); in InputConsumerImpl()
DPointerEventDispatcher.java19 import android.view.InputChannel;
34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher()
DDragInputEventReceiver.java30 import android.view.InputChannel;
50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskPositioningControllerTests.java32 import android.view.InputChannel;
58 any(InputChannel.class), in setUp()
59 any(InputChannel.class))).thenReturn(true); in setUp()
62 mWindow.mInputChannel = new InputChannel(); in setUp()
DWindowManagerServiceRule.java37 import android.view.InputChannel;
106 InputChannel[] input = InputChannel.openInputChannelPair(TAG_WM); in apply()
/frameworks/native/services/inputflinger/
DInputDispatcher.h150 sp<InputChannel> inputChannel;
338 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
339 const sp<InputChannel>& toChannel) = 0;
346 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
348 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
395 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
396 const sp<InputChannel>& toChannel);
398 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
400 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel);
814 sp<InputChannel> inputChannel; // never null
[all …]
DInputWindow.h117 sp<InputChannel> inputChannel;
171 inline sp<InputChannel> getInputChannel() const { in getInputChannel()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputConsumerController.java29 import android.view.InputChannel;
65 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver()
147 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer()
/frameworks/base/core/java/com/android/internal/view/
DInputBindResult.java29 import android.view.InputChannel;
159 public final InputChannel channel;
178 IInputMethodSession _method, InputChannel _channel, in InputBindResult()
192 channel = InputChannel.CREATOR.createFromParcel(source); in InputBindResult()
DIInputMethod.aidl21 import android.view.InputChannel;
44 void createSession(in InputChannel channel, IInputSessionCallback callback); in createSession()
/frameworks/base/media/java/android/media/tv/
DITvInputService.aidl23 import android.view.InputChannel;
32 void createSession(in InputChannel channel, in ITvInputSessionCallback callback, in createSession()
DITvInputClient.aidl24 import android.view.InputChannel;
32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq); in onSessionCreated()
/frameworks/native/libs/input/
DInputTransport.cpp102 InputChannel::InputChannel(const std::string& name, int fd) : in InputChannel() function in android::InputChannel
114 InputChannel::~InputChannel() { in ~InputChannel()
123 status_t InputChannel::openInputChannelPair(const std::string& name, in openInputChannelPair()
124 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) { in openInputChannelPair()
143 outServerChannel = new InputChannel(serverChannelName, sockets[0]); in openInputChannelPair()
147 outClientChannel = new InputChannel(clientChannelName, sockets[1]); in openInputChannelPair()
151 status_t InputChannel::sendMessage(const InputMessage* msg) { in sendMessage()
187 status_t InputChannel::receiveMessage(InputMessage* msg) { in receiveMessage()
227 sp<InputChannel> InputChannel::dup() const { in dup()
229 return fd >= 0 ? new InputChannel(getName(), fd) : NULL; in dup()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputWindowHandle.java20 import android.view.InputChannel;
44 public InputChannel inputChannel;
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java26 import android.view.InputChannel;
58 InputChannel mChannel;
62 InputMethodSession inputMethodSession, InputChannel channel) { in IInputMethodSessionWrapper()
216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver()
DIInputMethodWrapper.java29 import android.view.InputChannel;
97 final InputChannel mChannel;
100 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, in InputMethodSessionCallbackWrapper()
194 mContext, (InputChannel)args.arg1, in executeMessage()
298 public void createSession(InputChannel channel, IInputSessionCallback callback) { in createSession()

123