Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeStateMachineTest.java96 when(mCallAudioManager.startRinging()).thenReturn(false); in testNoFocusWhenRingerSilenced()
128 when(mCallAudioManager.startRinging()).thenReturn(false); in testSwitchToStreamingMode()
158 when(mCallAudioManager.startRinging()).thenReturn(false); in testExitStreamingMode()
208 verify(mCallAudioManager, never()).startRinging(); in testNoRingWhenDeviceIsAtEar()
222 when(mCallAudioManager.startRinging()).thenReturn(false); in testRegainFocusWhenHfpIsConnectedSilenced()
243 when(mCallAudioManager.startRinging()).thenReturn(true); in testRegainFocusWhenHfpIsConnectedSilenced()
248 verify(mCallAudioManager, times(2)).startRinging(); in testRegainFocusWhenHfpIsConnectedSilenced()
266 when(mCallAudioManager.startRinging()).thenReturn(true); in testDoNotRingTwiceWhenHfpConnected()
291 verify(mCallAudioManager, times(1)).startRinging(); in testDoNotRingTwiceWhenHfpConnected()
304 when(mCallAudioManager.startRinging()).thenReturn(true); in testStartRingingAfterHfpConnectedIfNotAlreadyPlaying()
[all …]
DCallAudioModeTransitionTests.java143 when(mCallAudioManager.startRinging()).thenReturn(true); in modeTransitionTest()
187 verify(mCallAudioManager, never()).startRinging(); in modeTransitionTest()
191 verify(mCallAudioManager).startRinging(); in modeTransitionTest()
DRingerTest.java620 assertTrue(mRingerUnderTest.startRinging(mockCall1, true)); in testDelayRingerForBtHfpDevices()
645 assertTrue(mRingerUnderTest.startRinging(mockCall1, true)); in testUnblockRingerForStopCommand()
766 assertTrue(mRingerUnderTest.startRinging(mockCall2, false)); in testStopFlashNotificationWhenRingStops()
797 boolean result = mRingerUnderTest.startRinging(mockCall2, isHfpDeviceAttached); in startRingingAndWaitForAsync()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java542 public boolean startRinging() { in startRinging() method in CallAudioManager
545 boolean result = mRinger.startRinging(localForegroundCall, in startRinging()
DRinger.java273 public boolean startRinging(Call foregroundCall, boolean isHfpDeviceAttached) { in startRinging() method in Ringer
DCallAudioModeStateMachine.java466 if (mCallAudioManager.startRinging()) { in tryStartRinging()