Searched refs:stateMachine (Results 1 – 6 of 6) sorted by relevance
155 CallAudioRouteStateMachine stateMachine = new CallAudioRouteStateMachine( in testSpeakerPersistence() local177 stateMachine.initialize(initState); in testSpeakerPersistence()179 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_FOCUS, in testSpeakerPersistence()181 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.CONNECT_WIRED_HEADSET); in testSpeakerPersistence()188 stateMachine.sendMessageWithSessionInfo( in testSpeakerPersistence()195 CallAudioRouteStateMachine stateMachine = new CallAudioRouteStateMachine( in testUserBluetoothSwitchOff() local209 stateMachine.initialize(initState); in testUserBluetoothSwitchOff()211 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_FOCUS, in testUserBluetoothSwitchOff()213 stateMachine.sendMessageWithSessionInfo( in testUserBluetoothSwitchOff()219 waitForStateMachineActionCompletion(stateMachine, CallAudioRouteStateMachine.RUN_RUNNABLE); in testUserBluetoothSwitchOff()[all …]
27 protected final void waitForStateMachineActionCompletion(T stateMachine, int runnableCode) { in waitForStateMachineActionCompletion() argument35 stateMachine.sendMessage(runnableCode, actionComplete); in waitForStateMachineActionCompletion()
42 StateMachine stateMachine, in create() argument44 return new StateBackground(stateMachine, resourceConstructed); in create()54 StateMachine stateMachine, in StateBackground() argument56 super(stateMachine); in StateBackground()
34 protected StateImpl(StateMachine stateMachine) { in StateImpl() argument35 mStateMachine = stateMachine; in StateImpl()
125 public StateUninitialized(StateMachine stateMachine) { in StateUninitialized() argument126 super(stateMachine); in StateUninitialized()
87 HeadsetPhoneState(Context context, HeadsetStateMachine stateMachine) { in HeadsetPhoneState() argument88 mStateMachine = stateMachine; in HeadsetPhoneState()