HomeSort by relevance Sort by last modified time
    Searched refs:InputChannel (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/base/core/java/android/view/
InputChannel.aidl 1 /* //device/java/android/android/view/InputChannel.aidl
20 parcelable InputChannel;
InputChannel.java 27 * from an InputChannel at a time.
30 public final class InputChannel implements Parcelable {
31 private static final String TAG = "InputChannel";
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]
    [all...]
InputEventSender.java 40 private InputChannel mInputChannel;
44 InputChannel inputChannel, MessageQueue messageQueue);
52 * @param inputChannel The input channel.
55 public InputEventSender(InputChannel inputChannel, Looper looper) {
56 if (inputChannel == null) {
57 throw new IllegalArgumentException("inputChannel must not be null");
63 mInputChannel = inputChannel;
66 inputChannel, mMessageQueue)
    [all...]
InputEventReceiver.java 41 private InputChannel mInputChannel;
48 InputChannel inputChannel, MessageQueue messageQueue);
57 * @param inputChannel The input channel.
60 public InputEventReceiver(InputChannel inputChannel, Looper looper) {
61 if (inputChannel == null) {
62 throw new IllegalArgumentException("inputChannel must not be null");
68 mInputChannel = inputChannel;
71 inputChannel, mMessageQueue)
    [all...]
IWindowSession.aidl 25 import android.view.InputChannel;
40 out InputChannel outInputChannel);
43 out InputChannel outInputChannel);
  /frameworks/base/core/jni/
android_view_InputChannel.h 27 const sp<InputChannel>& inputChannel, void* data);
29 extern sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env,
32 /* Sets a callback that is invoked when the InputChannel DVM object is disposed (or finalized).
android_view_InputChannel.cpp 17 #define LOG_TAG "InputChannel-JNI"
36 jfieldID mPtr; // native object attached to the DVM InputChannel
44 NativeInputChannel(const sp<InputChannel>& inputChannel);
47 inline sp<InputChannel> getInputChannel() { return mInputChannel; }
53 sp<InputChannel> mInputChannel;
60 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) :
61 mInputChannel(inputChannel), mDisposeCallback(NULL) {
94 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj)
    [all...]
android_view_InputEventReceiver.cpp 53 jobject receiverWeak, const sp<InputChannel>& inputChannel,
89 jobject receiverWeak, const sp<InputChannel>& inputChannel,
92 mInputConsumer(inputChannel), mMessageQueue(messageQueue),
327 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
329 if (inputChannel == NULL) {
330 jniThrowRuntimeException(env, "InputChannel is not initialized.");
341 receiverWeak, inputChannel, messageQueue)
    [all...]
android_view_InputEventSender.cpp 52 jobject senderWeak, const sp<InputChannel>& inputChannel,
80 jobject senderWeak, const sp<InputChannel>& inputChannel,
83 mInputPublisher(inputChannel), mMessageQueue(messageQueue),
235 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
237 if (inputChannel == NULL) {
238 jniThrowRuntimeException(env, "InputChannel is not initialized.");
249 senderWeak, inputChannel, messageQueue)
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
InputBindResult.java 21 import android.view.InputChannel;
38 public final InputChannel channel;
51 public InputBindResult(IInputMethodSession _method, InputChannel _channel,
62 channel = InputChannel.CREATOR.createFromParcel(source);
IInputMethod.aidl 21 import android.view.InputChannel;
45 void createSession(in InputChannel channel, IInputSessionCallback callback);
  /frameworks/base/libs/androidfw/tests/
InputChannel_test.cpp 43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd);
45 EXPECT_STREQ("channel name", inputChannel->getName().string())
47 EXPECT_EQ(pipe.sendFd, inputChannel->getFd())
50 inputChannel.clear(); // destroys input channel
60 sp<InputChannel> serverChannel, clientChannel;
62 status_t result = InputChannel::openInputChannelPair(String8("channel name"),
111 sp<InputChannel> serverChannel, clientChannel;
113 status_t result = InputChannel::openInputChannelPair(String8("channel name")
    [all...]
InputPublisherAndConsumer_test.cpp 32 sp<InputChannel> serverChannel, clientChannel;
38 status_t result = InputChannel::openInputChannelPair(String8("channel name"),
  /frameworks/base/services/java/com/android/server/input/
InputWindowHandle.java 20 import android.view.InputChannel;
40 public InputChannel inputChannel;
InputManagerService.java 70 import android.view.InputChannel;
166 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel,
168 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel);
179 InputChannel fromChannel, InputChannel toChannel);
424 public InputChannel monitorInput(String inputChannelName) {
429 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName)
    [all...]
  /frameworks/base/include/androidfw/
InputTransport.h 23 * The InputChannel provides a mechanism for exchanging InputMessage structures across processes.
125 * Each endpoint has its own InputChannel object that specifies its file descriptor.
129 class InputChannel : public RefBase {
131 virtual ~InputChannel();
134 InputChannel(const String8& name, int fd);
141 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel);
172 sp<InputChannel> dup() const;
185 explicit InputPublisher(const sp<InputChannel>& channel);
191 inline sp<InputChannel> getChannel() { return mChannel;
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
FakeWindowImpl.java 26 import android.view.InputChannel;
33 final InputChannel mServerChannel, mClientChannel;
47 InputChannel[] channels = InputChannel.openInputChannelPair(name);
62 mWindowHandle.inputChannel = mServerChannel;
DragState.java 35 import android.view.InputChannel;
57 InputChannel mServerChannel, mClientChannel;
100 InputChannel[] channels = InputChannel.openInputChannelPair("drag");
115 mDragWindowHandle.inputChannel = mServerChannel;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeWindowSession.java 29 import android.view.InputChannel;
42 InputChannel outInputchannel)
50 Rect arg3, InputChannel outInputchannel)
  /frameworks/base/services/input/
InputDispatcher.h 145 sp<InputChannel> inputChannel;
335 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
336 const sp<InputChannel>& toChannel) = 0;
343 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
345 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
392 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
393 const sp<InputChannel>& toChannel)
    [all...]
InputWindow.h 117 sp<InputChannel> inputChannel;
167 inline sp<InputChannel> getInputChannel() const {
168 return mInfo ? mInfo->inputChannel : NULL;
  /frameworks/base/core/java/android/inputmethodservice/
IInputMethodSessionWrapper.java 31 import android.view.InputChannel;
57 InputChannel mChannel;
61 InputMethodSession inputMethodSession, InputChannel channel) {
197 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) {
198 super(inputChannel, looper);
IInputMethodWrapper.java 35 import android.view.InputChannel;
83 final InputChannel mChannel;
86 InputMethodSessionCallbackWrapper(Context context, InputChannel channel,
189 mCaller.mContext, (InputChannel)args.arg1,
272 public void createSession(InputChannel channel, IInputSessionCallback callback) {
  /frameworks/base/libs/androidfw/
InputTransport.cpp 13 // Log debug messages whenever InputChannel objects are created/destroyed
95 // --- InputChannel ---
97 InputChannel::InputChannel(const String8& name, int fd) :
109 InputChannel::~InputChannel() {
118 status_t InputChannel::openInputChannelPair(const String8& name,
119 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) {
138 outServerChannel = new InputChannel(serverChannelName, sockets[0])
    [all...]
  /frameworks/base/services/jni/
com_android_server_input_InputManagerService.cpp 169 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
171 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
337 const sp<InputChannel>& inputChannel,
340 inputChannel, inputWindowHandle, monitor);
344 const sp<InputChannel>& inputChannel) {
345 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel);
    [all...]

Completed in 1653 milliseconds

1 2