Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java122 @VisibleForTesting static final int MIN_HFP_SCO_VOICE_CALL_VOLUME = 1; // HFP 1.5 spec. field in HeadsetClientStateMachine
1018 int hfRange = MAX_HFP_SCO_VOICE_CALL_VOLUME - MIN_HFP_SCO_VOICE_CALL_VOLUME; in hfToAmVol()
1024 (hfVol - MIN_HFP_SCO_VOICE_CALL_VOLUME) in hfToAmVol()
1028 int amOffset = (amRange * (hfVol - MIN_HFP_SCO_VOICE_CALL_VOLUME)) / hfRange; in hfToAmVol()
1037 int hfRange = MAX_HFP_SCO_VOICE_CALL_VOLUME - MIN_HFP_SCO_VOICE_CALL_VOLUME; in amToHfVol()
1042 + MIN_HFP_SCO_VOICE_CALL_VOLUME; in amToHfVol()
1045 hfVol = MIN_HFP_SCO_VOICE_CALL_VOLUME + hfOffset; in amToHfVol()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java26 …ort static com.android.bluetooth.hfpclient.HeadsetClientStateMachine.MIN_HFP_SCO_VOICE_CALL_VOLUME;
243 for (int i = MIN_HFP_SCO_VOICE_CALL_VOLUME; i <= MAX_HFP_SCO_VOICE_CALL_VOLUME; i++) {