/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() 65 public InputChannel() { in InputChannel() method in InputChannel [all …]
|
D | InputQueue.java | 49 final InputChannel mChannel; 53 private static native void nativeRegisterInputChannel(InputChannel inputChannel, in nativeRegisterInputChannel() 55 private static native void nativeUnregisterInputChannel(InputChannel inputChannel); in nativeUnregisterInputChannel() 59 public InputQueue(InputChannel channel) { in InputQueue() 64 public InputChannel getInputChannel() { in getInputChannel() 75 public static void registerInputChannel(InputChannel inputChannel, InputHandler inputHandler, in registerInputChannel() 102 public static void unregisterInputChannel(InputChannel inputChannel) { in unregisterInputChannel()
|
D | InputChannel.aidl | 20 parcelable InputChannel;
|
D | IWindowSession.aidl | 25 import android.view.InputChannel; 39 out InputChannel outInputChannel); in add()
|
D | IWindowManager.aidl | 34 import android.view.InputChannel; 140 InputChannel monitorInput(String inputChannelName); in monitorInput()
|
/frameworks/base/libs/ui/tests/ |
D | InputChannel_test.cpp | 43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), in TEST_F() 71 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 73 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F() 125 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 127 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F() 139 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 141 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F() 155 sp<InputChannel> serverChannel, clientChannel; in TEST_F() 157 status_t result = InputChannel::openInputChannelPair(String8("channel name"), in TEST_F()
|
/frameworks/base/include/ui/ |
D | InputTransport.h | 51 class InputChannel : public RefBase { 53 virtual ~InputChannel(); 56 InputChannel(const String8& name, int32_t ashmemFd, int32_t receivePipeFd, 65 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel); 173 explicit InputPublisher(const sp<InputChannel>& channel); 179 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel() 264 sp<InputChannel> mChannel; 289 explicit InputConsumer(const sp<InputChannel>& channel); 295 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel() 327 sp<InputChannel> mChannel;
|
/frameworks/base/core/jni/ |
D | android_view_InputChannel.cpp | 43 NativeInputChannel(const sp<InputChannel>& inputChannel); 46 inline sp<InputChannel> getInputChannel() { return mInputChannel; } in getInputChannel() 52 sp<InputChannel> mInputChannel; 59 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : in NativeInputChannel() 93 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) { in android_view_InputChannel_getInputChannel() 126 sp<InputChannel> serverChannel; in android_view_InputChannel_nativeOpenInputChannelPair() 127 sp<InputChannel> clientChannel; in android_view_InputChannel_nativeOpenInputChannelPair() 128 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); in android_view_InputChannel_nativeOpenInputChannelPair() 226 InputChannel* inputChannel = new InputChannel(name, ashmemFd, in android_view_InputChannel_nativeReadFromParcel() 242 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,
|
D | android_view_InputQueue.cpp | 80 const sp<InputChannel>& inputChannel, const sp<Looper>& looper); 89 sp<InputChannel> inputChannel; 108 ssize_t getConnectionIndex(const sp<InputChannel>& inputChannel); 111 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data); 133 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in registerInputChannel() 178 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in unregisterInputChannel() 222 ssize_t NativeInputQueue::getConnectionIndex(const sp<InputChannel>& inputChannel) { in getConnectionIndex() 289 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { in handleInputChannelDisposed() 439 const sp<InputChannel>& inputChannel, const sp<Looper>& looper) : in Connection()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | InputManager.java | 36 import android.view.InputChannel; 80 private static native void nativeRegisterInputChannel(InputChannel inputChannel, in nativeRegisterInputChannel() 82 private static native void nativeUnregisterInputChannel(InputChannel inputChannel); in nativeUnregisterInputChannel() 94 private static native boolean nativeTransferTouchFocus(InputChannel fromChannel, in nativeTransferTouchFocus() 95 InputChannel toChannel); in nativeTransferTouchFocus() 257 public InputChannel monitorInput(String inputChannelName) { in monitorInput() 262 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName); in monitorInput() 274 public void registerInputChannel(InputChannel inputChannel, in registerInputChannel() 287 public void unregisterInputChannel(InputChannel inputChannel) { in unregisterInputChannel() 415 public boolean transferTouchFocus(InputChannel fromChannel, InputChannel toChannel) { in transferTouchFocus()
|
D | FakeWindowImpl.java | 22 import android.view.InputChannel; 29 final InputChannel mServerChannel, mClientChannel; 41 InputChannel[] channels = InputChannel.openInputChannelPair(name); in FakeWindowImpl()
|
D | InputWindowHandle.java | 20 import android.view.InputChannel; 41 public InputChannel inputChannel;
|
D | DragState.java | 30 import android.view.InputChannel; 52 InputChannel mServerChannel, mClientChannel; 89 InputChannel[] channels = InputChannel.openInputChannelPair("drag"); in register()
|
D | InputMonitor.java | 23 import android.view.InputChannel; 180 final InputChannel inputChannel = child.mInputChannel; in updateInputWindowsLw()
|
D | Session.java | 38 import android.view.InputChannel; 138 int viewVisibility, Rect outContentInsets, InputChannel outInputChannel) { in add()
|
/frameworks/base/services/input/ |
D | InputDispatcher.h | 144 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); 817 sp<InputChannel> inputChannel; // never null [all …]
|
D | InputWindow.h | 115 sp<InputChannel> inputChannel; 164 inline sp<InputChannel> getInputChannel() const { in getInputChannel()
|
D | InputDispatcher.cpp | 1129 const sp<InputChannel>& inputChannel) { in resumeAfterTargetsNotReadyTimeoutLocked() 2463 const sp<InputChannel>& channel, const CancelationOptions& options) { in synthesizeCancelationEventsForInputChannelLocked() 3233 const sp<InputChannel>& inputChannel) const { in getWindowHandleLocked() 3291 sp<InputChannel> focusedInputChannel = mFocusedWindowHandle->getInputChannel(); in setInputWindows() 3315 sp<InputChannel> touchedInputChannel = in setInputWindows() 3433 bool InputDispatcher::transferTouchFocus(const sp<InputChannel>& fromChannel, in transferTouchFocus() 3434 const sp<InputChannel>& toChannel) { in transferTouchFocus() 3604 const sp<InputChannel>& channel = mMonitoringChannels[i]; in dumpDispatchStateLocked() 3635 status_t InputDispatcher::registerInputChannel(const sp<InputChannel>& inputChannel, in registerInputChannel() 3673 status_t InputDispatcher::unregisterInputChannel(const sp<InputChannel>& inputChannel) { in unregisterInputChannel() [all …]
|
/frameworks/base/libs/ui/ |
D | InputTransport.cpp | 54 InputChannel::InputChannel(const String8& name, int32_t ashmemFd, int32_t receivePipeFd, in InputChannel() function in android::InputChannel 71 InputChannel::~InputChannel() { in ~InputChannel() 82 status_t InputChannel::openInputChannelPair(const String8& name, in openInputChannelPair() 83 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) { in openInputChannelPair() 122 outServerChannel = new InputChannel(serverChannelName, in openInputChannelPair() 127 outClientChannel = new InputChannel(clientChannelName, in openInputChannelPair() 145 status_t InputChannel::sendSignal(char signal) { in sendSignal() 164 status_t InputChannel::receiveSignal(char* outSignal) { in receiveSignal() 200 InputPublisher::InputPublisher(const sp<InputChannel>& channel) : in InputPublisher() 543 InputConsumer::InputConsumer(const sp<InputChannel>& channel) : in InputConsumer()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeWindowSession.java | 28 import android.view.InputChannel; 41 InputChannel outInputchannel) in add()
|
D | BridgeWindowManager.java | 38 import android.view.InputChannel; 265 public InputChannel monitorInput(String arg0) throws RemoteException { in monitorInput()
|
/frameworks/base/core/java/android/app/ |
D | NativeActivity.java | 18 import android.view.InputChannel; 104 private native void onInputChannelCreatedNative(int handle, InputChannel channel); in onInputChannelCreatedNative() 105 private native void onInputChannelDestroyedNative(int handle, InputChannel channel); in onInputChannelDestroyedNative()
|
/frameworks/base/services/jni/ |
D | com_android_server_InputManager.cpp | 179 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 181 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 376 const sp<InputChannel>& inputChannel, in registerInputChannel() 383 const sp<InputChannel>& inputChannel) { in unregisterInputChannel() 1069 jobject inputChannelObj, const sp<InputChannel>& inputChannel, void* data) { in android_server_InputManager_handleInputChannelDisposed() 1084 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in android_server_InputManager_nativeRegisterInputChannel() 1115 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, in android_server_InputManager_nativeUnregisterInputChannel() 1290 sp<InputChannel> fromChannel = in android_server_InputManager_nativeTransferTouchFocus() 1292 sp<InputChannel> toChannel = in android_server_InputManager_nativeTransferTouchFocus()
|
/frameworks/base/include/android_runtime/ |
D | android_app_NativeActivity.h | 71 explicit AInputQueue(const android::sp<android::InputChannel>& channel, int workWrite);
|