Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java320 CarAudioDynamicRouting.STREAM_TYPES[groupId], index, flags); in setGroupVolume()
379 CarAudioDynamicRouting.STREAM_TYPES[groupId]); in getGroupMaxVolume()
398 CarAudioDynamicRouting.STREAM_TYPES[groupId]); in getGroupMinVolume()
417 CarAudioDynamicRouting.STREAM_TYPES[groupId]); in getGroupVolume()
473 final CarAudioDynamicRouting dynamicRouting = new CarAudioDynamicRouting(mCarAudioZones); in setupDynamicRouting()
521 return CarAudioDynamicRouting.USAGE_TO_CONTEXT.get(audioUsage); in getContextForUsage()
710 if (!mUseDynamicRouting) return CarAudioDynamicRouting.STREAM_TYPES.length; in getVolumeGroupCount()
745 return new int[] { CarAudioDynamicRouting.STREAM_TYPE_USAGES[groupId] }; in getUsagesForVolumeGroupId()
752 for (int i = 0; i < CarAudioDynamicRouting.USAGE_TO_CONTEXT.size(); i++) { in getUsagesForVolumeGroupId()
753 if (contexts.contains(CarAudioDynamicRouting.USAGE_TO_CONTEXT.valueAt(i))) { in getUsagesForVolumeGroupId()
[all …]
DCarAudioDynamicRouting.java37 /* package */ class CarAudioDynamicRouting { class
96 CarAudioDynamicRouting(CarAudioZone[] carAudioZones) { in CarAudioDynamicRouting() method in CarAudioDynamicRouting
155 for (int i = 0; i < CarAudioDynamicRouting.USAGE_TO_CONTEXT.size(); i++) { in getUsagesForContext()
156 if (CarAudioDynamicRouting.USAGE_TO_CONTEXT.valueAt(i) == contextNumber) { in getUsagesForContext()
157 usages.add(CarAudioDynamicRouting.USAGE_TO_CONTEXT.keyAt(i)); in getUsagesForContext()
DCarAudioZone.java155 if (contextSet.size() != CarAudioDynamicRouting.CONTEXT_NUMBERS.length) { in validateVolumeGroups()
160 "All contexts " + Arrays.toString(CarAudioDynamicRouting.CONTEXT_NUMBERS)); in validateVolumeGroups()
DCarAudioZonesHelperLegacy.java68 for (int contextNumber : CarAudioDynamicRouting.CONTEXT_NUMBERS) { in CarAudioZonesHelperLegacy()