Searched refs:CallAudioModeStateMachine (Results 1 – 9 of 9) sorted by relevance
| /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
| D | CallAudioModeTransitionTests.java | 24 import com.android.server.telecom.CallAudioModeStateMachine; 52 public CallAudioModeStateMachine.MessageArgs externalState; 60 CallAudioModeStateMachine.MessageArgs externalState, String in ModeTestParameters() 119 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in modeTransitionTest() 190 CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING, // initialAudioState in generateTestCases() 191 CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL, // messageType in generateTestCases() 192 new CallAudioModeStateMachine.MessageArgs( in generateTestCases() 200 CallAudioModeStateMachine.CALL_STATE_NAME, // expectedFinalStateName in generateTestCases() 209 CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING, // initialAudioState in generateTestCases() 210 CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL, // messageType in generateTestCases() [all …]
|
| D | CallAudioManagerTest.java | 25 import com.android.server.telecom.CallAudioModeStateMachine; 63 @Mock private CallAudioModeStateMachine mCallAudioModeStateMachine; 104 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = in testUnmuteOfSecondIncomingCall() 105 ArgumentCaptor.forClass(CallAudioModeStateMachine.MessageArgs.class); in testUnmuteOfSecondIncomingCall() 111 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testUnmuteOfSecondIncomingCall() 112 CallAudioModeStateMachine.MessageArgs correctArgs = in testUnmuteOfSecondIncomingCall() 113 new CallAudioModeStateMachine.MessageArgs( in testUnmuteOfSecondIncomingCall() 123 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testUnmuteOfSecondIncomingCall() 166 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = 167 ArgumentCaptor.forClass(CallAudioModeStateMachine.MessageArgs.class); [all …]
|
| D | CallAudioModeStateMachineTest.java | 23 import com.android.server.telecom.CallAudioModeStateMachine; 59 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testNoFocusWhenRingerSilenced() 62 sm.sendMessage(CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING); in testNoFocusWhenRingerSilenced() 68 sm.sendMessage(CallAudioModeStateMachine.NEW_RINGING_CALL, in testNoFocusWhenRingerSilenced() 69 new CallAudioModeStateMachine.MessageArgs( in testNoFocusWhenRingerSilenced() 79 assertEquals(CallAudioModeStateMachine.RING_STATE_NAME, sm.getCurrentStateName()); in testNoFocusWhenRingerSilenced() 92 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testNoRingWhenDeviceIsAtEar() 95 sm.sendMessage(CallAudioModeStateMachine.ABANDON_FOCUS_FOR_TESTING); in testNoRingWhenDeviceIsAtEar() 96 sm.sendMessage(CallAudioModeStateMachine.NEW_HOLDING_CALL, in testNoRingWhenDeviceIsAtEar() 97 new CallAudioModeStateMachine.MessageArgs( in testNoRingWhenDeviceIsAtEar() [all …]
|
| D | VideoCallTests.java | 34 import com.android.server.telecom.CallAudioModeStateMachine; 263 CallAudioModeStateMachine camsm = mTelecomSystem.getCallsManager() in verifyAudioRoute()
|
| D | CallsManagerTest.java | 56 import com.android.server.telecom.CallAudioModeStateMachine; 172 @Mock private CallAudioModeStateMachine mCallAudioModeStateMachine; 173 @Mock private CallAudioModeStateMachine.Factory mCallAudioModeStateMachineFactory;
|
| /packages/services/Telecomm/src/com/android/server/telecom/ |
| D | CallAudioManager.java | 51 private final CallAudioModeStateMachine mCallAudioModeStateMachine; 66 CallAudioModeStateMachine callAudioModeStateMachine, in CallAudioManager() 278 CallAudioModeStateMachine.FOREGROUND_VOIP_MODE_CHANGE, in onIsVoipAudioModeChanged() 369 CallAudioModeStateMachine.RINGER_MODE_CHANGE, makeArgsForModeStateMachine()); in onRingerModeChange() 477 public CallAudioModeStateMachine getCallAudioModeStateMachine() { in getCallAudioModeStateMachine() 520 isTonePlaying ? CallAudioModeStateMachine.TONE_STARTED_PLAYING in setIsTonePlaying() 521 : CallAudioModeStateMachine.TONE_STOPPED_PLAYING, in setIsTonePlaying() 583 CallAudioModeStateMachine.NO_MORE_ACTIVE_OR_DIALING_CALLS, in onCallLeavingActiveDialingOrConnecting() 591 CallAudioModeStateMachine.NO_MORE_RINGING_CALLS, in onCallLeavingRinging() 599 CallAudioModeStateMachine.NO_MORE_HOLDING_CALLS, in onCallLeavingHold() [all …]
|
| D | CallAudioModeStateMachine.java | 31 public class CallAudioModeStateMachine extends StateMachine { class 33 public CallAudioModeStateMachine create(SystemStateHelper systemStateHelper, in create() 35 return new CallAudioModeStateMachine(systemStateHelper, am); in create() 471 private static final String LOG_TAG = CallAudioModeStateMachine.class.getSimpleName(); 486 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine() method in CallAudioModeStateMachine 488 super(CallAudioModeStateMachine.class.getSimpleName()); in CallAudioModeStateMachine()
|
| D | TelecomSystem.java | 289 new CallAudioModeStateMachine.Factory(), in TelecomSystem()
|
| D | CallsManager.java | 435 CallAudioModeStateMachine.Factory callAudioModeStateMachineFactory, in CallsManager()
|