Searched refs:carAudioZones (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZonesValidator.java | 28 static void validate(SparseArray<CarAudioZone> carAudioZones) { in validate() argument 29 validateAtLeastOneZoneDefined(carAudioZones); in validate() 30 validateVolumeGroupsForEachZone(carAudioZones); in validate() 31 validateEachAddressAppearsAtMostOnce(carAudioZones); in validate() 34 private static void validateAtLeastOneZoneDefined(SparseArray<CarAudioZone> carAudioZones) { in validateAtLeastOneZoneDefined() argument 35 if (carAudioZones.size() == 0) { in validateAtLeastOneZoneDefined() 40 private static void validateVolumeGroupsForEachZone(SparseArray<CarAudioZone> carAudioZones) { in validateVolumeGroupsForEachZone() argument 41 for (int i = 0; i < carAudioZones.size(); i++) { in validateVolumeGroupsForEachZone() 42 CarAudioZone zone = carAudioZones.valueAt(i); in validateVolumeGroupsForEachZone() 51 SparseArray<CarAudioZone> carAudioZones) { in validateEachAddressAppearsAtMostOnce() argument [all …]
|
D | CarDucking.java | 46 CarDucking(@NonNull SparseArray<CarAudioZone> carAudioZones, in CarDucking() argument 48 mCarAudioZones = Objects.requireNonNull(carAudioZones); in CarDucking() 50 for (int i = 0; i < carAudioZones.size(); i++) { in CarDucking() 51 int zoneId = carAudioZones.keyAt(i); in CarDucking()
|
D | CarZonesAudioFocus.java | 60 @NonNull SparseArray<CarAudioZone> carAudioZones, in createCarZonesAudioFocus() argument 66 Objects.requireNonNull(carAudioZones, "CarAudioZones cannot be null"); in createCarZonesAudioFocus() 67 Preconditions.checkArgument(carAudioZones.size() != 0, in createCarZonesAudioFocus() 74 for (int i = 0; i < carAudioZones.size(); i++) { in createCarZonesAudioFocus() 75 CarAudioZone audioZone = carAudioZones.valueAt(i); in createCarZonesAudioFocus()
|
D | CarAudioDynamicRouting.java | 51 SparseArray<CarAudioZone> carAudioZones) { in setupAudioDynamicRouting() argument 52 for (int i = 0; i < carAudioZones.size(); i++) { in setupAudioDynamicRouting() 53 CarAudioZone zone = carAudioZones.valueAt(i); in setupAudioDynamicRouting()
|
D | CarVolumeGroupMuting.java | 52 CarVolumeGroupMuting(@NonNull SparseArray<CarAudioZone> carAudioZones, in CarVolumeGroupMuting() argument 54 mCarAudioZones = Objects.requireNonNull(carAudioZones, "Car Audio Zones can not be null"); in CarVolumeGroupMuting() 55 Preconditions.checkArgument(carAudioZones.size() != 0, in CarVolumeGroupMuting()
|
D | CarAudioZonesHelper.java | 227 SparseArray<CarAudioZone> carAudioZones = new SparseArray<>(); in parseAudioZones() local 233 verifyOnlyOnePrimaryZone(zone, carAudioZones); in parseAudioZones() 234 carAudioZones.put(zone.getId(), zone); in parseAudioZones() 240 verifyPrimaryZonePresent(carAudioZones); in parseAudioZones() 241 return carAudioZones; in parseAudioZones()
|
D | CarAudioZonesHelperLegacy.java | 137 SparseArray<CarAudioZone> carAudioZones = new SparseArray<>(); in loadAudioZones() local 138 carAudioZones.put(PRIMARY_AUDIO_ZONE, zone); in loadAudioZones() 139 return carAudioZones; in loadAudioZones()
|