Searched refs:groupVolume (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 657 int groupVolume = mServiceBinder.getGroupVolume(groupId, mAttributionSource); in testVolumeCache() local 658 Assert.assertEquals(volume, groupVolume); in testVolumeCache() 802 int groupVolume = 56; in testLateConnectingDevice() local 821 mService.setGroupVolume(groupId, groupVolume); in testLateConnectingDevice() 822 verify(mNativeInterface, times(1)).setGroupVolume(eq(groupId), eq(groupVolume)); in testLateConnectingDevice() 823 verify(mNativeInterface, times(0)).setVolume(eq(mDeviceTwo), eq(groupVolume)); in testLateConnectingDevice() 831 verify(mNativeInterface, times(1)).setVolume(eq(mDeviceTwo), eq(groupVolume)); in testLateConnectingDevice() 841 int groupVolume = 56; in testLateDiscoveredGroupMember() local 861 mService.setGroupVolume(groupId, groupVolume); in testLateDiscoveredGroupMember() 869 verify(mNativeInterface, times(0)).setVolume(eq(mDeviceTwo), eq(groupVolume)); in testLateDiscoveredGroupMember() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/ |
D | VolumeControlService.java | 687 int groupVolume = getGroupVolume(groupId); in setGroupActive() local 690 if (groupVolume != IBluetoothVolumeControl.VOLUME_CONTROL_UNKNOWN_VOLUME) { in setGroupActive() 692 updateGroupCacheAndAudioSystem(groupId, groupVolume, groupMute, /* showInUI*/ false); in setGroupActive() 803 Integer groupVolume = in handleGroupNodeAdded() local 806 if (groupVolume != IBluetoothVolumeControl.VOLUME_CONTROL_UNKNOWN_VOLUME) { in handleGroupNodeAdded() 807 Log.i(TAG, "Setting value:" + groupVolume + " to " + device); in handleGroupNodeAdded() 808 mVolumeControlNativeInterface.setVolume(device, groupVolume); in handleGroupNodeAdded() 889 int groupVolume = getGroupVolume(groupId); in handleVolumeControlChanged() local 911 if (groupVolume == IBluetoothVolumeControl.VOLUME_CONTROL_UNKNOWN_VOLUME) { in handleVolumeControlChanged() 928 if ((groupVolume == volume) && (groupMute == mute)) { in handleVolumeControlChanged() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeInfoWrapperTest.java | 153 int groupVolume = mCarVolumeInfoWrapper.getGroupVolume(PRIMARY_AUDIO_ZONE, TEST_GROUP_ID); in getGroupVolume_returnsVolumeGroup() local 156 .that(groupVolume).isEqualTo(TEST_GROUP_VOLUME); in getGroupVolume_returnsVolumeGroup()
|
D | CarAudioPolicyVolumeCallbackTest.java | 471 private void setGroupVolume(int groupVolume) { in setGroupVolume() argument 473 .thenReturn(groupVolume); in setGroupVolume()
|