Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java81 SparseArray<List<CarAudioGainConfigInfo>> gainsByZones = new SparseArray<>(); in handleAudioDeviceGainsChanged() local
85 if (!gainsByZones.contains(zone)) { in handleAudioDeviceGainsChanged()
86 gainsByZones.put(zone, new ArrayList<>(1)); in handleAudioDeviceGainsChanged()
88 gainsByZones.get(zone).add(gain); in handleAudioDeviceGainsChanged()
90 for (int i = 0; i < gainsByZones.size(); i++) { in handleAudioDeviceGainsChanged()
91 int zoneId = gainsByZones.keyAt(i); in handleAudioDeviceGainsChanged()
103 events.addAll(carAudioZone.onAudioGainChanged(reasons, gainsByZones.valueAt(i))); in handleAudioDeviceGainsChanged()