Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java859 static int hfToAmVol(int hfVol) { in hfToAmVol() argument
862 int amOffset = (amRange * (hfVol - MIN_HFP_SCO_VOICE_CALL_VOLUME)) / hfRange; in hfToAmVol()
864 logD("HF -> AM " + hfVol + " " + amVol); in hfToAmVol()
872 int hfVol = MIN_HFP_SCO_VOICE_CALL_VOLUME + hfOffset; in amToHfVol() local
873 logD("AM -> HF " + amVol + " " + hfVol); in amToHfVol()
874 return hfVol; in amToHfVol()
1278 int hfVol = amToHfVol(amVol); in processMessage() local
1284 HeadsetClientHalConstants.VOLUME_TYPE_SPK, hfVol)) { in processMessage()
1613 final int hfVol = amToHfVol(amVol); in processAudioEvent() local
1623 logD("hf_volume " + hfVol); in processAudioEvent()
[all …]
DHeadsetClientService.java180 int hfVol = HeadsetClientStateMachine.amToHfVol(streamValue);
184 + hfVol);
186 mAudioManager.setParameters("hfp_volume=" + hfVol);