Searched refs:optMotion (Results 1 – 1 of 1) sorted by relevance
564 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeBatchedMotionMove() local565 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() local580 ASSERT_TRUE(optMotion.has_value()); in publishAndConsumeMotionEvent()581 std::unique_ptr<MotionEvent> event = std::move(*optMotion); in publishAndConsumeMotionEvent()