Searched refs:shouldPlayCallWaitingTone (Results 1 – 3 of 3) sorted by relevance
124 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()
110 public boolean shouldPlayCallWaitingTone(int callState) { in shouldPlayCallWaitingTone() method in DialerRingtoneManager
332 if (mDialerRingtoneManager.shouldPlayCallWaitingTone(callState)) { in buildAndSendNotification()