Searched refs:gainDB (Results 1 – 2 of 2) sorted by relevance
387 int gainDB = (int) AudioSystem.getStreamVolumeDB(streamType, index / 10, in setHearingAidVolume() local389 if (gainDB < BT_HEARING_AID_GAIN_MIN) { in setHearingAidVolume()390 gainDB = BT_HEARING_AID_GAIN_MIN; in setHearingAidVolume()394 + index + " gain=" + gainDB); in setHearingAidVolume()397 AudioServiceEvents.VolumeEvent.VOL_SET_HEARING_AID_VOL, index, gainDB)); in setHearingAidVolume()398 mHearingAid.setVolume(gainDB); in setHearingAidVolume()
3811 float gainDB = AudioSystem.getStreamVolumeDB( in getSafeUsbMediaVolumeIndex() local3813 if (Float.isNaN(gainDB)) { in getSafeUsbMediaVolumeIndex()3816 } else if (gainDB == mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()3819 } else if (gainDB < mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()