Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesValidator.java64 static void validate(SparseArray<CarAudioZone> carAudioZones, boolean useCoreAudioRouting) in validate() argument
67 validateZoneConfigsForEachZone(carAudioZones, useCoreAudioRouting); in validate()
68 if (!useCoreAudioRouting) { in validate()
94 boolean useCoreAudioRouting) { in validateZoneConfigsForEachZone() argument
97 if (!zone.validateZoneConfigs(useCoreAudioRouting)) { in validateZoneConfigsForEachZone()
105 zone.isPrimaryZone() && useCoreAudioRouting)) { in validateZoneConfigsForEachZone()
DCarAudioZone.java154 boolean validateCanUseDynamicMixRouting(boolean useCoreAudioRouting) { in validateCanUseDynamicMixRouting() argument
155 return getCurrentCarAudioZoneConfig().validateCanUseDynamicMixRouting(useCoreAudioRouting); in validateCanUseDynamicMixRouting()
170 boolean validateZoneConfigs(boolean useCoreAudioRouting) { in validateZoneConfigs() argument
193 if (!zoneConfig.validateVolumeGroups(mCarAudioContext, useCoreAudioRouting)) { in validateZoneConfigs()
221 current.updateVolumeDevices(mCarAudioContext.useCoreAudioRouting()); in setCurrentCarZoneConfig()
238 config.updateVolumeDevices(mCarAudioContext.useCoreAudioRouting()); in init()
DCarAudioZoneConfig.java195 boolean validateCanUseDynamicMixRouting(boolean useCoreAudioRouting) { in validateCanUseDynamicMixRouting() argument
211 if (!addresses.add(address) && !useCoreAudioRouting) { in validateCanUseDynamicMixRouting()
224 if (useCoreAudioRouting) { in validateCanUseDynamicMixRouting()
233 if (useCoreAudioRouting) { in validateCanUseDynamicMixRouting()
263 boolean validateVolumeGroups(CarAudioContext carAudioContext, boolean useCoreAudioRouting) { in validateVolumeGroups() argument
283 if (useCoreAudioRouting) { in validateVolumeGroups()
290 if (!useCoreAudioRouting && !group.validateDeviceTypes(dynamicDeviceTypesInConfig)) { in validateVolumeGroups()
580 void updateVolumeDevices(boolean useCoreAudioRouting) { in updateVolumeDevices() argument
582 mVolumeGroups.get(c).updateDevices(useCoreAudioRouting); in updateVolumeDevices()
DCoreAudioVolumeGroup.java293 void updateDevices(boolean useCoreAudioRouting) { in updateDevices() argument
296 if (useCoreAudioRouting) { in updateDevices()
DCarAudioContext.java394 boolean useCoreAudioRouting) { in CarAudioContext() argument
400 mUseCoreAudioRouting = useCoreAudioRouting; in CarAudioContext()
478 boolean useCoreAudioRouting() { in useCoreAudioRouting() method in CarAudioContext
DCarAudioZonesHelper.java179 boolean useCoreAudioVolume, boolean useCoreAudioRouting, in CarAudioZonesHelper() argument
201 mUseCoreAudioRouting = useCoreAudioRouting; in CarAudioZonesHelper()
DCarVolumeGroup.java1029 void updateDevices(boolean useCoreAudioRouting) { in updateDevices() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioZoneConfigUnitTest.java313 boolean useCoreAudioRouting = true; in updateVolumeDevices_withUseCoreAudioRoutingEnabled()
315 zoneConfig.updateVolumeDevices(useCoreAudioRouting); in updateVolumeDevices_withUseCoreAudioRoutingEnabled()
317 verify(mMockMusicGroup).updateDevices(useCoreAudioRouting); in updateVolumeDevices_withUseCoreAudioRoutingEnabled()
318 verify(mMockNavGroup).updateDevices(useCoreAudioRouting); in updateVolumeDevices_withUseCoreAudioRoutingEnabled()
325 boolean useCoreAudioRouting = false; in updateVolumeDevices_withUseCoreAudioRoutingDisabled()
327 zoneConfig.updateVolumeDevices(useCoreAudioRouting); in updateVolumeDevices_withUseCoreAudioRoutingDisabled()
329 verify(mMockMusicGroup).updateDevices(useCoreAudioRouting); in updateVolumeDevices_withUseCoreAudioRoutingDisabled()
330 verify(mMockNavGroup).updateDevices(useCoreAudioRouting); in updateVolumeDevices_withUseCoreAudioRoutingDisabled()
DCoreAudioVolumeGroupTest.java627 boolean useCoreAudioRouting = false; in updateDevices_withCoreAudioRoutingDisabled()
629 mMusicCoreAudioVolumeGroup.updateDevices(useCoreAudioRouting); in updateDevices_withCoreAudioRoutingDisabled()
637 boolean useCoreAudioRouting = true; in updateDevices_withCoreAudioRoutingEnabled()
639 mMusicCoreAudioVolumeGroup.updateDevices(useCoreAudioRouting); in updateDevices_withCoreAudioRoutingEnabled()
DCarAudioZoneUnitTest.java423 boolean useCoreAudioRouting = true; in validateZoneConfigs_withInvalidVolumeGroupsInZoneConfigs_returnsFalse()
426 when(zoneConfig2.validateVolumeGroups(any(), eq(useCoreAudioRouting))).thenReturn(false); in validateZoneConfigs_withInvalidVolumeGroupsInZoneConfigs_returnsFalse()
431 .that(mTestAudioZone.validateZoneConfigs(useCoreAudioRouting)) in validateZoneConfigs_withInvalidVolumeGroupsInZoneConfigs_returnsFalse()