Searched refs:sm_ (Results 1 – 4 of 4) sorted by relevance
151 void SetUp() override { sm_.Start(); } in SetUp()153 void TearDown() override { sm_.Quit(); } in TearDown()155 StateMachineImpl sm_; member in StateMachineTest159 ASSERT_EQ(sm_.kStateZero, sm_.StateId()); in TEST_F()160 ASSERT_EQ(sm_.kStateInvalid, sm_.PreviousStateId()); in TEST_F()164 sm_.Quit(); in TEST_F()165 ASSERT_EQ(sm_.kStateInvalid, sm_.StateId()); in TEST_F()166 ASSERT_EQ(sm_.kStateInvalid, sm_.PreviousStateId()); in TEST_F()167 sm_.Start(); in TEST_F()168 ASSERT_EQ(sm_.kStateZero, sm_.StateId()); in TEST_F()[all …]
48 State(StateMachine& sm, int state_id) : sm_(sm), state_id_(state_id) {} in State()87 void TransitionTo(int dest_state_id) { sm_.TransitionTo(dest_state_id); } in TransitionTo()95 sm_.TransitionTo(dest_state); in TransitionTo()99 StateMachine& sm_;
55 std::unique_ptr<SnapshotManager> sm_; variable
151 : sm_(std::move(sm)), old_pid_(old_pid) { in SnapuserdSelinuxHelper()154 sm_->SetUeventRegenCallback([this](const std::string& device) -> bool { in SnapuserdSelinuxHelper()206 if (!sm_->DetachSnapuserdForSelinux(&argv_)) { in StartTransition()