Home
last modified time | relevance | path

Searched refs:stateMachine (Results 1 – 6 of 6) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java155 CallAudioRouteStateMachine stateMachine = new CallAudioRouteStateMachine( in testSpeakerPersistence() local
177 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() local
209 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 …]
DStateMachineTestBase.java27 protected final void waitForStateMachineActionCompletion(T stateMachine, int runnableCode) { in waitForStateMachineActionCompletion() argument
35 stateMachine.sendMessage(runnableCode, actionComplete); in waitForStateMachineActionCompletion()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateBackground.java42 StateMachine stateMachine, in create() argument
44 return new StateBackground(stateMachine, resourceConstructed); in create()
54 StateMachine stateMachine, in StateBackground() argument
56 super(stateMachine); in StateBackground()
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateImpl.java34 protected StateImpl(StateMachine stateMachine) { in StateImpl() argument
35 mStateMachine = stateMachine; in StateImpl()
DStateMachineImpl.java125 public StateUninitialized(StateMachine stateMachine) { in StateUninitialized() argument
126 super(stateMachine); in StateUninitialized()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java87 HeadsetPhoneState(Context context, HeadsetStateMachine stateMachine) { in HeadsetPhoneState() argument
88 mStateMachine = stateMachine; in HeadsetPhoneState()