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.java765 static int hfToAmVol(int hfVol) { in hfToAmVol() argument
768 int amOffset = (amRange * (hfVol - MIN_HFP_SCO_VOICE_CALL_VOLUME)) / hfRange; in hfToAmVol()
770 logD("HF -> AM " + hfVol + " " + amVol); in hfToAmVol()
778 int hfVol = MIN_HFP_SCO_VOICE_CALL_VOLUME + hfOffset; in amToHfVol() local
779 logD("AM -> HF " + amVol + " " + hfVol); in amToHfVol()
780 return hfVol; in amToHfVol()
1162 int hfVol = amToHfVol(amVol); in processMessage() local
1168 HeadsetClientHalConstants.VOLUME_TYPE_SPK, hfVol)) { in processMessage()
1489 final int hfVol = amToHfVol(amVol); in processAudioEvent() local
1499 logD("hf_volume " + hfVol); in processAudioEvent()
[all …]
DHeadsetClientService.java170 int hfVol = HeadsetClientStateMachine.amToHfVol(streamValue);
174 + hfVol);
176 mAudioManager.setParameters("hfp_volume=" + hfVol);