Skip to content
Snippets Groups Projects
  1. Sep 28, 2023
  2. Sep 25, 2023
  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
    • 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
  9. Sep 14, 2023
    • Treehugger Robot's avatar
    • Mark's avatar
      SyncSM10: explicitly keep TetheringUtils jni methods · 87800837
      Mark authored
      Found R8 accidentally remove TetheringUtils jni methods while doing
      some refactor. If any of jni java methods is removed by R8, devices
      would fail to boot because of jni registering failure. Explicitly
      adding progurad rule to make sure R8 never remove it.
      
      Test: boot, atest CtsTetheringTest
      
      Change-Id: I091a2f094d01f683fb454ed4624be35555940393
      87800837
    • Remi NGUYEN VAN's avatar
      Add test for partial responses · 08521315
      Remi NGUYEN VAN authored
      Test that when a responder only responds with the exact records that
      were queried, so only reply for PTR in discovery, only send SRV, TXT,
      A, AAAA when asked explicitly, service resolve succeeds.
      
      This ensures that the querier sends followup queries for each record.
      See RFC6763 12., especially the last paragraph.
      
      Bug: 267570781
      Bug: 267371243
      Test: atest NsdManagerTest
      Change-Id: Ia392e80c1e27b479c6177d19f6b4be6032dcb1cd
      08521315
Loading