Searched refs:hfVol (Results 1 – 2 of 2) sorted by relevance
859 static int hfToAmVol(int hfVol) { in hfToAmVol() argument862 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() local873 logD("AM -> HF " + amVol + " " + hfVol); in amToHfVol()874 return hfVol; in amToHfVol()1278 int hfVol = amToHfVol(amVol); in processMessage() local1284 HeadsetClientHalConstants.VOLUME_TYPE_SPK, hfVol)) { in processMessage()1613 final int hfVol = amToHfVol(amVol); in processAudioEvent() local1623 logD("hf_volume " + hfVol); in processAudioEvent()[all …]
180 int hfVol = HeadsetClientStateMachine.amToHfVol(streamValue);184 + hfVol);186 mAudioManager.setParameters("hfp_volume=" + hfVol);