Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDynamicRouting.java57 static void setupAudioDynamicRouting(CarAudioContext carAudioContext, in setupAudioDynamicRouting() argument
76 setupAudioDynamicRoutingForZoneConfig(builder, config, carAudioContext, in setupAudioDynamicRouting()
92 setupAudioDynamicRoutingForZoneConfig(builder, defaultConfig, carAudioContext, in setupAudioDynamicRouting()
98 CarAudioZoneConfig zoneConfig, CarAudioContext carAudioContext, in setupAudioDynamicRoutingForZoneConfig() argument
102 setupAudioDynamicRoutingForGroup(builder, volumeGroups[index], carAudioContext, in setupAudioDynamicRoutingForZoneConfig()
116 CarVolumeGroup group, CarAudioContext carAudioContext, in setupAudioDynamicRoutingForGroup() argument
127 + "Dynamic Policy Mixing", address, carAudioContext); in setupAudioDynamicRoutingForGroup()
139 carAudioContext.getAudioAttributesForContext(contextId); in setupAudioDynamicRoutingForGroup()
147 + "channels: %d attributes: %s", address, carAudioContext, in setupAudioDynamicRoutingForGroup()
DCarAudioZonesHelperLegacy.java78 CarAudioZonesHelperLegacy(Context context, CarAudioContext carAudioContext, in CarAudioZonesHelperLegacy() argument
83 mCarAudioContext = Objects.requireNonNull(carAudioContext, in CarAudioZonesHelperLegacy()
98 loadBusesForLegacyContexts(audioControlWrapper, carAudioContext); in CarAudioZonesHelperLegacy()
114 CarAudioContext carAudioContext) { in loadBusesForLegacyContexts() argument
121 validateBusNumber(carAudioContext, legacyContext, bus); in loadBusesForLegacyContexts()
127 private static void validateBusNumber(CarAudioContext carAudioContext, in validateBusNumber() argument
132 carAudioContext.toString(legacyContext))); in validateBusNumber()
DCarVolumeGroupFactory.java47 CarAudioContext carAudioContext, int zoneId, int configId, int volumeGroupId, in CarVolumeGroupFactory() argument
53 mCarAudioContext = Objects.requireNonNull(carAudioContext, in CarVolumeGroupFactory()
DCarAudioVolumeGroup.java50 CarAudioVolumeGroup(CarAudioContext carAudioContext, in CarAudioVolumeGroup() argument
55 super(carAudioContext, settingsManager, contextToDeviceInfo, zoneId, configId, in CarAudioVolumeGroup()
DCarAudioZoneConfig.java263 boolean validateVolumeGroups(CarAudioContext carAudioContext, boolean useCoreAudioRouting) { in validateVolumeGroups() argument
297 List<Integer> allContexts = carAudioContext.getAllContextsIds(); in validateVolumeGroups()
301 carAudioContext.toString(allContexts.get(index))); in validateVolumeGroups()
308 if (!carAudioContext.validateAllAudioAttributesSupported(contextList)) { in validateVolumeGroups()
DCoreAudioVolumeGroup.java67 CoreAudioVolumeGroup(AudioManagerWrapper audioManager, CarAudioContext carAudioContext, in CoreAudioVolumeGroup() argument
71 super(carAudioContext, settingsManager, contextToDevices, zoneId, configId, volumeGroupId, in CoreAudioVolumeGroup()
DCarAudioZone.java67 CarAudioZone(CarAudioContext carAudioContext, String name, int id) { in CarAudioZone() argument
68 mCarAudioContext = Objects.requireNonNull(carAudioContext, in CarAudioZone()
DCarAudioContext.java548 AudioAttributes[] getAudioAttributesForContext(@AudioContext int carAudioContext) { in getAudioAttributesForContext() argument
549 preconditionCheckAudioContext(carAudioContext); in getAudioAttributesForContext()
550 return mContextToAttributes.get(carAudioContext); in getAudioAttributesForContext()
DCarVolume.java120 CarVolume(CarAudioContext carAudioContext, SystemClockWrapper clockWrapper, in CarVolume() argument
123 mCarAudioContext = Objects.requireNonNull(carAudioContext, in CarVolume()
DCarVolumeGroup.java174 protected CarVolumeGroup(CarAudioContext carAudioContext, CarAudioSettings settingsManager, in CarVolumeGroup() argument
179 mCarAudioContext = carAudioContext; in CarVolumeGroup()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DTestCarAudioZoneBuilder.java44 TestCarAudioZoneBuilder setCarAudioContexts(CarAudioContext carAudioContext) { in setCarAudioContexts() argument
45 mCarAudioContext = carAudioContext; in setCarAudioContexts()
DFocusInteractionTest.java141 CarAudioContext carAudioContext = in getInteractionMatrix_returnsNByNMatrix() local
144 int n = carAudioContext.getAllContextsIds().size() + 1; in getInteractionMatrix_returnsNByNMatrix()
DCarAudioContextTest.java977 CarAudioContext carAudioContext = new CarAudioContext(audioContextInfos, in getContextsInfo() local
980 expectWithMessage("Context infos").that(carAudioContext.getContextsInfo()) in getContextsInfo()
DCarAudioZoneConfigUnitTest.java581 CarAudioContext carAudioContext = new CarAudioContext(List.of(new CarAudioContextInfo( in validateVolumeGroups_withUnsupportedAudioContext_fails() local
591 .that(zoneConfig.validateVolumeGroups(carAudioContext, in validateVolumeGroups_withUnsupportedAudioContext_fails()
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioFocus.java87 CarAudioContext carAudioContext, int[] audioZoneIds) { in HalAudioFocus() argument
90 mCarAudioContext = Objects.requireNonNull(carAudioContext); in HalAudioFocus()