Skip to content
Snippets Groups Projects
  1. Sep 21, 2023
  2. Sep 20, 2023
  3. Sep 19, 2023
  4. Sep 15, 2023
    • Mark's avatar
      SyncSM03: implement state transition logic · 9e572d10
      Mark authored
      Implement performTransitions which does state transitions.
      1. Determine the common ancestor state of current/destination states
      2. Invoke state exit list from current state to common ancestor state.
      3. Invoke state enter list from common ancestor state to destState by
      going through mEnterStateStack.
      
      The state transition is always defined so that the target can never be
      changed mid-way of a state transition. In other words, calling
      transitionTo in State enter and exit is not allowed.
      
      Test: atest SyncStateMachineTest
      Change-Id: I51e8c5440a8b9ac25715c3d030717421f68c15b3
      9e572d10
    • Mark's avatar
      SyncSM02: implement addState function · 1d460b56
      Mark authored
      Duplicated state is not allowed.
      
      Test: atest SynStateMachineTest
      Change-Id: I0d5c73f666f90aebcfbf535cf0f824c5050941a2
      1d460b56
    • Treehugger Robot's avatar
    • Mark's avatar
      SyncSM01: define SyncStateMachine user interface · b48caa22
      Mark authored
      This change adds SyncStateMachine class and provides the user
      interface but doesn't have the details implementation.
      
      Test: m
      Change-Id: Ic2fa69b9e6424601fc2df2d07a052f48a6a46370
      b48caa22
  5. Sep 14, 2023
  6. Sep 13, 2023
  7. Sep 12, 2023
Loading