Skip to content
Snippets Groups Projects
  1. Sep 26, 2023
    • Motomu Utsumi's avatar
      Cleanup existing firewall rule on myUid before the test · 4d8c70c0
      Motomu Utsumi authored
      testFirewallCloseSocketAllowlistChainOtherUid sets the firewall rule on
      myUid + 1 and confirms this does not affect the network access from
      myUid.
      This test failed when there is an existing firewall rule on myUid.
      This CL cleans up the existing rule on myUid before running the test and
      restores the existing state after the test.
      
      Bug: 299898772
      Test: atest CtsNetTestCases
      Change-Id: I9083ac41a64a8b81a8b4616c0d57a25355f5d53c
      4d8c70c0
  2. Sep 22, 2023
  3. Sep 21, 2023
  4. Sep 20, 2023
  5. Sep 19, 2023
  6. Sep 16, 2023
  7. 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
  8. Sep 14, 2023
  9. Sep 13, 2023
Loading