Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java176 CallAudioRouteStateMachine stateMachine = new CallAudioRouteStateMachine( in testSpeakerPersistence() local
198 stateMachine.initialize(initState); in testSpeakerPersistence()
200 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_FOCUS, in testSpeakerPersistence()
202 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.CONNECT_WIRED_HEADSET); in testSpeakerPersistence()
206 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence()
207 waitForHandlerAction(stateMachine.getHandler(), TEST_TIMEOUT); in testSpeakerPersistence()
211 stateMachine.sendMessageWithSessionInfo( in testSpeakerPersistence()
218 CallAudioRouteStateMachine stateMachine = new CallAudioRouteStateMachine( in testUserBluetoothSwitchOff() local
233 stateMachine.initialize(initState); in testUserBluetoothSwitchOff()
235 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_FOCUS, 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/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java143 for (PbapClientStateMachine stateMachine : mPbapClientStateMachineMap.values()) { in onReceive()
144 stateMachine.resumeDownload(); in onReceive()
378 for (PbapClientStateMachine stateMachine : mPbapClientStateMachineMap.values()) { in dump()
379 stateMachine.dump(sb); in dump()
DPbapClientConnectionHandler.java101 PbapClientConnectionHandler(Looper looper, Context context, PbapClientStateMachine stateMachine, in PbapClientConnectionHandler() argument
107 mPbapClientStateMachine = stateMachine; in PbapClientConnectionHandler()
/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/mapclient/
DMnsObexServer.java47 public MnsObexServer(MceStateMachine stateMachine, ObexServerSockets socketOriginator) { in MnsObexServer() argument
49 mStateMachineReference = new WeakReference<>(stateMachine); in MnsObexServer()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java87 HeadsetPhoneState(Context context, HeadsetStateMachine stateMachine) { in HeadsetPhoneState() argument
88 mStateMachine = stateMachine; in HeadsetPhoneState()