/aosp12/frameworks/base/core/jni/ |
H A D | android_view_InputChannel.cpp | 49 explicit NativeInputChannel(std::unique_ptr<InputChannel> inputChannel); 65 NativeInputChannel::NativeInputChannel(std::unique_ptr<InputChannel> inputChannel) in NativeInputChannel() argument 66 : mInputChannel(std::move(inputChannel)), mDisposeCallback(nullptr) {} in NativeInputChannel() 116 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel) { in android_view_InputChannel_createInputChannel() argument 118 std::make_unique<NativeInputChannel>(std::move(inputChannel)); in android_view_InputChannel_createInputChannel() 125 std::string name = inputChannel->getName(); in android_view_InputChannel_createJavaObject() 137 inputChannel->getName().c_str()); in android_view_InputChannel_createJavaObject() 207 inputChannel->readFromParcel(parcel); in android_view_InputChannel_nativeReadFromParcel() 209 new NativeInputChannel(std::move(inputChannel)); in android_view_InputChannel_nativeReadFromParcel() 255 if (inputChannel == nullptr) { in android_view_InputChannel_nativeDup() [all …]
|
H A D | android_view_InputChannel.h | 27 const std::shared_ptr<InputChannel>& inputChannel, 40 JNIEnv* env, std::unique_ptr<InputChannel> inputChannel);
|
H A D | android_view_InputEventSender.cpp | 55 const std::shared_ptr<InputChannel>& inputChannel, 86 const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventSender() argument 89 mInputPublisher(inputChannel), in NativeInputEventSender() 305 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local 307 if (inputChannel == NULL) { in nativeInit() 319 senderWeak, inputChannel, messageQueue); in nativeInit()
|
H A D | android_view_InputEventReceiver.cpp | 78 const std::shared_ptr<InputChannel>& inputChannel, 124 JNIEnv* env, jobject receiverWeak, const std::shared_ptr<InputChannel>& inputChannel, in NativeInputEventReceiver() argument 127 mInputConsumer(inputChannel), in NativeInputEventReceiver() 488 std::shared_ptr<InputChannel> inputChannel = in nativeInit() local 490 if (inputChannel == nullptr) { in nativeInit() 502 receiverWeak, inputChannel, messageQueue); in nativeInit()
|
/aosp12/frameworks/native/services/inputflinger/dispatcher/ |
H A D | Connection.cpp | 23 Connection::Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor, in Connection() argument 26 inputChannel(inputChannel), in Connection() 28 inputPublisher(inputChannel), in Connection() 34 if (inputChannel != nullptr) { in getWindowName() 35 return inputChannel->getName(); in getWindowName()
|
H A D | Monitor.cpp | 22 Monitor::Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid) in Monitor() argument 23 : inputChannel(inputChannel), pid(pid) {} in Monitor()
|
H A D | Connection.h | 45 std::shared_ptr<InputChannel> inputChannel; // never null variable 62 Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor, 65 inline const std::string getInputChannelName() const { return inputChannel->getName(); } in getInputChannelName()
|
H A D | Monitor.h | 25 std::shared_ptr<InputChannel> inputChannel; // never null member 29 explicit Monitor(const std::shared_ptr<InputChannel>& inputChannel, int32_t pid);
|
H A D | InputDispatcher.cpp | 1308 target.inputChannel = channel; in dispatchFocusLocked() 1380 target.inputChannel = channel; in dispatchPointerCaptureChangedLocked() 1661 target.inputChannel = channel; in dispatchDragLocked() 2485 if (inputChannel == nullptr) { in addWindowTargetLocked() 2489 inputTarget.inputChannel = inputChannel; in addWindowTargetLocked() 2523 target.inputChannel = monitor.inputChannel; in addMonitoringTargetLocked() 3530 target.inputChannel = connection->inputChannel; in synthesizeCancelationEventsForConnectionLocked() 3597 target.inputChannel = connection->inputChannel; in synthesizePointerDownEventsForConnectionLocked() 4456 return connectionIt->second->inputChannel; in getInputChannelLocked() 4619 if (inputChannel != nullptr) { in setInputWindowsLocked() [all …]
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | InputEventSender.java | 46 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument 57 public InputEventSender(InputChannel inputChannel, Looper looper) { in InputEventSender() argument 58 if (inputChannel == null) { in InputEventSender() 65 mInputChannel = inputChannel; in InputEventSender() 68 inputChannel, mMessageQueue); in InputEventSender()
|
H A D | InputEventReceiver.java | 54 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit() argument 69 public InputEventReceiver(InputChannel inputChannel, Looper looper) { in InputEventReceiver() argument 70 if (inputChannel == null) { in InputEventReceiver() 77 mInputChannel = inputChannel; in InputEventReceiver() 80 inputChannel, mMessageQueue); in InputEventReceiver() 281 InputEventReceiver createInputEventReceiver(InputChannel inputChannel, Looper looper); in createInputEventReceiver() argument
|
H A D | InputMonitor.java | 93 @NonNull InputChannel inputChannel, in InputMonitor() 95 this.mInputChannel = inputChannel; in InputMonitor() 148 InputChannel inputChannel = (InputChannel) in.readTypedObject(InputChannel.CREATOR); in InputMonitor() local 151 this.mInputChannel = inputChannel; in InputMonitor()
|
H A D | BatchedInputEventReceiver.java | 41 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() argument 42 super(inputChannel, looper); in BatchedInputEventReceiver()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipInputConsumer.java | 65 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument 67 super(inputChannel, looper, choreographer); in InputEventReceiver() 138 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local 142 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer() 149 mInputEventReceiver = new InputEventReceiver(inputChannel, in registerInputConsumer()
|
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | InputConsumerController.java | 67 InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument 69 super(inputChannel, looper, choreographer); in InputEventReceiver() 149 final InputChannel inputChannel = new InputChannel(); in registerInputConsumer() local 152 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer() 156 mInputEventReceiver = new InputEventReceiver(inputChannel, Looper.myLooper(), in registerInputConsumer()
|
H A D | InputChannelCompat.java | 68 public InputEventReceiver(InputChannel inputChannel, Looper looper, in InputEventReceiver() argument 70 mReceiver = new BatchedInputEventReceiver(inputChannel, looper, choreographer) { in InputEventReceiver()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
H A D | FileMover.java | 36 FileChannel inputChannel = input.getChannel(); in moveFileBetweenContexts() local 37 inputChannel.transferTo(0, inputChannel.size(), output.getChannel()); in moveFileBetweenContexts()
|
/aosp12/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
H A D | WindowAddRemovePerfTest.java | 102 final InputChannel inputChannel = new InputChannel(); in runBenchmark() local 106 Display.DEFAULT_DISPLAY, mRequestedVisibilities, inputChannel, in runBenchmark() 117 inputChannel.dispose(); in runBenchmark()
|
/aosp12/frameworks/native/libs/input/tests/ |
H A D | InputChannel_test.cpp | 47 std::unique_ptr<InputChannel> inputChannel = in TEST_F() local 50 EXPECT_NE(inputChannel, nullptr) << "channel should be successfully created"; in TEST_F() 51 EXPECT_STREQ("channel name", inputChannel->getName().c_str()) in TEST_F() 53 EXPECT_NE(-1, inputChannel->getFd()) << "channel should have valid fd"; in TEST_F()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputConsumerImpl.java | 54 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId) { in InputConsumerImpl() argument 62 if (inputChannel != null) { in InputConsumerImpl() 63 mClientChannel.copyTo(inputChannel); in InputConsumerImpl()
|
H A D | DragInputEventReceiver.java | 50 DragInputEventReceiver(InputChannel inputChannel, Looper looper, in DragInputEventReceiver() argument 52 super(inputChannel, looper); in DragInputEventReceiver()
|
H A D | PointerEventDispatcher.java | 41 public PointerEventDispatcher(InputChannel inputChannel, DisplayContent dc) { in PointerEventDispatcher() argument 42 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
|
/aosp12/frameworks/native/include/input/ |
H A D | InputTransport.h | 295 bool operator==(const InputChannel& inputChannel) const { 300 if (fstat(inputChannel.getFd(), &rhs) != 0) { 304 return inputChannel.getName() == getName() && inputChannel.getConnectionToken() == mToken &&
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | ImportVCardActivity.java | 458 ReadableByteChannel inputChannel = null; in copyTo() local 462 inputChannel = Channels.newChannel(resolver.openInputStream(sourceUri)); in copyTo() 466 while (inputChannel.read(buffer) != -1) { in copyTo() 476 if (inputChannel != null) { in copyTo() 478 inputChannel.close(); in copyTo()
|
/aosp12/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | FakeEpgReader.java | 92 public boolean apply(@Nullable Channel inputChannel) { in getChannels() 94 inputChannel.getDisplayNumber(), in getChannels()
|