Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1016 static int hfToAmVol(int hfVol) { in hfToAmVol() argument
1024 (hfVol - MIN_HFP_SCO_VOICE_CALL_VOLUME) in hfToAmVol()
1028 int amOffset = (amRange * (hfVol - MIN_HFP_SCO_VOICE_CALL_VOLUME)) / hfRange; in hfToAmVol()
1031 Log.d(TAG, "HF -> AM " + hfVol + " " + amVol); in hfToAmVol()
1038 int hfVol = 0; in amToHfVol() local
1040 hfVol = in amToHfVol()
1045 hfVol = MIN_HFP_SCO_VOICE_CALL_VOLUME + hfOffset; in amToHfVol()
1047 Log.d(TAG, "AM -> HF " + amVol + " " + hfVol); in amToHfVol()
1048 return hfVol; in amToHfVol()
1534 int hfVol = amToHfVol(amVol); in processMessage() local
[all …]
DHeadsetClientService.java215 int hfVol = HeadsetClientStateMachine.amToHfVol(streamValue);
221 + hfVol);
222 mAudioManager.setHfpVolume(hfVol);