Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeStateMachineTest.java23 import com.android.server.telecom.CallAudioModeStateMachine;
36 public class CallAudioModeStateMachineTest extends StateMachineTestBase<CallAudioModeStateMachine> {
41 public CallAudioModeStateMachine.MessageArgs externalState;
49 CallAudioModeStateMachine.MessageArgs externalState, String in ModeTestParameters()
107 CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING, // initialAudioState in generateTestCases()
108 CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL, // messageType in generateTestCases()
109 new CallAudioModeStateMachine.MessageArgs( in generateTestCases()
117 CallAudioModeStateMachine.CALL_STATE_NAME, // expectedFinalStateName in generateTestCases()
126 CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING, // initialAudioState in generateTestCases()
127 CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL, // messageType in generateTestCases()
[all …]
DCallAudioManagerTest.java25 import com.android.server.telecom.CallAudioModeStateMachine;
52 @Mock private CallAudioModeStateMachine mCallAudioModeStateMachine;
87 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = in testSingleIncomingCallFlowWithoutMTSpeedUp()
88 ArgumentCaptor.forClass(CallAudioModeStateMachine.MessageArgs.class); in testSingleIncomingCallFlowWithoutMTSpeedUp()
94 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testSingleIncomingCallFlowWithoutMTSpeedUp()
95 CallAudioModeStateMachine.MessageArgs correctArgs = in testSingleIncomingCallFlowWithoutMTSpeedUp()
96 new CallAudioModeStateMachine.MessageArgs( in testSingleIncomingCallFlowWithoutMTSpeedUp()
106 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testSingleIncomingCallFlowWithoutMTSpeedUp()
122 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = in testSingleIncomingCallFlowWithMTSpeedUp()
123 ArgumentCaptor.forClass(CallAudioModeStateMachine.MessageArgs.class); in testSingleIncomingCallFlowWithMTSpeedUp()
[all …]
DCallAudioRouteStateMachineTest.java29 import com.android.server.telecom.CallAudioModeStateMachine;
746 waitForStateMachineActionCompletion(stateMachine, CallAudioModeStateMachine.RUN_RUNNABLE); in runParametrizedTestCaseWithoutFocus()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java49 private final CallAudioModeStateMachine mCallAudioModeStateMachine;
62 CallAudioModeStateMachine callAudioModeStateMachine, in CallAudioManager()
229 CallAudioModeStateMachine.MT_AUDIO_SPEEDUP_FOR_RINGING_CALL, in onIncomingCallAnswered()
280 CallAudioModeStateMachine.FOREGROUND_VOIP_MODE_CHANGE, in onIsVoipAudioModeChanged()
420 CallAudioModeStateMachine.NO_MORE_RINGING_CALLS, in silenceRingers()
484 isTonePlaying ? CallAudioModeStateMachine.TONE_STARTED_PLAYING in setIsTonePlaying()
485 : CallAudioModeStateMachine.TONE_STOPPED_PLAYING, in setIsTonePlaying()
536 CallAudioModeStateMachine.NO_MORE_ACTIVE_OR_DIALING_CALLS, in onCallLeavingActiveDialingOrConnecting()
544 CallAudioModeStateMachine.NO_MORE_RINGING_CALLS, in onCallLeavingRinging()
552 CallAudioModeStateMachine.NO_MORE_HOLDING_CALLS, in onCallLeavingHold()
[all …]
DCallAudioModeStateMachine.java27 public class CallAudioModeStateMachine extends StateMachine { class
455 private static final String LOG_TAG = CallAudioModeStateMachine.class.getSimpleName();
469 public CallAudioModeStateMachine(AudioManager audioManager) { in CallAudioModeStateMachine() method in CallAudioModeStateMachine
470 super(CallAudioModeStateMachine.class.getSimpleName()); in CallAudioModeStateMachine()
DCallsManager.java275 this,new CallAudioModeStateMachine((AudioManager) in CallsManager()