Searched refs:carAudioContext (Results 1 – 4 of 4) sorted by relevance
178 AudioDevicePort getAudioDevicePortForContext(int carAudioContext) { in getAudioDevicePortForContext() argument179 final String address = mContextToAddress.get(carAudioContext); in getAudioDevicePortForContext()359 Builder setDeviceInfoForContext(int carAudioContext, CarAudioDeviceInfo info) { in setDeviceInfoForContext() argument360 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()
77 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()
237 static @AttributeUsage int[] getUsagesForContext(@AudioContext int carAudioContext) { in getUsagesForContext() argument238 preconditionCheckAudioContext(carAudioContext); in getUsagesForContext()239 return CONTEXT_TO_USAGES.get(carAudioContext); in getUsagesForContext()
435 @AudioContext int carAudioContext = parseCarAudioContext( in parseVolumeGroupContexts() local437 validateCarAudioContextSupport(carAudioContext); in parseVolumeGroupContexts()439 groupBuilder.setDeviceInfoForContext(carAudioContext, info); in parseVolumeGroupContexts()442 if (isVersionOne() && carAudioContext == CarAudioService.DEFAULT_AUDIO_CONTEXT) { in parseVolumeGroupContexts()