android_packages_modules_Co.../framework-t/api
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
..
current.txt Merge changes from topic "mdns-subtypes" into main 2023-12-18 08:49:44 +00:00
lint-baseline.txt [MS83.2] Make some APIs module-lib instead of system current 2022-03-16 15:31:26 +08:00
module-lib-current.txt Add additional overriding methods to signature files 2023-10-12 19:21:07 +01:00
module-lib-lint-baseline.txt Baseline issues that were previously suppressed 2023-11-07 08:40:36 +00:00
module-lib-removed.txt Add additional overriding methods to signature files 2023-10-12 19:21:07 +01:00
OWNERS Add Thread team to owners of the API files 2023-11-08 12:43:05 +00:00
removed.txt Add additional overriding methods to signature files 2023-10-12 19:21:07 +01:00
system-current.txt Add setEnabled API 2024-01-26 15:53:33 +08:00
system-lint-baseline.txt Baseline issues that were previously suppressed 2023-11-07 08:40:36 +00:00
system-removed.txt Add additional overriding methods to signature files 2023-10-12 19:21:07 +01:00