Searched refs:ThreadNetworkController (Results 1 – 20 of 20) sorted by relevance
18 import android.net.thread.ThreadNetworkController27 var registeredStateCallback: ThreadNetworkController.StateCallback? = null40 ThreadNetworkController.STATE_DISABLING in setEnabled()45 ThreadNetworkController.STATE_DISABLED in setEnabled()51 ThreadNetworkController.STATE_ENABLED in setEnabled()61 callback: ThreadNetworkController.StateCallback in registerStateCallback()66 … if (isEnabled) ThreadNetworkController.STATE_ENABLED else ThreadNetworkController.STATE_DISABLED in registerStateCallback()70 override fun unregisterStateCallback(callback: ThreadNetworkController.StateCallback) { in unregisterStateCallback()
26 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_CHILD;27 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_LEADER;28 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_ROUTER;29 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_STOPPED;30 import static android.net.thread.ThreadNetworkController.STATE_DISABLED;31 import static android.net.thread.ThreadNetworkController.STATE_DISABLING;32 import static android.net.thread.ThreadNetworkController.STATE_ENABLED;33 import static android.net.thread.ThreadNetworkController.THREAD_VERSION_1_3;60 import android.net.thread.ThreadNetworkController;61 import android.net.thread.ThreadNetworkController.OperationalDatasetCallback;[all …]
27 import android.net.thread.ThreadNetworkController;106 List<ThreadNetworkController> controllers = mManager.getAllThreadNetworkControllers(); in getAllThreadNetworkControllers_managerIsNotNull_returnsNotEmptyList()
94 @NonNull private final List<ThreadNetworkController> mUnmodifiableControllerServices;106 private static List<ThreadNetworkController> makeControllers( in makeControllers()119 return CollectionUtils.map(controllerServices, ThreadNetworkController::new); in makeControllers()123 @NonNull Context context, @NonNull List<ThreadNetworkController> controllerServices) { in ThreadNetworkManager()130 public List<ThreadNetworkController> getAllThreadNetworkControllers() { in getAllThreadNetworkControllers()
55 public final class ThreadNetworkController { class128 public ThreadNetworkController(@NonNull IThreadNetworkController controllerService) { in ThreadNetworkController() method in ThreadNetworkController
31 import android.net.thread.ThreadNetworkController;58 private ThreadNetworkController mThreadController;77 case ThreadNetworkController.DEVICE_ROLE_STOPPED: in deviceRoleToString()79 case ThreadNetworkController.DEVICE_ROLE_DETACHED: in deviceRoleToString()81 case ThreadNetworkController.DEVICE_ROLE_CHILD: in deviceRoleToString()83 case ThreadNetworkController.DEVICE_ROLE_ROUTER: in deviceRoleToString()85 case ThreadNetworkController.DEVICE_ROLE_LEADER: in deviceRoleToString()135 new ThreadNetworkController.StateCallback() { in onViewCreated()
32 import android.net.thread.ThreadNetworkController;33 import android.net.thread.ThreadNetworkController.StateCallback;51 private final ThreadNetworkController mController;66 private ThreadNetworkControllerWrapper(ThreadNetworkController controller) { in ThreadNetworkControllerWrapper()162 ThreadNetworkController.StateCallback callback = in waitForRoleAnyOf()
39 import android.net.thread.ThreadNetworkController;142 ThreadNetworkController controller, List<Integer> deviceRoles, Duration timeout) in waitForStateAnyOf()145 ThreadNetworkController.StateCallback callback = in waitForStateAnyOf()
20 import android.net.thread.ThreadNetworkController in <lambda>()21 import android.net.thread.ThreadNetworkController.StateCallback in <lambda>()101 threadEnabled = enabledState == ThreadNetworkController.STATE_ENABLED in <lambda>()
19 import android.net.thread.ThreadNetworkController in <lambda>()20 import android.net.thread.ThreadNetworkController.StateCallback in <lambda>()66 threadEnabled = enabledState == ThreadNetworkController.STATE_ENABLED in <lambda>()
19 import android.net.thread.ThreadNetworkController20 import android.net.thread.ThreadNetworkController.StateCallback
21 import android.net.thread.ThreadNetworkController22 import android.net.thread.ThreadNetworkController.StateCallback
19 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_CHILD;32 import android.net.thread.ThreadNetworkController.OperationalDatasetCallback;33 import android.net.thread.ThreadNetworkController.StateCallback;58 private ThreadNetworkController mController;92 mController = new ThreadNetworkController(mMockService); in setUp()
19 import static android.net.thread.ThreadNetworkController.STATE_DISABLED;20 import static android.net.thread.ThreadNetworkController.STATE_ENABLED;
19 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_DETACHED;20 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_LEADER;21 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_STOPPED;
73 private ThreadNetworkController mController;
156 UnflaggedApi: android.net.thread.ThreadNetworkController:157 New API must be flagged with @FlaggedApi: class android.net.thread.ThreadNetworkController158 UnflaggedApi: android.net.thread.ThreadNetworkController#THREAD_VERSION_1_3:159 …New API must be flagged with @FlaggedApi: field android.net.thread.ThreadNetworkController.THREAD_…160 UnflaggedApi: android.net.thread.ThreadNetworkController#getThreadVersion():161 …New API must be flagged with @FlaggedApi: method android.net.thread.ThreadNetworkController.getThr…
500 …ggedApi("com.android.net.thread.flags.thread_enabled") public final class ThreadNetworkController {506 …nNull java.util.concurrent.Executor, @NonNull android.net.thread.ThreadNetworkController.Operation…507 …nNull java.util.concurrent.Executor, @NonNull android.net.thread.ThreadNetworkController.StateCall…510 …unregisterOperationalDatasetCallback(@NonNull android.net.thread.ThreadNetworkController.Operation…511 … public void unregisterStateCallback(@NonNull android.net.thread.ThreadNetworkController.StateCall…523 public static interface ThreadNetworkController.OperationalDatasetCallback {528 public static interface ThreadNetworkController.StateCallback {552 …method @NonNull public java.util.List<android.net.thread.ThreadNetworkController> getAllThreadNetw…
28 import static android.net.thread.ThreadNetworkController.DEVICE_ROLE_DETACHED;29 import static android.net.thread.ThreadNetworkController.STATE_DISABLED;30 import static android.net.thread.ThreadNetworkController.STATE_DISABLING;31 import static android.net.thread.ThreadNetworkController.STATE_ENABLED;32 import static android.net.thread.ThreadNetworkController.THREAD_VERSION_1_3;100 import android.net.thread.ThreadNetworkController;101 import android.net.thread.ThreadNetworkController.DeviceRole;1247 if (ThreadNetworkController.isAttached(deviceRole)) {1458 if (!ThreadNetworkController.isAttached(deviceRole)) {
20 import static android.net.thread.ThreadNetworkController.STATE_DISABLED;21 import static android.net.thread.ThreadNetworkController.STATE_ENABLED;