/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZonesValidator.java | 64 static void validate(SparseArray<CarAudioZone> carAudioZones, boolean useCoreAudioRouting) in validate() argument 66 validateAtLeastOneZoneDefined(carAudioZones); in validate() 67 validateZoneConfigsForEachZone(carAudioZones, useCoreAudioRouting); in validate() 69 validateEachAddressAppearsAtMostOnceInOneConfig(carAudioZones); in validate() 71 validatePrimaryZoneHasInputDevice(carAudioZones); in validate() 74 private static void validatePrimaryZoneHasInputDevice(SparseArray<CarAudioZone> carAudioZones) { in validatePrimaryZoneHasInputDevice() argument 75 CarAudioZone primaryZone = carAudioZones.get(PRIMARY_AUDIO_ZONE); in validatePrimaryZoneHasInputDevice() 87 private static void validateAtLeastOneZoneDefined(SparseArray<CarAudioZone> carAudioZones) { in validateAtLeastOneZoneDefined() argument 88 if (carAudioZones.size() == 0) { in validateAtLeastOneZoneDefined() 93 private static void validateZoneConfigsForEachZone(SparseArray<CarAudioZone> carAudioZones, in validateZoneConfigsForEachZone() argument [all …]
|
D | CarAudioPlaybackCallback.java | 40 CarAudioPlaybackCallback(@NonNull SparseArray<CarAudioZone> carAudioZones, in CarAudioPlaybackCallback() argument 43 Objects.requireNonNull(carAudioZones, "Car audio zone cannot be null"); in CarAudioPlaybackCallback() 44 Preconditions.checkArgument(carAudioZones.size() > 0, in CarAudioPlaybackCallback() 46 mCarAudioZonesToZonePlaybackCallback = createCallbackMapping(carAudioZones, in CarAudioPlaybackCallback() 50 private static SparseArray createCallbackMapping(SparseArray<CarAudioZone> carAudioZones, in createCallbackMapping() argument 55 for (int i = 0; i < carAudioZones.size(); i++) { in createCallbackMapping() 56 CarAudioZone zone = carAudioZones.get(i); in createCallbackMapping()
|
D | CarDucking.java | 51 CarDucking(SparseArray<CarAudioZone> carAudioZones, AudioControlWrapper audioControlWrapper) { in CarDucking() argument 52 mCarAudioZones = Objects.requireNonNull(carAudioZones, "Car audio zones can not be null"); in CarDucking() 56 for (int i = 0; i < carAudioZones.size(); i++) { in CarDucking() 57 int zoneId = carAudioZones.keyAt(i); in CarDucking()
|
D | CarAudioModuleChangeMonitor.java | 43 CarVolumeInfoWrapper carVolumeInfoWrapper, SparseArray<CarAudioZone> carAudioZones) { in CarAudioModuleChangeMonitor() argument 49 mCarAudioZones = Objects.requireNonNull(carAudioZones, "Car audio zones can not be null"); in CarAudioModuleChangeMonitor()
|
D | CarZonesAudioFocus.java | 74 PackageManager packageManager, SparseArray<CarAudioZone> carAudioZones, in createCarZonesAudioFocus() argument 79 Objects.requireNonNull(carAudioZones, "Car audio zones cannot be null"); in createCarZonesAudioFocus() 80 Preconditions.checkArgument(carAudioZones.size() != 0, in createCarZonesAudioFocus() 90 for (int i = 0; i < carAudioZones.size(); i++) { in createCarZonesAudioFocus() 91 CarAudioZone audioZone = carAudioZones.valueAt(i); in createCarZonesAudioFocus()
|
D | CarAudioDynamicRouting.java | 59 SparseArray<CarAudioZone> carAudioZones) { in setupAudioDynamicRouting() argument 60 for (int i = 0; i < carAudioZones.size(); i++) { in setupAudioDynamicRouting() 61 CarAudioZone zone = carAudioZones.valueAt(i); in setupAudioDynamicRouting()
|
D | CarVolumeGroupMuting.java | 55 CarVolumeGroupMuting(@NonNull SparseArray<CarAudioZone> carAudioZones, in CarVolumeGroupMuting() argument 57 mCarAudioZones = Objects.requireNonNull(carAudioZones, "Car Audio Zones can not be null"); in CarVolumeGroupMuting() 58 Preconditions.checkArgument(carAudioZones.size() != 0, in CarVolumeGroupMuting()
|
D | CarAudioZonesHelperLegacy.java | 167 SparseArray<CarAudioZone> carAudioZones = new SparseArray<>(); in loadAudioZones() local 169 carAudioZones.put(PRIMARY_AUDIO_ZONE, zone); in loadAudioZones() 171 return carAudioZones; in loadAudioZones()
|
D | CarAudioGainMonitor.java | 45 CarVolumeInfoWrapper carVolumeInfoWrapper, SparseArray<CarAudioZone> carAudioZones) { in CarAudioGainMonitor() argument 50 mCarAudioZones = Objects.requireNonNull(carAudioZones, "Car Audio Zones can not be null"); in CarAudioGainMonitor()
|
D | CarAudioZonesHelper.java | 386 SparseArray<CarAudioZone> carAudioZones = new SparseArray<>(); in parseAudioZones() local 392 carAudioZones.put(zone.getId(), zone); in parseAudioZones() 398 verifyPrimaryZonePresent(carAudioZones); in parseAudioZones() 399 addRemainingMicrophonesToPrimaryZone(carAudioZones); in parseAudioZones() 400 return carAudioZones; in parseAudioZones() 403 private void addRemainingMicrophonesToPrimaryZone(SparseArray<CarAudioZone> carAudioZones) { in addRemainingMicrophonesToPrimaryZone() argument 404 CarAudioZone primaryAudioZone = carAudioZones.get(PRIMARY_AUDIO_ZONE); in addRemainingMicrophonesToPrimaryZone()
|
D | CarAudioPlaybackMonitor.java | 60 @NonNull SparseArray<CarAudioZone> carAudioZones, in CarAudioPlaybackMonitor() argument 64 mCarAudioZones = Objects.requireNonNull(carAudioZones, in CarAudioPlaybackMonitor()
|