Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java78 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testNoActionInTheaterMode()
90 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testNoActionWhenDialerRings()
103 assertTrue(mRingerUnderTest.startRinging(mockCall2, false)); in testAudioFocusStillAcquiredWhenDialerRings()
116 assertTrue(mRingerUnderTest.startRinging(mockCall2, true)); in testNoActionWhenCallIsSelfManaged()
132 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testCallWaitingButNoRingForSpecificContacts()
145 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testVibrateButNoRingForNullRingtone()
160 assertFalse(mRingerUnderTest.startRinging(mockCall2, false)); in testVibrateButNoRingForSilentRingtone()
172 assertTrue(mRingerUnderTest.startRinging(mockCall2, false)); in testRingAndNoVibrate()
187 assertTrue(mRingerUnderTest.startRinging(mockCall2, true)); in testSilentRingWithHfpStillAcquiresFocus1()
201 assertTrue(mRingerUnderTest.startRinging(mockCall2, true)); in testSilentRingWithHfpStillAcquiresFocus2()
DCallAudioModeStateMachineTest.java113 when(mCallAudioManager.startRinging()).thenReturn(false); in testNoFocusWhenRingerSilenced()
552 when(mCallAudioManager.startRinging()).thenReturn(true); in runParametrizedTestCase()
584 verify(mCallAudioManager, never()).startRinging(); in runParametrizedTestCase()
588 verify(mCallAudioManager).startRinging(); in runParametrizedTestCase()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java426 public boolean startRinging() { in startRinging() method in CallAudioManager
427 return mRinger.startRinging(mForegroundCall, in startRinging()
DRinger.java100 public boolean startRinging(Call foregroundCall, boolean isHfpDeviceAttached) { in startRinging() method in Ringer
DCallAudioModeStateMachine.java208 if (mCallAudioManager.startRinging()) { in enter()