HomeSort by relevance Sort by last modified time
    Searched defs:inputChannel (Results 1 - 20 of 20) sorted by null

  /frameworks/native/libs/input/tests/
InputChannel_test.cpp 44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd);
46 EXPECT_STREQ("channel name", inputChannel->getName().string())
48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd())
51 inputChannel.clear(); // destroys input channel
61 sp<InputChannel> serverChannel, clientChannel;
63 status_t result = InputChannel::openInputChannelPair(String8("channel name"),
112 sp<InputChannel> serverChannel, clientChannel;
114 status_t result = InputChannel::openInputChannelPair(String8("channel name")
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
InputConsumerController.java 26 import android.view.InputChannel;
63 public PipInputEventReceiver(InputChannel inputChannel, Looper looper) {
64 super(inputChannel, looper, Choreographer.getSfInstance());
124 final InputChannel inputChannel = new InputChannel();
127 mWindowManager.createInputConsumer(INPUT_CONSUMER_PIP, inputChannel);
131 mInputEventReceiver = new PipInputEventReceiver(inputChannel, Looper.myLooper());
  /frameworks/base/services/core/java/com/android/server/input/
InputWindowHandle.java 20 import android.view.InputChannel;
44 public InputChannel inputChannel;
  /frameworks/base/core/jni/
android_view_InputChannel.cpp 17 #define LOG_TAG "InputChannel-JNI"
38 jfieldID mPtr; // native object attached to the DVM InputChannel
46 explicit NativeInputChannel(const sp<InputChannel>& inputChannel);
49 inline sp<InputChannel> getInputChannel() { return mInputChannel; }
55 sp<InputChannel> mInputChannel;
62 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) :
63 mInputChannel(inputChannel), mDisposeCallback(NULL) {
96 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj)
    [all...]
android_view_InputEventReceiver.cpp 53 jobject receiverWeak, const sp<InputChannel>& inputChannel,
90 jobject receiverWeak, const sp<InputChannel>& inputChannel,
93 mInputConsumer(inputChannel), mMessageQueue(messageQueue),
337 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
339 if (inputChannel == NULL) {
340 jniThrowRuntimeException(env, "InputChannel is not initialized.");
351 receiverWeak, inputChannel, messageQueue)
    [all...]
android_view_InputEventSender.cpp 55 jobject senderWeak, const sp<InputChannel>& inputChannel,
83 jobject senderWeak, const sp<InputChannel>& inputChannel,
86 mInputPublisher(inputChannel), mMessageQueue(messageQueue),
241 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
243 if (inputChannel == NULL) {
244 jniThrowRuntimeException(env, "InputChannel is not initialized.");
255 senderWeak, inputChannel, messageQueue)
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_input_InputWindowHandle.cpp 36 jfieldID inputChannel;
94 gInputWindowHandleClassInfo.inputChannel);
96 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj);
99 mInfo->inputChannel.clear();
243 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz,
244 "inputChannel", "Landroid/view/InputChannel;");
com_android_server_input_InputManagerService.cpp 206 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
208 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
449 const sp<InputChannel>& inputChannel,
453 inputChannel, inputWindowHandle, monitor);
457 const sp<InputChannel>& inputChannel) {
459 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/vcard/
ImportVCardActivity.java 458 ReadableByteChannel inputChannel = null;
462 inputChannel = Channels.newChannel(resolver.openInputStream(sourceUri));
466 while (inputChannel.read(buffer) != -1) {
476 if (inputChannel != null) {
478 inputChannel.close();
480 Log.w(LOG_TAG, "Failed to close inputChannel.");
    [all...]
  /frameworks/native/services/inputflinger/
InputWindow.h 118 sp<InputChannel> inputChannel;
172 inline sp<InputChannel> getInputChannel() const {
173 return mInfo ? mInfo->inputChannel : NULL;
InputDispatcher.h 151 sp<InputChannel> inputChannel;
339 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
340 const sp<InputChannel>& toChannel) = 0;
347 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
349 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
396 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
397 const sp<InputChannel>& toChannel)
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
InputMonitor.java 43 import android.view.InputChannel;
175 void createInputConsumer(String name, InputChannel inputChannel) {
180 final InputConsumerImpl consumer = new InputConsumerImpl(mService, name, inputChannel);
639 final InputChannel inputChannel = w.mInputChannel;
641 if (inputChannel == null || inputWindowHandle == null || w.mRemoved
WindowManagerService.java 194 import android.view.InputChannel;
768 public DragInputEventReceiver(InputChannel inputChannel, Looper looper) {
769 super(inputChannel, looper);
    [all...]
  /prebuilts/tools/common/m2/repository/com/koushikdutta/async/androidasync/2.1.3/
androidasync-2.1.3.jar 
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /prebuilts/misc/common/robolectric/lib/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-6.0.0_r1-robolectric-0.jar 

Completed in 153 milliseconds