Searched refs:mControllerService (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | ThreadNetworkShellCommandTest.java | 78 @Mock private ThreadNetworkControllerService mControllerService; field in ThreadNetworkShellCommandTest 96 mShellCommand = new ThreadNetworkShellCommand(mContext, mControllerService, mCountryCode); in setUp() 190 .when(mControllerService) in forceStopOtDaemon_serviceThrows_failed() 200 verify(mControllerService, times(1)).forceStopOtDaemonForTest(eq(true), any()); in forceStopOtDaemon_serviceThrows_failed() 206 doNothing().when(mControllerService).forceStopOtDaemonForTest(eq(true), any()); in forceStopOtDaemon_serviceApiTimeout_failedWithTimeoutError() 215 verify(mControllerService, times(1)).forceStopOtDaemonForTest(eq(true), any()); in forceStopOtDaemon_serviceApiTimeout_failedWithTimeoutError() 222 doNothing().when(mControllerService).join(any(), any()); in join_controllerServiceJoinIsCalled() 234 verify(mControllerService, times(1)).join(eq(activeDataset), any()); in join_controllerServiceJoinIsCalled() 240 doNothing().when(mControllerService).join(any(), any()); in join_invalidDataset_controllerServiceJoinIsNotCalled() 249 verify(mControllerService, never()).join(any(), any()); in join_invalidDataset_controllerServiceJoinIsNotCalled() [all …]
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkService.java | 44 @Nullable private ThreadNetworkControllerService mControllerService; field in ThreadNetworkService 62 mControllerService = in onBootPhase() 67 mContext, mControllerService, mPersistentSettings); in onBootPhase() 68 mControllerService.initialize(); in onBootPhase() 77 requireNonNull(mControllerService), in onBootPhase() 84 if (mControllerService == null) { in getAllThreadNetworkControllers() 87 return Collections.singletonList(mControllerService); in getAllThreadNetworkControllers()
|
D | ThreadNetworkShellCommand.java | 59 private final ThreadNetworkControllerService mControllerService; field in ThreadNetworkShellCommand 70 mControllerService = controllerService; in ThreadNetworkShellCommand() 149 mControllerService.setEnabled(enabled, newOperationReceiver(setEnabledFuture)); in setThreadEnabled() 163 mControllerService.join(dataset, new IOperationReceiver.Default()); in join() 169 mControllerService.leave(newOperationReceiver(leaveFuture)); in leave() 197 mControllerService.scheduleMigration(pendingDataset, newOperationReceiver(migrateFuture)); in migrate() 213 mControllerService.forceStopOtDaemonForTest(enabled, newOperationReceiver(forceStopFuture)); in forceStopOtDaemon()
|
/packages/modules/Connectivity/thread/framework/java/android/net/thread/ |
D | ThreadNetworkController.java | 114 private final IThreadNetworkController mControllerService; field in ThreadNetworkController 130 mControllerService = controllerService; in ThreadNetworkController() 161 mControllerService.setEnabled(enabled, new OperationReceiverProxy(executor, receiver)); in setEnabled() 171 return mControllerService.getThreadVersion(); in getThreadVersion() 197 mControllerService.createRandomizedDataset( in createRandomizedDataset() 306 mControllerService.registerStateCallback(callbackProxy); in registerStateCallback() 329 mControllerService.unregisterStateCallback(callbackProxy); in unregisterStateCallback() 426 mControllerService.registerOperationalDatasetCallback(callbackProxy); in registerOperationalDatasetCallback() 454 mControllerService.unregisterOperationalDatasetCallback(callbackProxy); in unregisterOperationalDatasetCallback() 498 mControllerService.join(activeDataset, new OperationReceiverProxy(executor, receiver)); in join() [all …]
|