Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallTonePlayerTest.java129 when(mAudioManagerAdapter.isVolumeOverZero()).thenReturn(false); in testNoEndCallToneInSilence()
141 when(mAudioManagerAdapter.isVolumeOverZero()).thenReturn(true); in testEndCallToneWhenNotSilenced()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java223 boolean isVolumeOverZero = audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0; in startRinging()
229 boolean isRingerAudible = isVolumeOverZero && shouldRingForContact && isRingtonePresent; in startRinging()
322 isVolumeOverZero, shouldRingForContact, isRingtonePresent); in startRinging()
DInCallTonePlayer.java146 boolean isVolumeOverZero(); in isVolumeOverZero() method
453 if (mToneId == TONE_CALL_ENDED && !mAudioManagerAdapter.isVolumeOverZero()) { in startTone()