Home
last modified time | relevance | path

Searched refs:CarVolumeGroup (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java46 private final List<CarVolumeGroup> mVolumeGroups;
68 void addVolumeGroup(CarVolumeGroup volumeGroup) { in addVolumeGroup()
72 CarVolumeGroup getVolumeGroup(int groupId) { in getVolumeGroup()
83 for (CarVolumeGroup group : mVolumeGroups) { in getAudioDeviceInfos()
115 CarVolumeGroup[] getVolumeGroups() { in getVolumeGroups()
116 return mVolumeGroups.toArray(new CarVolumeGroup[0]); in getVolumeGroups()
134 for (CarVolumeGroup group : mVolumeGroups) { in validateVolumeGroups()
168 for (CarVolumeGroup group : mVolumeGroups) { in synchronizeCurrentGainIndex()
181 for (CarVolumeGroup group : mVolumeGroups) { in dump()
DCarAudioZonesHelperLegacy.java80 for (CarVolumeGroup group : loadVolumeGroups()) { in loadAudioZones()
94 private List<CarVolumeGroup> loadVolumeGroups() { in loadVolumeGroups()
95 List<CarVolumeGroup> carVolumeGroups = new ArrayList<>(); in loadVolumeGroups()
126 private CarVolumeGroup parseVolumeGroup(int id, AttributeSet attrs, XmlResourceParser parser) in parseVolumeGroup()
144 return new CarVolumeGroup(mContext, CarAudioManager.PRIMARY_AUDIO_ZONE, id, in parseVolumeGroup()
DCarAudioService.java324 CarVolumeGroup group = getCarVolumeGroup(zoneId, groupId); in setGroupVolume()
382 CarVolumeGroup group = getCarVolumeGroup(zoneId, groupId); in getGroupMaxVolume()
401 CarVolumeGroup group = getCarVolumeGroup(zoneId, groupId); in getGroupMinVolume()
420 CarVolumeGroup group = getCarVolumeGroup(zoneId, groupId); in getGroupVolume()
425 private CarVolumeGroup getCarVolumeGroup(int zoneId, int groupId) { in getCarVolumeGroup()
725 CarVolumeGroup[] groups = mCarAudioZones[zoneId].getVolumeGroups(); in getVolumeGroupIdForUsage()
748 CarVolumeGroup group = getCarVolumeGroup(zoneId, groupId); in getUsagesForVolumeGroupId()
993 final CarVolumeGroup group = Preconditions.checkNotNull( in getAudioPort()
DCarAudioZonesHelper.java216 private CarVolumeGroup parseVolumeGroup(XmlPullParser parser, int zoneId, int groupId) in parseVolumeGroup()
218 final CarVolumeGroup group = new CarVolumeGroup(mContext, zoneId, groupId); in parseVolumeGroup()
233 XmlPullParser parser, CarVolumeGroup group, int busNumber) in parseVolumeGroupContexts()
DCarVolumeGroup.java43 /* package */ final class CarVolumeGroup { class
64 CarVolumeGroup(Context context, int zoneId, int id) { in CarVolumeGroup() method in CarVolumeGroup
81 CarVolumeGroup(Context context, int zoneId, int id, @NonNull int[] contexts) { in CarVolumeGroup() method in CarVolumeGroup
DCarAudioDynamicRouting.java102 for (CarVolumeGroup group : zone.getVolumeGroups()) { in setupAudioDynamicRouting()
113 private void setupAudioDynamicRoutingForGroup(CarVolumeGroup group, in setupAudioDynamicRoutingForGroup()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java143 CarVolumeGroup volumeGroup = primaryZone.getVolumeGroups()[0]; in loadAudioZones_parsesBuses()
158 CarVolumeGroup volumeGroup = primaryZone.getVolumeGroups()[0]; in loadAudioZones_parsesContexts()
166 CarVolumeGroup rseVolumeGroup = rearSeatEntertainmentZone.getVolumeGroups()[0]; in loadAudioZones_parsesContexts()