Searched refs:stateMachine (Results 1 – 4 of 4) 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 …]
1756 final Tethering.TetherMasterSM stateMachine = (Tethering.TetherMasterSM) in testUpstreamNetworkChanged() local1760 stateMachine.chooseUpstreamType(true); in testUpstreamNetworkChanged()1768 final Tethering.TetherMasterSM stateMachine = (Tethering.TetherMasterSM) in testUpstreamCapabilitiesChanged() local1772 stateMachine.chooseUpstreamType(true); in testUpstreamCapabilitiesChanged()1774 stateMachine.handleUpstreamNetworkMonitorCallback(EVENT_ON_CAPABILITIES, upstreamState); in testUpstreamCapabilitiesChanged()1784 stateMachine.handleUpstreamNetworkMonitorCallback(EVENT_ON_CAPABILITIES, upstreamState2); in testUpstreamCapabilitiesChanged()
338 ClientModeImpl stateMachine = mock(ClientModeImpl.class); in mockClientModeImpl() local340 when(stateMachine.isConnected()).thenReturn(false); in mockClientModeImpl()341 when(stateMachine.isDisconnected()).thenReturn(true); in mockClientModeImpl()342 when(stateMachine.isSupplicantTransientState()).thenReturn(false); in mockClientModeImpl()344 return stateMachine; in mockClientModeImpl()
760 ClientModeImpl stateMachine, in WifiConnectivityManager() argument768 mStateMachine = stateMachine; in WifiConnectivityManager()