Home
last modified time | relevance | path

Searched refs:shouldPlayCallWaitingTone (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ringtone/
DDialerRingtoneManagerTest.java124 assertFalse(mRingtoneManagerEnabled.shouldPlayCallWaitingTone(0)); in testShouldPlayCallWaitingTone_M()
131 assertFalse(mRingtoneManagerDisabled.shouldPlayCallWaitingTone(State.CALL_WAITING)); in testShouldPlayCallWaitingTone_N_Disabled()
138 assertFalse(mRingtoneManagerEnabled.shouldPlayCallWaitingTone(State.ACTIVE)); in testShouldPlayCallWaitingTone_N_NotCallWaiting()
146 assertFalse(mRingtoneManagerEnabled.shouldPlayCallWaitingTone(State.INCOMING)); in testShouldPlayCallWaitingTone_N_Incoming()
154 assertFalse(mRingtoneManagerEnabled.shouldPlayCallWaitingTone(State.CALL_WAITING)); in testShouldPlayCallWaitingTone_N_AlreadyPlaying()
161 assertTrue(mRingtoneManagerEnabled.shouldPlayCallWaitingTone(State.CALL_WAITING)); in testShouldPlayCallWaitingTone_N_ByState()
169 assertTrue(mRingtoneManagerEnabled.shouldPlayCallWaitingTone(State.INCOMING)); in testShouldPlayCallWaitingTone_N_ByActiveCall()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
DDialerRingtoneManager.java110 public boolean shouldPlayCallWaitingTone(int callState) { in shouldPlayCallWaitingTone() method in DialerRingtoneManager
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DStatusBarNotifier.java332 if (mDialerRingtoneManager.shouldPlayCallWaitingTone(callState)) { in buildAndSendNotification()