Skip to content
Snippets Groups Projects
  1. Sep 26, 2023
  2. Sep 25, 2023
    • Treehugger Robot's avatar
      Merge changes I1731e65e,I2df84427 into main · f411c022
      Treehugger Robot authored
      * changes:
        Factorize CarrierPrivilegeAuthenticator constructors
        Change mCarrierServiceUid from int[] to SparseIntArray
      f411c022
    • Chalard Jean's avatar
      Fix a socket leak · 90050b25
      Chalard Jean authored
      Test: manual :
            adb root
            adb shell lsof | grep system_ | grep IPv
            adb shell dumpsys connectivity --diag
            adb shell lsof | grep system_ | grep IPv
            Before the change : plenty of new open FDs
            After the change : no new FD
      Bug: 297483305
      Change-Id: I1c1fb8de44e50998e99af8b3aac3f77edce903e0
      90050b25
    • Chalard Jean's avatar
      Factorize CarrierPrivilegeAuthenticator constructors · 21869454
      Chalard Jean authored
      Test: FrameworksNetTests
      Change-Id: I1731e65ef09cb32b51ac9cc7884a9737c19ecce9
      21869454
    • Chalard Jean's avatar
      Change mCarrierServiceUid from int[] to SparseIntArray · dfee6bec
      Chalard Jean authored
      Because followup changes will stop using synchronous getters
      for getting the service package UIDs, it will be a lot more
      convenient if this array is automatically sized.
      
      Test: FrameworksNetTests
      Bug: 236669534
      Change-Id: I2df8442727b5f17bd2d4e55a8795dc9210beb74b
      dfee6bec
  3. Sep 22, 2023
  4. Sep 21, 2023
  5. Sep 20, 2023
  6. Sep 19, 2023
  7. Sep 16, 2023
  8. 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
Loading