Searched refs:carAudioContext (Results 1 – 4 of 4) sorted by relevance
191 AudioDevicePort getAudioDevicePortForContext(int carAudioContext) { in getAudioDevicePortForContext() argument192 final String address = mContextToAddress.get(carAudioContext); in getAudioDevicePortForContext()376 Builder setDeviceInfoForContext(int carAudioContext, CarAudioDeviceInfo info) { in setDeviceInfoForContext() argument377 Preconditions.checkArgument(mContextToAddress.get(carAudioContext) == null, in setDeviceInfoForContext()379 CarAudioContext.toString(carAudioContext), in setDeviceInfoForContext()380 mContextToAddress.get(carAudioContext)); in setDeviceInfoForContext()391 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()
449 @AudioContext int carAudioContext = parseCarAudioContext( in parseVolumeGroupContexts() local451 validateCarAudioContextSupport(carAudioContext); in parseVolumeGroupContexts()453 groupBuilder.setDeviceInfoForContext(carAudioContext, info); in parseVolumeGroupContexts()456 if (isVersionOne() && carAudioContext == CarAudioService.DEFAULT_AUDIO_CONTEXT) { in parseVolumeGroupContexts()