Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java387 int gainDB = (int) AudioSystem.getStreamVolumeDB(streamType, index / 10, in setHearingAidVolume() local
389 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()
DAudioService.java3811 float gainDB = AudioSystem.getStreamVolumeDB( in getSafeUsbMediaVolumeIndex() local
3813 if (Float.isNaN(gainDB)) { in getSafeUsbMediaVolumeIndex()
3816 } else if (gainDB == mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()
3819 } else if (gainDB < mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()