Home
last modified time | relevance | path

Searched refs:VOLUME_CONTROL_UNKNOWN_VOLUME (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlService.java30 import static android.bluetooth.IBluetoothVolumeControl.VOLUME_CONTROL_UNKNOWN_VOLUME;
664 return VOLUME_CONTROL_UNKNOWN_VOLUME; in getGroupVolume()
667 return mGroupVolumeCache.getOrDefault(groupId, VOLUME_CONTROL_UNKNOWN_VOLUME); in getGroupVolume()
685 getGroupId(device), VOLUME_CONTROL_UNKNOWN_VOLUME); in getDeviceVolume()
688 return mDeviceVolumeCache.getOrDefault(device, VOLUME_CONTROL_UNKNOWN_VOLUME); in getDeviceVolume()
708 if (groupVolume != VOLUME_CONTROL_UNKNOWN_VOLUME) { in setGroupActive()
868 if (volume != VOLUME_CONTROL_UNKNOWN_VOLUME) { in handleGroupNodeAdded()
881 if (groupVolume != VOLUME_CONTROL_UNKNOWN_VOLUME) { in handleGroupNodeAdded()
1012 if (deviceVolume != VOLUME_CONTROL_UNKNOWN_VOLUME) { in handleVolumeControlChanged()
1034 if (groupVolume != VOLUME_CONTROL_UNKNOWN_VOLUME) { in handleVolumeControlChanged()
[all …]
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothVolumeControl.aidl32 const int VOLUME_CONTROL_UNKNOWN_VOLUME = -1; field
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java32 import static android.bluetooth.IBluetoothVolumeControl.VOLUME_CONTROL_UNKNOWN_VOLUME;
503 assertThat(mService.getGroupVolume(groupId)).isEqualTo(VOLUME_CONTROL_UNKNOWN_VOLUME); in volumeCache()
504 assertThat(mService.getDeviceVolume(mDevice)).isEqualTo(VOLUME_CONTROL_UNKNOWN_VOLUME); in volumeCache()
505 assertThat(mService.getDeviceVolume(mDeviceTwo)).isEqualTo(VOLUME_CONTROL_UNKNOWN_VOLUME); in volumeCache()
547 assertThat(mService.getGroupVolume(groupId_1)).isEqualTo(VOLUME_CONTROL_UNKNOWN_VOLUME); in activeGroupChange()
548 assertThat(mService.getGroupVolume(groupId_2)).isEqualTo(VOLUME_CONTROL_UNKNOWN_VOLUME); in activeGroupChange()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java864 return IBluetoothVolumeControl.VOLUME_CONTROL_UNKNOWN_VOLUME; in getAudioDeviceGroupVolume()
2428 int volume = IBluetoothVolumeControl.VOLUME_CONTROL_UNKNOWN_VOLUME; in updateActiveDevices()