Home
last modified time | relevance | path

Searched refs:deviceVolume (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpVolumeManager.java99 static int systemToAvrcpVolume(int deviceVolume) { in systemToAvrcpVolume() argument
101 (int) Math.round((double) deviceVolume * AVRCP_MAX_VOL / sDeviceMaxVolume); in systemToAvrcpVolume()
278 int deviceVolume = avrcpToSystemVolume(avrcpVolume); in setVolume() local
287 + deviceVolume in setVolume()
292 deviceVolume, in setVolume()
293 (deviceVolume != getVolume(device, -1) ? AudioManager.FLAG_SHOW_UI : 0) in setVolume()
305 void sendVolumeChanged(@NonNull BluetoothDevice device, int deviceVolume) { in sendVolumeChanged() argument
306 if (deviceVolume == getVolume(device, -1)) { in sendVolumeChanged()
310 int avrcpVolume = systemToAvrcpVolume(deviceVolume); in sendVolumeChanged()
319 + deviceVolume in sendVolumeChanged()
DAvrcpTargetService.java384 public void sendVolumeChanged(int deviceVolume) { in sendVolumeChanged() argument
391 mVolumeManager.sendVolumeChanged(activeDevice, deviceVolume); in sendVolumeChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlService.java989 double deviceVolume = (double) (bleVolume * deviceMaxVolume) / LE_AUDIO_MAX_VOL; in getAudioDeviceVolume() local
990 return (int) Math.round(deviceVolume); in getAudioDeviceVolume()