Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DTestCarAudioZoneBuilder.java57 CarAudioZone carAudioZone = new CarAudioZone(mCarAudioContext, mAudioZoneName, in build() local
60 carAudioZone.addZoneConfig(mCarAudioZoneConfigs.get(i)); in build()
62 return carAudioZone; in build()
DCarAudioGainMonitorTest.java264 CarAudioZone carAudioZone = mCarAudioZones.valueAt(index); in handleAudioDeviceGainsChanged_validZones() local
265 List<CarAudioGainConfigInfo> gainsForZone = gainsForZones.get(carAudioZone.getId()); in handleAudioDeviceGainsChanged_validZones()
266 verify(carAudioZone).onAudioGainChanged(eq(reasons), eq(gainsForZone)); in handleAudioDeviceGainsChanged_validZones()
302 CarAudioZone carAudioZone = mCarAudioZones.valueAt(index); in handleAudioDeviceGainsChanged_validAndUnknownZones() local
303 Integer zoneId = carAudioZone.getId(); in handleAudioDeviceGainsChanged_validAndUnknownZones()
306 verify(carAudioZone).onAudioGainChanged(eq(reasons), eq(gainsForZone)); in handleAudioDeviceGainsChanged_validAndUnknownZones()
309 verify(carAudioZone, never()).onAudioGainChanged(any(), any()); in handleAudioDeviceGainsChanged_validAndUnknownZones()
332 CarAudioZone carAudioZone = mCarAudioZones.valueAt(index); in handleAudioDeviceGainsChanged_unknownZones() local
333 verify(carAudioZone, never()).onAudioGainChanged(any(), any()); in handleAudioDeviceGainsChanged_unknownZones()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioDynamicRoutingTest.java311 CarAudioZone carAudioZone = new CarAudioZone(TEST_CAR_AUDIO_CONTEXT, "Primary zone", in getTestCarAudioZones() local
313 carAudioZone.addZoneConfig(defaultAudioZoneConfig); in getTestCarAudioZones()
314 carAudioZone.addZoneConfig(secondaryAudioZoneConfig); in getTestCarAudioZones()
316 zones.put(CarAudioManager.PRIMARY_AUDIO_ZONE, carAudioZone); in getTestCarAudioZones()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java102 CarAudioZone carAudioZone = mCarAudioZones.get(zoneId); in handleAudioDeviceGainsChanged() local
103 events.addAll(carAudioZone.onAudioGainChanged(reasons, gainsByZones.valueAt(i))); in handleAudioDeviceGainsChanged()
DZoneAudioPlaybackCallback.java55 ZoneAudioPlaybackCallback(@NonNull CarAudioZone carAudioZone, in ZoneAudioPlaybackCallback() argument
59 mCarAudioZone = Objects.requireNonNull(carAudioZone, "Audio zone cannot be null"); in ZoneAudioPlaybackCallback()
DCarAudioFocus.java121 FocusInteraction focusInteraction, CarAudioZone carAudioZone, in CarAudioFocus() argument
128 mCarAudioZone = Objects.requireNonNull(carAudioZone, "Car audio zone can not be null"); in CarAudioFocus()