Searched refs:InputPublisher (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 38 std::unique_ptr<InputPublisher> mPublisher; 50 mPublisher = std::make_unique<InputPublisher>(mServerChannel); in SetUp() 130 ASSERT_TRUE(std::holds_alternative<InputPublisher::Finished>(*result)); in PublishAndConsumeKeyEvent() 131 const InputPublisher::Finished& finish = std::get<InputPublisher::Finished>(*result); in PublishAndConsumeKeyEvent() 279 ASSERT_TRUE(std::holds_alternative<InputPublisher::Finished>(*result)); in PublishAndConsumeMotionEvent() 280 const InputPublisher::Finished& finish = std::get<InputPublisher::Finished>(*result); in PublishAndConsumeMotionEvent() 321 ASSERT_TRUE(std::holds_alternative<InputPublisher::Finished>(*result)); in PublishAndConsumeFocusEvent() 322 const InputPublisher::Finished& finish = std::get<InputPublisher::Finished>(*result); in PublishAndConsumeFocusEvent() 363 const InputPublisher::Finished& finish = std::get<InputPublisher::Finished>(*result); in PublishAndConsumeCaptureEvent() 407 const InputPublisher::Finished& finish = std::get<InputPublisher::Finished>(*result); in PublishAndConsumeDragEvent() [all …]
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_view_InputEventSender.cpp | 68 InputPublisher mInputPublisher; 81 const InputPublisher::ConsumerResponse& response, 213 Result<InputPublisher::ConsumerResponse> result = mInputPublisher.receiveConsumerResponse(); in processConsumerResponse() 242 JNIEnv* env, jobject sender, const InputPublisher::ConsumerResponse& response, in notifyConsumerResponse() 244 if (std::holds_alternative<InputPublisher::Timeline>(response)) { in notifyConsumerResponse() 245 const InputPublisher::Timeline& timeline = std::get<InputPublisher::Timeline>(response); in notifyConsumerResponse() 273 const InputPublisher::Finished& finished = std::get<InputPublisher::Finished>(response); in notifyConsumerResponse()
|
/aosp12/frameworks/native/services/inputflinger/dispatcher/ |
H A D | Connection.h | 47 InputPublisher inputPublisher;
|
H A D | InputDispatcher.cpp | 3413 Result<InputPublisher::ConsumerResponse> result = in handleReceiveCallback() 3420 if (std::holds_alternative<InputPublisher::Finished>(*result)) { in handleReceiveCallback() 3421 const InputPublisher::Finished& finish = in handleReceiveCallback() 3422 std::get<InputPublisher::Finished>(*result); in handleReceiveCallback() 3425 } else if (std::holds_alternative<InputPublisher::Timeline>(*result)) { in handleReceiveCallback() 3427 const InputPublisher::Timeline& timeline = in handleReceiveCallback() 3428 std::get<InputPublisher::Timeline>(*result); in handleReceiveCallback()
|
/aosp12/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 485 InputPublisher::InputPublisher(const std::shared_ptr<InputChannel>& channel) : mChannel(channel) {} in InputPublisher() function in android::InputPublisher 487 InputPublisher::~InputPublisher() { in ~InputPublisher() 490 status_t InputPublisher::publishKeyEvent(uint32_t seq, int32_t eventId, int32_t deviceId, in publishKeyEvent() 533 status_t InputPublisher::publishMotionEvent( in publishMotionEvent() 613 status_t InputPublisher::publishFocusEvent(uint32_t seq, int32_t eventId, bool hasFocus, in publishFocusEvent() 632 status_t InputPublisher::publishCaptureEvent(uint32_t seq, int32_t eventId, in publishCaptureEvent() 649 status_t InputPublisher::publishDragEvent(uint32_t seq, int32_t eventId, float x, float y, in publishDragEvent() 668 android::base::Result<InputPublisher::ConsumerResponse> InputPublisher::receiveConsumerResponse() { in receiveConsumerResponse()
|
/aosp12/frameworks/native/include/input/ |
H A D | InputTransport.h | 320 class InputPublisher { 323 explicit InputPublisher(const std::shared_ptr<InputChannel>& channel); 326 ~InputPublisher();
|