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.java394 int gainDB = (int) AudioSystem.getStreamVolumeDB(streamType, index / 10, in setHearingAidVolume() local
396 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()
DAudioService.java3775 float gainDB = AudioSystem.getStreamVolumeDB( in getSafeUsbMediaVolumeIndex() local
3777 if (Float.isNaN(gainDB)) { in getSafeUsbMediaVolumeIndex()
3780 } else if (gainDB == mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()
3783 } else if (gainDB < mSafeUsbMediaVolumeDbfs) { in getSafeUsbMediaVolumeIndex()