Home
last modified time | relevance | path

Searched refs:isPlayingTone (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ringtone/
DInCallTonePlayerTest.java66 assertFalse(mInCallTonePlayer.isPlayingTone()); in testIsPlayingTone_False()
73 assertTrue(mInCallTonePlayer.isPlayingTone()); in testIsPlayingTone_True()
146 assertFalse(mInCallTonePlayer.isPlayingTone()); in testStop()
DDialerRingtoneManagerTest.java153 Mockito.when(mInCallTonePlayer.isPlayingTone()).thenReturn(true); in testShouldPlayCallWaitingTone_N_AlreadyPlaying()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
DInCallTonePlayer.java63 public boolean isPlayingTone() { in isPlayingTone() method in InCallTonePlayer
75 if (isPlayingTone()) { in play()
DDialerRingtoneManager.java113 && !mInCallTonePlayer.isPlayingTone(); in shouldPlayCallWaitingTone()