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/
DRingerTest.java164 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testNoActionInTheaterMode()
182 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testNoActionWithExternalRinger()
197 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testNoActionWhenDialerRings()
214 assertTrue(mRingerUnderTest.startRinging(mockCall2, false)); in testAudioFocusStillAcquiredWhenDialerRings()
231 assertTrue(mRingerUnderTest.startRinging(mockCall2, true)); in testNoActionWhenCallIsSelfManaged()
250 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testCallWaitingButNoRingForSpecificContacts()
266 assertTrue(mRingerUnderTest.startRinging(mockCall2, false)); in testNoVibrateDueToAudioCoupledHaptics()
283 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testVibrateButNoRingForNullRingtone()
302 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testVibrateButNoRingForSilentRingtone()
319 mRingerUnderTest.startRinging(mockCall1, false); in testStopRingingBeforeHapticsLookupComplete()
[all …]
DCallAudioModeStateMachineTest.java81 when(mCallAudioManager.startRinging()).thenReturn(false); in testNoFocusWhenRingerSilenced()
135 verify(mCallAudioManager, never()).startRinging(); in testNoRingWhenDeviceIsAtEar()
149 when(mCallAudioManager.startRinging()).thenReturn(false); in testRegainFocusWhenHfpIsConnectedSilenced()
170 when(mCallAudioManager.startRinging()).thenReturn(true); in testRegainFocusWhenHfpIsConnectedSilenced()
175 verify(mCallAudioManager, times(2)).startRinging(); in testRegainFocusWhenHfpIsConnectedSilenced()
DCallAudioModeTransitionTests.java139 when(mCallAudioManager.startRinging()).thenReturn(true); in modeTransitionTest()
182 verify(mCallAudioManager, never()).startRinging(); in modeTransitionTest()
186 verify(mCallAudioManager).startRinging(); in modeTransitionTest()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java453 public boolean startRinging() { in startRinging() method in CallAudioManager
455 return mRinger.startRinging(mForegroundCall, in startRinging()
DRinger.java215 public boolean startRinging(Call foregroundCall, boolean isHfpDeviceAttached) { in startRinging() method in Ringer
DCallAudioModeStateMachine.java357 if (mCallAudioManager.startRinging()) { in tryStartRinging()