Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java94 CarAudioZone[] zones = cazh.loadAudioZones(); in loadAudioZones_parsesAllZones()
104 CarAudioZone[] zones = cazh.loadAudioZones(); in loadAudioZones_parsesZoneName()
106 CarAudioZone primaryZone = zones[0]; in loadAudioZones_parsesZoneName()
115 CarAudioZone[] zones = cazh.loadAudioZones(); in loadAudioZones_parsesIsPrimary()
117 CarAudioZone primaryZone = zones[0]; in loadAudioZones_parsesIsPrimary()
120 CarAudioZone rseZone = zones[1]; in loadAudioZones_parsesIsPrimary()
129 CarAudioZone[] zones = cazh.loadAudioZones(); in loadAudioZones_parsesVolumeGroups()
131 CarAudioZone primaryZone = zones[0]; in loadAudioZones_parsesVolumeGroups()
140 CarAudioZone[] zones = cazh.loadAudioZones(); in loadAudioZones_parsesBuses()
142 CarAudioZone primaryZone = zones[0]; in loadAudioZones_parsesBuses()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java96 CarAudioZone[] loadAudioZones() throws IOException, XmlPullParserException { in loadAudioZones()
97 List<CarAudioZone> carAudioZones = new ArrayList<>(); in loadAudioZones()
99 return carAudioZones.toArray(new CarAudioZone[0]); in loadAudioZones()
102 private void parseCarAudioZones(List<CarAudioZone> carAudioZones, InputStream stream) in parseCarAudioZones()
131 private void parseAudioZones(XmlPullParser parser, List<CarAudioZone> carAudioZones) in parseAudioZones()
142 carAudioZones.sort(Comparator.comparing(CarAudioZone::getId)); in parseAudioZones()
145 private CarAudioZone parseAudioZone(XmlPullParser parser) in parseAudioZone()
155 CarAudioZone zone = new CarAudioZone( in parseAudioZone()
172 private void parseDisplays(XmlPullParser parser, CarAudioZone zone) in parseDisplays()
202 private void parseVolumeGroups(XmlPullParser parser, CarAudioZone zone) in parseVolumeGroups()
DCarAudioZonesHelperLegacy.java77 CarAudioZone[] loadAudioZones() { in loadAudioZones()
78 final CarAudioZone zone = new CarAudioZone(CarAudioManager.PRIMARY_AUDIO_ZONE, in loadAudioZones()
88 return new CarAudioZone[] { zone }; in loadAudioZones()
DCarAudioDynamicRouting.java94 private final CarAudioZone[] mCarAudioZones;
96 CarAudioDynamicRouting(CarAudioZone[] carAudioZones) { in CarAudioDynamicRouting()
101 for (CarAudioZone zone : mCarAudioZones) { in setupAudioDynamicRouting()
DCarAudioService.java196 private CarAudioZone[] mCarAudioZones;
286 for (CarAudioZone zone : mCarAudioZones) { in dump()
463 for (CarAudioZone zone : mCarAudioZones) { in setupDynamicRouting()
770 return Arrays.stream(mCarAudioZones).mapToInt(CarAudioZone::getId).toArray(); in getAudioZoneIds()
948 CarAudioZone zone = mCarAudioZones[index]; in getZoneIdForDisplayPortId()
DCarAudioZone.java42 /* package */ class CarAudioZone { class
49 CarAudioZone(int id, String name) { in CarAudioZone() method in CarAudioZone
DCarZonesAudioFocus.java51 @NonNull CarAudioZone[] carAudioZones) { in CarZonesAudioFocus()
60 for (CarAudioZone audioZone : carAudioZones) { in CarZonesAudioFocus()