Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4046 float gainDB = AudioSystem.getStreamVolumeDB( in getSafeUsbMediaVolumeIndex() local
4048 if (Float.isNaN(gainDB)) { in getSafeUsbMediaVolumeIndex()
4051 } else if (gainDB == mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()
4054 } else if (gainDB < mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()
5893 int gainDB = (int)AudioSystem.getStreamVolumeDB(streamType, index/10, in setHearingAidVolume() local
5895 if (gainDB < BT_HEARING_AID_GAIN_MIN) in setHearingAidVolume()
5896 gainDB = BT_HEARING_AID_GAIN_MIN; in setHearingAidVolume()
5897 mHearingAid.setVolume(gainDB); in setHearingAidVolume()