Searched refs:optEvent (Results 1 – 1 of 1) sorted by relevance
619 std::optional<std::unique_ptr<CaptureEvent>> optEvent = mCaptureEvents.popWithTimeout(TIMEOUT); in publishAndConsumeCaptureEvent() local620 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() local644 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() local669 ASSERT_TRUE(optEvent.has_value()); in publishAndConsumeTouchModeEvent()670 std::unique_ptr<TouchModeEvent> event = std::move(*optEvent); in publishAndConsumeTouchModeEvent()