Searched refs:hfVol (Results 1 – 2 of 2) sorted by relevance
1016 static int hfToAmVol(int hfVol) { in hfToAmVol() argument1024 (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() local1040 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 …]
215 int hfVol = HeadsetClientStateMachine.amToHfVol(streamValue);221 + hfVol);222 mAudioManager.setHfpVolume(hfVol);