Skip to content
Snippets Groups Projects
  1. Jan 29, 2024
  2. Jan 16, 2024
  3. Jan 15, 2024
  4. Jan 12, 2024
  5. Jan 11, 2024
  6. 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
  7. Jan 09, 2024
  8. 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
  9. Jan 05, 2024
  10. Jan 04, 2024
  11. Jan 03, 2024
Loading