Home
last modified time | relevance | path

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

/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ringtone/
DDialerRingtoneManagerTest.java73 assertFalse(mRingtoneManagerEnabled.shouldPlayRingtone(0, RINGTONE_URI)); in testShouldPlayRingtone_M()
80 assertFalse(mRingtoneManagerEnabled.shouldPlayRingtone(State.INCOMING, null)); in testShouldPlayRingtone_N_NullUri()
87 assertFalse(mRingtoneManagerDisabled.shouldPlayRingtone(State.INCOMING, RINGTONE_URI)); in testShouldPlayRingtone_N_Disabled()
94 assertFalse(mRingtoneManagerEnabled.shouldPlayRingtone(State.ACTIVE, RINGTONE_URI)); in testShouldPlayRingtone_N_NotIncoming()
102 assertFalse(mRingtoneManagerEnabled.shouldPlayRingtone(State.CALL_WAITING, RINGTONE_URI)); in testShouldPlayRingtone_N_CallWaitingByState()
110 assertFalse(mRingtoneManagerEnabled.shouldPlayRingtone(State.INCOMING, RINGTONE_URI)); in testShouldPlayRingtone_N_CallWaitingByActiveCall()
117 assertTrue(mRingtoneManagerEnabled.shouldPlayRingtone(State.INCOMING, RINGTONE_URI)); in testShouldPlayRingtone_N()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
DDialerRingtoneManager.java68 public boolean shouldPlayRingtone(int callState, @Nullable Uri ringtoneUri) { in shouldPlayRingtone() method in DialerRingtoneManager
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DStatusBarNotifier.java321 if (mDialerRingtoneManager.shouldPlayRingtone(callState, contactInfo.contactRingtoneUri)) { in buildAndSendNotification()