Home
last modified time | relevance | path

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

12

/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()
196 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.aidl25 import android.view.InputChannel;
40 out InputChannel outInputChannel); in add()
43 out Rect outStableInsets, out Rect outOutsets, out InputChannel outInputChannel); in addToDisplay()
DInputChannel.aidl20 parcelable InputChannel;
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); in TEST_F()
61 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
63 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F()
112 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
114 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F()
126 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
128 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F()
142 sp<InputChannel> serverChannel, clientChannel; in TEST_F()
144 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F()
/frameworks/native/include/input/
DInputTransport.h138 class InputChannel : public RefBase {
140 virtual ~InputChannel();
143 InputChannel(const String8& name, int fd);
150 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel);
181 sp<InputChannel> dup() const;
194 explicit InputPublisher(const sp<InputChannel>& channel);
200 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
265 sp<InputChannel> mChannel;
274 explicit InputConsumer(const sp<InputChannel>& channel);
280 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
[all …]
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp46 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()
129 sp<InputChannel> serverChannel; in android_view_InputChannel_nativeOpenInputChannelPair()
130 sp<InputChannel> clientChannel; in android_view_InputChannel_nativeOpenInputChannelPair()
131 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in android_view_InputChannel_nativeOpenInputChannelPair()
214 InputChannel* inputChannel = new InputChannel(name, dupFd); in android_view_InputChannel_nativeReadFromParcel()
229 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,
Dandroid_view_InputEventSender.cpp53 jobject senderWeak, const sp<InputChannel>& inputChannel,
81 jobject senderWeak, const sp<InputChannel>& inputChannel, in NativeInputEventSender()
238 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in nativeInit()
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java21 import android.view.InputChannel;
28 final InputChannel mServerChannel, mClientChannel;
32 InputConsumerImpl(WindowManagerService service, String name, InputChannel inputChannel) { in InputConsumerImpl()
35 InputChannel[] channels = InputChannel.openInputChannelPair(name); in InputConsumerImpl()
DPointerEventDispatcher.java19 import android.view.InputChannel;
34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher()
DTaskPositioner.java49 import android.view.InputChannel;
114 InputChannel mServerChannel;
115 InputChannel mClientChannel;
121 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in WindowPositionerEventReceiver()
243 final InputChannel[] channels = InputChannel.openInputChannelPair(TAG); in register()
/frameworks/base/core/java/com/android/internal/view/
DInputBindResult.java21 import android.view.InputChannel;
38 public final InputChannel channel;
56 public InputBindResult(IInputMethodSession _method, InputChannel _channel, in InputBindResult()
68 channel = InputChannel.CREATOR.createFromParcel(source); in InputBindResult()
DIInputMethod.aidl21 import android.view.InputChannel;
45 void createSession(in InputChannel channel, IInputSessionCallback callback); in createSession()
/frameworks/native/services/inputflinger/
DInputDispatcher.h151 sp<InputChannel> inputChannel;
339 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
340 const sp<InputChannel>& toChannel) = 0;
347 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
349 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
396 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
397 const sp<InputChannel>& toChannel);
399 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
401 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel);
815 sp<InputChannel> inputChannel; // never null
[all …]
DInputWindow.h115 sp<InputChannel> inputChannel;
169 inline sp<InputChannel> getInputChannel() const { in getInputChannel()
/frameworks/native/libs/input/
DInputTransport.cpp103 InputChannel::InputChannel(const String8& name, int fd) : in InputChannel() function in android::InputChannel
115 InputChannel::~InputChannel() { in ~InputChannel()
124 status_t InputChannel::openInputChannelPair(const String8& name, in openInputChannelPair()
125 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) { in openInputChannelPair()
144 outServerChannel = new InputChannel(serverChannelName, sockets[0]); in openInputChannelPair()
148 outClientChannel = new InputChannel(clientChannelName, sockets[1]); in openInputChannelPair()
152 status_t InputChannel::sendMessage(const InputMessage* msg) { in sendMessage()
188 status_t InputChannel::receiveMessage(InputMessage* msg) { in receiveMessage()
228 sp<InputChannel> InputChannel::dup() const { in dup()
230 return fd >= 0 ? new InputChannel(getName(), fd) : NULL; in dup()
[all …]
/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()
DITvInputSessionWrapper.java29 import android.view.InputChannel;
78 private InputChannel mChannel;
82 InputChannel channel) { in ITvInputSessionWrapper()
365 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { in TvInputEventReceiver()
/frameworks/base/services/core/java/com/android/server/input/
DInputWindowHandle.java20 import android.view.InputChannel;
40 public InputChannel inputChannel;
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java30 import android.view.InputChannel;
58 InputChannel mChannel;
62 InputMethodSession inputMethodSession, InputChannel channel) { in IInputMethodSessionWrapper()
216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver()
DIInputMethodWrapper.java35 import android.view.InputChannel;
85 final InputChannel mChannel;
88 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, in InputMethodSessionCallbackWrapper()
193 mContext, (InputChannel)args.arg1, in executeMessage()
282 public void createSession(InputChannel channel, IInputSessionCallback callback) { in createSession()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowSession.java29 import android.view.InputChannel;
42 InputChannel outInputchannel) in add()
50 Rect arg3, Rect arg4, Rect arg5, InputChannel outInputchannel) in addToDisplay()

12