/frameworks/base/core/java/android/view/ |
D | InputChannel.java | 32 public final class InputChannel implements Parcelable { class 38 public static final @android.annotation.NonNull Parcelable.Creator<InputChannel> CREATOR 39 = new Parcelable.Creator<InputChannel>() { 40 public InputChannel createFromParcel(Parcel source) { 41 InputChannel result = new InputChannel(); 46 public InputChannel[] newArray(int size) { 47 return new InputChannel[size]; 55 private static native InputChannel[] nativeOpenInputChannelPair(String name); in nativeOpenInputChannelPair() 58 private native void nativeTransferTo(InputChannel other); in nativeTransferTo() 61 private native void nativeDup(InputChannel target); in nativeDup() [all …]
|
D | InputEventReceiver.java | 42 private InputChannel mInputChannel; 49 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() 61 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver() 200 InputChannel inputChannel, Looper looper); in createInputEventReceiver()
|
D | InputMonitor.java | 54 private final InputChannel mChannel; 58 public InputMonitor(@NonNull String name, @NonNull InputChannel channel, in InputMonitor() 74 public InputChannel getInputChannel() { in getInputChannel()
|
D | InputEventSender.java | 41 private InputChannel mInputChannel; 45 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() 56 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender()
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 46 sp<InputChannel> inputChannel = new InputChannel("channel name", pipe.sendFd); in TEST_F() 63 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 65 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F() 114 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 116 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F() 128 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 130 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F() 144 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 146 status_t result = InputChannel::openInputChannelPair("channel name", in TEST_F() 161 sp<InputChannel> serverChannel, clientChannel; in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputChannelCompat.java | 23 import android.view.InputChannel; 49 InputChannel channel = params.getParcelable(key); in fromBundle() 72 private final InputChannel mInputChannel; 74 public InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() 101 private final InputChannel mInputChannel; 104 public InputEventDispatcher(InputChannel inputChannel, Looper looper) { in InputEventDispatcher()
|
D | InputConsumerController.java | 31 import android.view.InputChannel; 66 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver() 147 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer()
|
/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() 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() 204 InputChannel* inputChannel = new InputChannel(); in android_view_InputChannel_nativeReadFromParcel() 221 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 | 159 class InputChannel : public RefBase { 161 virtual ~InputChannel(); 164 InputChannel() = default; 165 InputChannel(const std::string& name, int fd); 172 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel); 203 sp<InputChannel> dup() const; 226 explicit InputPublisher(const sp<InputChannel>& channel); 232 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel() 300 sp<InputChannel> mChannel; 309 explicit InputConsumer(const sp<InputChannel>& channel); [all …]
|
D | IInputFlinger.h | 41 virtual void registerInputChannel(const sp<InputChannel>& channel) = 0; 42 virtual void unregisterInputChannel(const sp<InputChannel>& channel) = 0;
|
/frameworks/native/libs/input/ |
D | IInputFlinger.cpp | 58 virtual void registerInputChannel(const sp<InputChannel>& channel) { in registerInputChannel() 65 virtual void unregisterInputChannel(const sp<InputChannel>& channel) { in unregisterInputChannel() 95 sp<InputChannel> channel = new InputChannel(); in onTransact() 102 sp<InputChannel> channel = new InputChannel(); in onTransact()
|
D | InputTransport.cpp | 225 InputChannel::InputChannel(const std::string& name, int fd) : in InputChannel() function in android::InputChannel 235 InputChannel::~InputChannel() { in ~InputChannel() 244 void InputChannel::setFd(int fd) { in setFd() 256 status_t InputChannel::openInputChannelPair(const std::string& name, in openInputChannelPair() 257 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) { in openInputChannelPair() 276 outServerChannel = new InputChannel(serverChannelName, sockets[0]); in openInputChannelPair() 280 outClientChannel = new InputChannel(clientChannelName, sockets[1]); in openInputChannelPair() 284 status_t InputChannel::sendMessage(const InputMessage* msg) { in sendMessage() 322 status_t InputChannel::receiveMessage(InputMessage* msg) { in receiveMessage() 362 sp<InputChannel> InputChannel::dup() const { in dup() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | MultiClientInputMethodServiceDelegateImpl.java | 27 import android.view.InputChannel; 172 final InputChannel[] channels = InputChannel.openInputChannelPair("MSIMS-session"); in acceptClient() 173 final InputChannel writeChannel = channels[0]; in acceptClient() 174 final InputChannel readChannel = channels[1]; in acceptClient()
|
/frameworks/native/services/inputflinger/ |
D | InputManager.h | 41 class InputChannel; variable 101 virtual void registerInputChannel(const sp<InputChannel>& channel); 102 virtual void unregisterInputChannel(const sp<InputChannel>& channel);
|
D | InputDispatcher.h | 154 sp<InputChannel> inputChannel; 367 const sp<InputChannel>& inputChannel, int32_t displayId) = 0; 378 const sp<InputChannel>& inputChannel, int32_t displayId, bool gestureMonitor) = 0; 384 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0; 445 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, 447 virtual status_t registerInputMonitor(const sp<InputChannel>& inputChannel, 449 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) override; 663 sp<InputChannel> inputChannel; 875 sp<InputChannel> inputChannel; // never null 891 explicit Connection(const sp<InputChannel>& inputChannel, bool monitor); [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PointerEventDispatcher.java | 19 import android.view.InputChannel; 31 private final InputChannel mInputChannel; 35 public PointerEventDispatcher(InputChannel inputChannel) { in PointerEventDispatcher()
|
D | InputConsumerImpl.java | 27 import android.view.InputChannel; 36 final InputChannel mServerChannel, mClientChannel; 52 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId) { in InputConsumerImpl() 59 InputChannel[] channels = InputChannel.openInputChannelPair(name); in InputConsumerImpl()
|
D | Letterbox.java | 25 import android.view.InputChannel; 165 final InputChannel mServerChannel; 166 final InputChannel mClientChannel; 175 final InputChannel[] channels = InputChannel.openInputChannelPair(name); in InputInterceptor() 220 SimpleInputReceiver(InputChannel inputChannel) { in SimpleInputReceiver()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.h | 46 void registerInputChannel(const sp<InputChannel>&) {} in registerInputChannel() argument 47 void unregisterInputChannel(const sp<InputChannel>&) {} in unregisterInputChannel() argument
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | IMultiClientInputMethodPrivilegedOperations.aidl | 19 import android.view.InputChannel; 31 in IMultiClientInputMethodSession multiClientSession, in InputChannel writeChannel); in acceptClient()
|
/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/base/core/java/com/android/internal/view/ |
D | InputBindResult.java | 32 import android.view.InputChannel; 184 public final InputChannel channel; 215 IInputMethodSession _method, InputChannel _channel, String _id, int _sequence, in InputBindResult() 234 channel = InputChannel.CREATOR.createFromParcel(source); in InputBindResult()
|
D | IInputMethod.aidl | 21 import android.view.InputChannel; 45 void createSession(in InputChannel channel, IInputSessionCallback callback); in createSession()
|