android_packages_modules_Co.../thread/tests/cts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yang Sun 0797d9d501 Add setEnabled API
setEnabled API is added to ThreadNetworkController, this
can be used by applications with privileged permission to set
Thread to enable/disabled state.

The Thread enabled state can be subscribed with
ThreadNetworkController#registerStateCallback.

When Thread is disabled, the join/scheduleMigration APIs will
fail with ERROR_THREAD_DISABLED.

When Thread is disabling, all commands will fail with ERROR_BUSY.

Bug: 299243765

Test: atest CtsThreadNetworkTestCases:android.net.thread.cts.ThreadNetworkControllerTest

Change-Id: Ifa7845bf1d5664ecd31ce74e24b3a839f92bba13
2024-01-26 15:53:33 +08:00
..
src/android/net/thread/cts Add setEnabled API 2024-01-26 15:53:33 +08:00
Android.bp Remove --show-annotation FlaggedApi from flagged-apis-droidstubs 2023-11-22 19:05:48 +09:00
AndroidManifest.xml [Thread] initial Thread network service 2023-09-12 21:48:57 +08:00
AndroidTest.xml [Thread] add Thread Operational Dataset API 2023-10-25 18:13:07 +08:00
OWNERS [Thread] initial Thread network service 2023-09-12 21:48:57 +08:00