Home
last modified time | relevance | path

Searched refs:initState (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java168 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testStreamRingMuteChange() local
170 stateMachine.initialize(initState); in testStreamRingMuteChange()
222 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSpeakerPersistence() local
224 stateMachine.initialize(initState); in testSpeakerPersistence()
234 verifyNewSystemCallAudioState(initState, expectedMiddleState); in testSpeakerPersistence()
240 verifyNewSystemCallAudioState(expectedMiddleState, initState); in testSpeakerPersistence()
261 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOff() local
263 stateMachine.initialize(initState); in testUserBluetoothSwitchOff()
276 verifyNewSystemCallAudioState(initState, expectedEndState); in testUserBluetoothSwitchOff()
306 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() local
[all …]
DCallAudioRouteTransitionTests.java274 final CallAudioState initState = new CallAudioState(false, in testActiveTransition() local
277 stateMachine.initialize(initState); in testActiveTransition()
343 verifyNewSystemCallAudioState(initState, expectedState); in testActiveTransition()
371 CallAudioState initState = new CallAudioState(false, in testQuiescentTransition() local
374 stateMachine.initialize(initState); in testQuiescentTransition()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1524 CallAudioState initState = getInitialAudioState(); in initialize() local
1525 initialize(initState); in initialize()
1528 public void initialize(CallAudioState initState) { in initialize() argument
1529 if ((initState.getRoute() & getCurrentCallSupportedRoutes()) == 0) { in initialize()
1531 " routes are: %d", initState.getRoute(), getCurrentCallSupportedRoutes()); in initialize()
1534 mCurrentCallAudioState = initState; in initialize()
1535 mLastKnownCallAudioState = initState; in initialize()
1536 mDeviceSupportedRoutes = initState.getSupportedRouteMask(); in initialize()
1538 mIsMuted = initState.isMuted(); in initialize()
1547 mStatusBarNotifier.notifyMute(initState.isMuted()); in initialize()
[all …]