Searched refs:gainDB (Results 1 – 1 of 1) sorted by relevance
4046 float gainDB = AudioSystem.getStreamVolumeDB( in getSafeUsbMediaVolumeIndex() local4048 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() local5895 if (gainDB < BT_HEARING_AID_GAIN_MIN) in setHearingAidVolume()5896 gainDB = BT_HEARING_AID_GAIN_MIN; in setHearingAidVolume()5897 mHearingAid.setVolume(gainDB); in setHearingAidVolume()