Skip to content
Snippets Groups Projects
  1. Jan 23, 2024
    • Remi NGUYEN VAN's avatar
      Implement offload priority · 5c9d6cbf
      Remi NGUYEN VAN authored
      Implement the TODO to assign priority to services based on an
      overlayable configuration.
      
      This changes the default priority from 0 to MAX_VALUE, as higher
      priority values are less prioritized, so services not in the priority
      list should have a high value. There is currently no user of the API
      depending on the priority, so the change should not affect clients.
      
      Test: atest
      Change-Id: I3aae9b5fa7756de64c63974c192e4c96b632ce4e
      5c9d6cbf
  2. Jan 15, 2024
    • Remi NGUYEN VAN's avatar
      Fix replying to queries via unicast · 0ca094b5
      Remi NGUYEN VAN authored
      Instead of (wrongly) looking at the DNS message flags for the Query
      Unicast bit, look at the flag in the question record.
      
      The previous bug means that all queries would be replied multicast
      instead of sometimes unicast. The fix is flagged off as this is a
      behavior change that may affect performance and latency.
      
      Bug: 289482497
      Test: atest
      Change-Id: I08e30c4ffa747c9073d631e8addca1278ea40648
      0ca094b5
  3. Jan 12, 2024
  4. Jan 11, 2024
  5. Jan 10, 2024
    • Treehugger Robot's avatar
    • Junyu Lai's avatar
    • Paul Hu's avatar
      Adjust the sequece of checks in maybeStopDaemon · 4a87ed42
      Paul Hu authored
      The method NsdService#maybeStopDaemon is currently being executed
      regardless of whether the daemon has been started or not.
      However, the mMDnsManager object is always null after Android V.
      This means that the null check within the method will always be
      triggered, resulting in a wtf log entry. To address this, the
      sequence of checks should be adjusted so that the mMDnsManager
      null check is performed only after verifying that the daemon has
      indeed started up.
      
      Fix: 318874425
      Test: Run the NsdManagerTest and check no wtf logs.
      Change-Id: Id5bba3a5c6b54df214761ad382f81a6f0a79a907
      4a87ed42
    • Junyu Lai's avatar
      Migrate Tethering#dump to use runWithScissorsForDump · 2ff42d26
      Junyu Lai authored
      This change includes:
        1. Refactor the logic in Tethering#dump into utils class.
        2. Move the utils class to a common place which could be referenced
           from other sub-modules.
        3. Add @MonitorThreadLeak annotation to enforce
           there is no thread leak problem.
      
      Test: atest FrameworksNetTests NetworkStaticLibTests
      Test: atest ConnectivityCoverageTests:com.android.networkstack.tethering.TetheringTest#testDumpTetheringLog
      Test: adb shell dumpsys tethering (with hardcoded exception)
      Fix: 312669345
      
      Change-Id: Ia6fdfeeec2110afa0ec9e056e9db3843748845c3
      2ff42d26
  6. Jan 09, 2024
  7. Jan 08, 2024
    • Kangping Dong's avatar
    • Kangping Dong's avatar
      [Thread] start / initialize Thread service early · 56354a96
      Kangping Dong authored
      We need to do initialization work and start OT daemon when
      system_server boots. But the initialize() is called at the phase
      PHASE_BOOT_COMPLETED which is too late as Apps (e.g. Google Play
      Services) can be started before this phase.
      
      This commit changes to start the Thread service earlier at the phase
      PHASE_SYSTEM_SERVICES_READY. Other services such as Wi-Fi, Bluetooth,
      Ethernet and Nearby all starts / initializes at this phase.
      
      This commit resolves comment aosp/2737373/comment/d65b9446_8a08117c
      
      Bug: 318787467
      Test: atest CtsThreadNetworkTestCases
      Change-Id: I7b7b8551b9114cbf07f995b64316c7b420d868b6
      56354a96
  8. Jan 05, 2024
  9. Jan 04, 2024
  10. Jan 03, 2024
Loading