Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java178 AudioDevicePort getAudioDevicePortForContext(int carAudioContext) { in getAudioDevicePortForContext() argument
179 final String address = mContextToAddress.get(carAudioContext); in getAudioDevicePortForContext()
359 Builder setDeviceInfoForContext(int carAudioContext, CarAudioDeviceInfo info) { in setDeviceInfoForContext() argument
360 Preconditions.checkArgument(mContextToAddress.get(carAudioContext) == null, in setDeviceInfoForContext()
362 CarAudioContext.toString(carAudioContext), in setDeviceInfoForContext()
363 mContextToAddress.get(carAudioContext)); in setDeviceInfoForContext()
374 mContextToAddress.put(carAudioContext, info.getAddress()); in setDeviceInfoForContext()
DCarAudioDynamicRouting.java77 for (int carAudioContext : group.getContextsForAddress(address)) { in setupAudioDynamicRoutingForGroup()
79 int[] usages = CarAudioContext.getUsagesForContext(carAudioContext); in setupAudioDynamicRoutingForGroup()
88 address, carAudioContext, info.getSampleRate(), info.getChannelCount(), in setupAudioDynamicRoutingForGroup()
DCarAudioContext.java237 static @AttributeUsage int[] getUsagesForContext(@AudioContext int carAudioContext) { in getUsagesForContext() argument
238 preconditionCheckAudioContext(carAudioContext); in getUsagesForContext()
239 return CONTEXT_TO_USAGES.get(carAudioContext); in getUsagesForContext()
DCarAudioZonesHelper.java435 @AudioContext int carAudioContext = parseCarAudioContext( in parseVolumeGroupContexts() local
437 validateCarAudioContextSupport(carAudioContext); in parseVolumeGroupContexts()
439 groupBuilder.setDeviceInfoForContext(carAudioContext, info); in parseVolumeGroupContexts()
442 if (isVersionOne() && carAudioContext == CarAudioService.DEFAULT_AUDIO_CONTEXT) { in parseVolumeGroupContexts()