Home
last modified time | relevance | path

Searched refs:optEvent (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/input/tests/
DInputPublisherAndConsumerNoResampling_test.cpp619 std::optional<std::unique_ptr<CaptureEvent>> optEvent = mCaptureEvents.popWithTimeout(TIMEOUT); in publishAndConsumeCaptureEvent() local
620 ASSERT_TRUE(optEvent.has_value()) << "consumer should have returned non-NULL event"; in publishAndConsumeCaptureEvent()
621 std::unique_ptr<CaptureEvent> event = std::move(*optEvent); in publishAndConsumeCaptureEvent()
643 std::optional<std::unique_ptr<DragEvent>> optEvent = mDragEvents.popWithTimeout(TIMEOUT); in publishAndConsumeDragEvent() local
644 ASSERT_TRUE(optEvent.has_value()) << "consumer should have returned non-NULL event"; in publishAndConsumeDragEvent()
645 std::unique_ptr<DragEvent> event = std::move(*optEvent); in publishAndConsumeDragEvent()
667 std::optional<std::unique_ptr<TouchModeEvent>> optEvent = in publishAndConsumeTouchModeEvent() local
669 ASSERT_TRUE(optEvent.has_value()); in publishAndConsumeTouchModeEvent()
670 std::unique_ptr<TouchModeEvent> event = std::move(*optEvent); in publishAndConsumeTouchModeEvent()