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.java534 boolean isVolumeOverZero = mAudioManager.getStreamVolume(AudioManager.STREAM_RING) > 0; in getRingerAttributes()
545 boolean isRingerAudible = isVolumeOverZero && shouldRingForContact && isRingtonePresent; in getRingerAttributes()
551 isVolumeOverZero, shouldRingForContact, isRingtonePresent); in getRingerAttributes()
DInCallTonePlayer.java146 boolean isVolumeOverZero(); in isVolumeOverZero() method
453 if (mToneId == TONE_CALL_ENDED && !mAudioManagerAdapter.isVolumeOverZero()) { in startTone()