Searched refs:startRinging (Results 1 – 6 of 6) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioModeStateMachineTest.java | 96 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 …]
|
D | CallAudioModeTransitionTests.java | 143 when(mCallAudioManager.startRinging()).thenReturn(true); in modeTransitionTest() 187 verify(mCallAudioManager, never()).startRinging(); in modeTransitionTest() 191 verify(mCallAudioManager).startRinging(); in modeTransitionTest()
|
D | RingerTest.java | 620 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/ |
D | CallAudioManager.java | 542 public boolean startRinging() { in startRinging() method in CallAudioManager 545 boolean result = mRinger.startRinging(localForegroundCall, in startRinging()
|
D | Ringer.java | 273 public boolean startRinging(Call foregroundCall, boolean isHfpDeviceAttached) { in startRinging() method in Ringer
|
D | CallAudioModeStateMachine.java | 466 if (mCallAudioManager.startRinging()) { in tryStartRinging()
|