/frameworks/base/core/java/android/view/ |
D | InputChannel.java | 30 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 …]
|
D | InputEventReceiver.java | 41 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()
|
D | InputEventSender.java | 40 private InputChannel mInputChannel; 44 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() 55 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender()
|
D | IWindowSession.aidl | 26 import android.view.InputChannel; 42 out InputChannel outInputChannel); in add() 46 out DisplayCutout.ParcelableWrapper displayCutout, out InputChannel outInputChannel); in addToDisplay()
|
D | InputChannel.aidl | 20 parcelable InputChannel;
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 44 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/ |
D | android_view_InputChannel.cpp | 46 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()
|
D | android_view_InputChannel.h | 27 const sp<InputChannel>& inputChannel, void* data); 29 extern sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env,
|
/frameworks/native/include/input/ |
D | InputTransport.h | 139 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/ |
D | InputConsumerImpl.java | 24 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()
|
D | PointerEventDispatcher.java | 19 import android.view.InputChannel; 34 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher()
|
D | DragInputEventReceiver.java | 30 import android.view.InputChannel; 50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskPositioningControllerTests.java | 32 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()
|
D | WindowManagerServiceRule.java | 37 import android.view.InputChannel; 106 InputChannel[] input = InputChannel.openInputChannelPair(TAG_WM); in apply()
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.h | 150 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 …]
|
D | InputWindow.h | 117 sp<InputChannel> inputChannel; 171 inline sp<InputChannel> getInputChannel() const { in getInputChannel()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputConsumerController.java | 29 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/ |
D | InputBindResult.java | 29 import android.view.InputChannel; 159 public final InputChannel channel; 178 IInputMethodSession _method, InputChannel _channel, in InputBindResult() 192 channel = InputChannel.CREATOR.createFromParcel(source); in InputBindResult()
|
D | IInputMethod.aidl | 21 import android.view.InputChannel; 44 void createSession(in InputChannel channel, IInputSessionCallback callback); in createSession()
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputService.aidl | 23 import android.view.InputChannel; 32 void createSession(in InputChannel channel, in ITvInputSessionCallback callback, in createSession()
|
D | ITvInputClient.aidl | 24 import android.view.InputChannel; 32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq); in onSessionCreated()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 102 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/ |
D | InputWindowHandle.java | 20 import android.view.InputChannel; 44 public InputChannel inputChannel;
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 26 import android.view.InputChannel; 58 InputChannel mChannel; 62 InputMethodSession inputMethodSession, InputChannel channel) { in IInputMethodSessionWrapper() 216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { in ImeInputEventReceiver()
|
D | IInputMethodWrapper.java | 29 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()
|