Searched refs:SessionState (Results 1 – 2 of 2) sorted by relevance
32 mScheduledState(SessionState::IDLING), in Session()33 mCurrentState(SessionState::IDLING) { in Session()41 void Session::scheduleStateOrCrash(SessionState state) { in scheduleStateOrCrash()48 void Session::enterStateOrCrash(SessionState state) { in enterStateOrCrash()51 mScheduledState = SessionState::IDLING; in enterStateOrCrash()56 if (mCurrentState != SessionState::CLOSED) { in enterIdling()57 mCurrentState = SessionState::IDLING; in enterIdling()62 return mCurrentState == SessionState::CLOSED; in isClosed()67 scheduleStateOrCrash(SessionState::GENERATING_CHALLENGE); in generateChallenge()70 enterStateOrCrash(SessionState::GENERATING_CHALLENGE); in generateChallenge()[all …]
30 enum class SessionState { enum87 void scheduleStateOrCrash(SessionState state);92 void enterStateOrCrash(SessionState state);118 std::atomic<SessionState> mScheduledState;119 std::atomic<SessionState> mCurrentState;