Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java76 void addVolumeGroup(CarVolumeGroup volumeGroup) { in addVolumeGroup() argument
77 mVolumeGroups.add(volumeGroup); in addVolumeGroup()
78 mDeviceAddresses.addAll(volumeGroup.getAddresses()); in addVolumeGroup()
184 for (CarVolumeGroup volumeGroup : getVolumeGroups()) { in getAddressForContext()
185 deviceAddress = volumeGroup.getAddressForContext(audioContext); in getAddressForContext()
DCarAudioZonesHelperLegacy.java134 for (CarVolumeGroup volumeGroup : loadVolumeGroups()) { in loadAudioZones()
135 zone.addVolumeGroup(volumeGroup); in loadAudioZones()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java237 CarVolumeGroup volumeGroup = primaryZone.getVolumeGroups()[0]; in loadAudioZones_parsesAddresses() local
238 List<String> addresses = volumeGroup.getAddresses(); in loadAudioZones_parsesAddresses()
250 CarVolumeGroup volumeGroup = primaryZone.getVolumeGroups()[0]; in loadAudioZones_parsesContexts() local
251 assertThat(volumeGroup.getContextsForAddress(BUS_0_ADDRESS)) in loadAudioZones_parsesContexts()
273 CarVolumeGroup volumeGroup = defaultZone.getVolumeGroups()[0]; in loadAudioZones_forVersionOne_bindsNonLegacyContextsToDefault() local
274 List<Integer> audioContexts = Arrays.stream(volumeGroup.getContexts()).boxed() in loadAudioZones_forVersionOne_bindsNonLegacyContextsToDefault()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupMutingTest.java489 private CarAudioZone createAudioZone(CarVolumeGroup volumeGroup, String name, int zoneId) { in createAudioZone() argument
491 .addVolumeGroup(volumeGroup) in createAudioZone()