Searched refs:InputChannel (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/core/java/android/view/
H A DInputChannel.aidl1 /* //device/java/android/android/view/InputChannel.aidl
20 parcelable InputChannel;
H A DInputQueue.java42 final InputChannel mChannel;
45 public InputQueue(InputChannel channel) {
50 public InputChannel getInputChannel() {
H A DInputChannel.java27 * from an InputChannel at a time.
30 public final class InputChannel implements Parcelable { class in inherits: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[siz
65 public InputChannel() { method in class:InputChannel
[all...]
H A DInputEventReceiver.java39 private InputChannel mInputChannel;
46 InputChannel inputChannel, MessageQueue messageQueue);
58 public InputEventReceiver(InputChannel inputChannel, Looper looper) {
190 InputChannel inputChannel, Looper looper);
H A DIWindowSession.aidl25 import android.view.InputChannel;
39 out InputChannel outInputChannel);
42 out InputChannel outInputChannel);
H A DIWindowManager.aidl37 import android.view.InputChannel;
/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.h27 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).
H A Dandroid_view_InputChannel.cpp17 #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) :
94 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) {
127 sp<InputChannel> serverChannel;
128 sp<InputChannel> clientChannel;
129 status_t result = InputChannel
[all...]
H A Dandroid_view_InputEventReceiver.cpp50 jobject receiverObj, const sp<InputChannel>& inputChannel,
77 jobject receiverObj, const sp<InputChannel>& inputChannel,
229 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
232 jniThrowRuntimeException(env, "InputChannel is not initialized.");
291 "(Landroid/view/InputEventReceiver;Landroid/view/InputChannel;Landroid/os/MessageQueue;)I",
/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd);
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"),
125 sp<InputChannel> serverChannel, clientChannel;
127 status_t result = InputChannel::openInputChannelPair(String8("channel name"),
141 sp<InputChannel> serverChannel, clientChannel;
143 status_t result = InputChannel
[all...]
H A DInputPublisherAndConsumer_test.cpp32 sp<InputChannel> serverChannel, clientChannel;
38 status_t result = InputChannel::openInputChannelPair(String8("channel name"),
/frameworks/base/services/java/com/android/server/input/
H A DInputWindowHandle.java20 import android.view.InputChannel;
40 public InputChannel inputChannel;
H A DInputManagerService.java70 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);
441 public void registerInputChannel(InputChannel inputChannel,
454 public void unregisterInputChannel(InputChannel inputChanne
[all...]
/frameworks/base/include/androidfw/
H A DInputTransport.h23 * 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 { class in namespace:android
131 virtual ~InputChannel();
134 InputChannel(const String8& name, int fd);
141 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel);
182 explicit InputPublisher(const sp<InputChannel>& channel);
188 inline sp<InputChannel> getChannel() { return mChannel; }
252 sp<InputChannel> mChanne
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DFakeWindowImpl.java26 import android.view.InputChannel;
33 final InputChannel mServerChannel, mClientChannel;
47 InputChannel[] channels = InputChannel.openInputChannelPair(name);
H A DDragState.java35 import android.view.InputChannel;
56 InputChannel mServerChannel, mClientChannel;
99 InputChannel[] channels = InputChannel.openInputChannelPair("drag");
H A DSession.java41 import android.view.InputChannel;
151 int viewVisibility, Rect outContentInsets, InputChannel outInputChannel) {
159 InputChannel outInputChannel) {
H A DInputMonitor.java30 import android.view.InputChannel;
256 final InputChannel inputChannel = child.mInputChannel;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java28 import android.view.InputChannel;
41 InputChannel outInputchannel)
49 Rect arg3, InputChannel outInputchannel)
/frameworks/base/services/input/
H A DInputDispatcher.h145 sp<InputChannel> inputChannel;
333 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
334 const sp<InputChannel>& toChannel) = 0;
341 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
343 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
390 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
391 const sp<InputChannel>& toChannel);
393 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
395 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel);
799 sp<InputChannel> inputChanne
[all...]
H A DInputWindow.h117 sp<InputChannel> inputChannel;
167 inline sp<InputChannel> getInputChannel() const {
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp13 // Log debug messages whenever InputChannel objects are created/destroyed
95 // --- InputChannel ---
97 InputChannel::InputChannel(const String8& name, int fd) : function in class:android::InputChannel
109 InputChannel::~InputChannel() {
118 status_t InputChannel::openInputChannelPair(const String8& name,
119 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) {
138 outServerChannel = new InputChannel(serverChannelNam
[all...]
/frameworks/base/include/android_runtime/
H A Dandroid_app_NativeActivity.h71 explicit AInputQueue(const android::sp<android::InputChannel>& channel, int workWrite);
/frameworks/base/core/java/android/app/
H A DNativeActivity.java17 import android.view.InputChannel;
103 private native void onInputChannelCreatedNative(int handle, InputChannel channel);
104 private native void onInputChannelDestroyedNative(int handle, InputChannel channel);
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp169 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
171 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
337 const sp<InputChannel>& inputChannel,
344 const sp<InputChannel>& inputChannel) {
1066 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) {
1078 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
1107 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
1195 sp<InputChannel> fromChannel =
1197 sp<InputChannel> toChannel =
1305 "(ILandroid/view/InputChannel;Lco
[all...]

Completed in 177 milliseconds

12