android_packages_modules_Co.../thread
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kangping Dong a3c94d5273 [Thread] pre-grant all permissions for ThreadNetworkControllerServiceTest
Existing ThreadNetworkControllerService tests are using RunAsShell to
grant the permissions for indivitual APIs. Given the permission checks
are tested in the CTS tests, this is not very useful with the overhead
of complicating the testing code. Instead, this CL grants all the
permissions in setUp() with spy-ed Context.

This commit also fixes the issue in b/326793058 that the tests doesn't
run on a U device where the THREAD_NETWORK_PRIVILEGED permission doesn't
exist.

Bug: 326793058
Test: m ThreadNetworkUnitTests
Change-Id: I477cf30d737969ccf12180eae48d3b8fd6ed4a51
2024-02-26 17:15:07 +08:00
..
apex [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
demoapp [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
flags [Thread] add aconfig_declarations for Thread module API flags 2024-02-21 14:56:42 +00:00
framework Select Thread channel from preferred or supported channel mask 2024-02-23 11:04:27 +08:00
scripts [Thread] add Android.bp format to make-pretty.sh 2024-01-28 13:14:46 +08:00
service Select Thread channel from preferred or supported channel mask 2024-02-23 11:04:27 +08:00
tests [Thread] pre-grant all permissions for ThreadNetworkControllerServiceTest 2024-02-26 17:15:07 +08:00
OWNERS [Thread] move Thread into com.android.tethering 2023-08-23 14:28:50 +08:00
README.md [Thread] move Thread into com.android.tethering 2023-08-23 14:28:50 +08:00
TEST_MAPPING Graduate ThreadNetworkIntegrationTests from postsubmit 2024-01-17 09:00:16 +00:00

Thread

Bring the Thread networking protocol to Android.