Skip to content
Snippets Groups Projects
  1. Jan 26, 2024
    • Handa Wang's avatar
      Move the Thread proguard flags to ConnectivityService's proguard.flags · cca941a2
      Handa Wang authored
      We needed this proguard flag because
      ThreadNetworkService#onLocalNetworkInfoChanged will otherwise be
      stripped. We need to keep the method to ensure the border routing
      feature works.
      
      Initially we put the flag in thread/service/proguard.flags. However,
      this seems not working on udc-mainline-prod branch. After moving it to
      Connectivity/service/proguard.flags, it works as desired.
      
      Bug: 313539492
      
      Change-Id: I33cb0602095a617dbb1cfe3d9002f9c68e93cccf
      cca941a2
  2. Jan 03, 2024
  3. Jan 02, 2024
    • Zhanglong Xia's avatar
      Add Thread resource overlay support · 125a43c1
      Zhanglong Xia authored
      This CL adds resource overlay support to allow developers to
      change the default configuration of using the location country code.
      
      Bug: b/311324956
      Test: Set the resource overlay in cuttlefish, check the default
            configuration via the command `dumpsys thread_network`.
      
      Change-Id: Ide853975e8244f06a382b2eda4844e030539b95d
      125a43c1
    • Zhanglong Xia's avatar
      Set Thread Network country code from location country code · d385e7ee
      Zhanglong Xia authored
      This CL selects the Thread country code from location country code.
      If the location country code is not avaliable, the country code `WW`
      will be selected as the default Thread country code.
      
      This CL also adds Shell commands for developers to override the Thread
      country code for testing.
      
      Bug: b/309357909
      Test: Run `atest ThreadNetworkUnitTests`.
      
      Change-Id: Id87c293005f0e75922a72854b40c41837b74397f
      d385e7ee
  4. Nov 17, 2023
    • Handa Wang's avatar
      update ThreadNetworkControllerService to support border routing · 496f770d
      Handa Wang authored
      This CL lets ThreadNetworkControllerService calls the LocalNetworkConfig
      API to set up border routing between Thread and infrastructure network.
      
      Bug: 299552948
      Bug: 305861411
      Test: Verified on Cuttlefish that forwarding is set up.
      
      Change-Id: I8b2f015d9d6248bfb1cd9ac806dc8664970a26d2
      496f770d
  5. Nov 08, 2023
    • Kangping Dong's avatar
      [Thread] add ThreadNetworkController APIs · b1c75dbe
      Kangping Dong authored
      The ThreadNetworkController class provides APIs for managing the Thread
      network, for example, attach to a specific network, form a network with
      given dataset or update/migrate an existing network.
      
      Bug: 262683651
      Test: atest CtsThreadNetworkTestCases
      Change-Id: Ib3c267d2c81a8c3c7772ed3c9cd2092487cc941a
      b1c75dbe
    • Kangping Dong's avatar
      [Thread] add ServiceManagerWrapper · 192e4b02
      Kangping Dong authored
      Add a JNI wrapper of the NDK version of the ServiceManager which allows
      us to retrieve the ot-daemon lazy service.
      
      Bug: 262683651
      Test: atest CtsThreadNetworkTestCases
      Change-Id: I1d331d1ba06c2b88f156622d4ae864dae7b15dc3
      192e4b02
  6. Sep 12, 2023
    • Kangping Dong's avatar
      [Thread] initial Thread network service · 1cec48f3
      Kangping Dong authored
      This commit sets up the initial Thread network service for the
      Android Thread feature which allows an Android device to create
      a Thread network and being a Border Router.
      
      See https://www.threadgroup.org/What-is-Thread for background of
      Thread.
      
      See b/235016403 for the Android Thread feature request.
      
      Test: lunch aosp_cf_x86_64_tv-userdebug
            m && launch_cvd
            atest CtsThreadNetworkTestCases
      Bug: 262683651
      Change-Id: Ie1bb23084531f67165ec068ea3ca39592dbc01d1
      1cec48f3
  7. Aug 23, 2023
  8. Jul 31, 2023
    • Casey Borders's avatar
      RemoteAuth Boilerplate · 13a35ea2
      Casey Borders authored
      Stub out code and test directories
      
      BUG: 290094832
      Test: atest FrameworksNetTests RemoteAuthUnitTests
      Change-Id: I850242640f32bea3d46febcde5f3719619b1ea07
      13a35ea2
Loading