Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputPublisherAndConsumerNoResampling_test.cpp564 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeBatchedMotionMove() local
565 ASSERT_TRUE(optMotion.has_value()); in publishAndConsumeBatchedMotionMove()
566 std::unique_ptr<MotionEvent> motion = std::move(*optMotion); in publishAndConsumeBatchedMotionMove()
579 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeMotionEvent() local
580 ASSERT_TRUE(optMotion.has_value()); in publishAndConsumeMotionEvent()
581 std::unique_ptr<MotionEvent> event = std::move(*optMotion); in publishAndConsumeMotionEvent()