Searched refs:stateMachine (Results 1 – 3 of 3) sorted by relevance
107 StateMachine stateMachine = new StateMachineToStringTest("TestStateMachine"); in testToStringSucceedsEvenIfMachineHasNoStates() local108 assertTrue(stateMachine.toString().contains("TestStateMachine")); in testToStringSucceedsEvenIfMachineHasNoStates()113 StateMachine stateMachine = new StateMachineToStringTest("TestStateMachine"); in testToStringSucceedsEvenIfStateHasNoName() local115 stateMachine.addState(exampleState); in testToStringSucceedsEvenIfStateHasNoName()116 stateMachine.setInitialState(exampleState); in testToStringSucceedsEvenIfStateHasNoName()117 stateMachine.start(); in testToStringSucceedsEvenIfStateHasNoName()118 assertTrue(stateMachine.toString().contains("TestStateMachine")); in testToStringSucceedsEvenIfStateHasNoName()119 assertTrue(stateMachine.toString().contains("(null)")); in testToStringSucceedsEvenIfStateHasNoName()124 StateMachine stateMachine = new StateMachineToStringTest("TestStateMachine"); in testToStringIncludesMachineAndStateNames() local126 stateMachine.addState(exampleState); in testToStringIncludesMachineAndStateNames()[all …]
267 ClientModeImpl stateMachine = mock(ClientModeImpl.class); in mockClientModeImpl() local269 when(stateMachine.isConnected()).thenReturn(false); in mockClientModeImpl()270 when(stateMachine.isDisconnected()).thenReturn(true); in mockClientModeImpl()271 when(stateMachine.isSupplicantTransientState()).thenReturn(false); in mockClientModeImpl()273 return stateMachine; in mockClientModeImpl()
591 ClientModeImpl stateMachine, in WifiConnectivityManager() argument598 mStateMachine = stateMachine; in WifiConnectivityManager()