- Jan 26, 2024
-
-
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
-
- Jan 03, 2024
-
-
Zhanglong Xia authored
Bug: b/309357909 Test: Run `atest ThreadNetworkUnitTests`. Change-Id: I087cc0fc2b6c21fd9d3d4607f30c194214aeb37e
-
- Jan 02, 2024
-
-
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
-
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
-
- Nov 17, 2023
-
-
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
-
- Nov 08, 2023
-
-
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
-
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
-
- Sep 12, 2023
-
-
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
-
- Aug 23, 2023
-
-
Kangping Dong authored
Bug: 296211911 Change-Id: Ifd4f7cd06f1aeaba739d27d2328e89031ca73235
-
- Jul 31, 2023
-
-
Casey Borders authored
Stub out code and test directories BUG: 290094832 Test: atest FrameworksNetTests RemoteAuthUnitTests Change-Id: I850242640f32bea3d46febcde5f3719619b1ea07
-