Searched refs:gainDB (Results 1 – 2 of 2) sorted by relevance
394 int gainDB = (int) AudioSystem.getStreamVolumeDB(streamType, index / 10, in setHearingAidVolume() local396 if (gainDB < BT_HEARING_AID_GAIN_MIN) { in setHearingAidVolume()397 gainDB = BT_HEARING_AID_GAIN_MIN; in setHearingAidVolume()401 + index + " gain=" + gainDB); in setHearingAidVolume()404 AudioServiceEvents.VolumeEvent.VOL_SET_HEARING_AID_VOL, index, gainDB)); in setHearingAidVolume()405 mHearingAid.setVolume(gainDB); in setHearingAidVolume()
3775 float gainDB = AudioSystem.getStreamVolumeDB( in getSafeUsbMediaVolumeIndex() local3777 if (Float.isNaN(gainDB)) { in getSafeUsbMediaVolumeIndex()3780 } else if (gainDB == mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()3783 } else if (gainDB < mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()