Home
last modified time | relevance | path

Searched refs:contextNumber (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelperLegacy.java68 for (int contextNumber : CarAudioDynamicRouting.CONTEXT_NUMBERS) { in CarAudioZonesHelperLegacy()
69 mContextToBus.put(contextNumber, audioControl.getBusForContext(contextNumber)); in CarAudioZonesHelperLegacy()
83 for (int contextNumber : group.getContexts()) { in loadAudioZones()
84 int busNumber = mContextToBus.get(contextNumber); in loadAudioZones()
85 group.bind(contextNumber, busNumber, mBusToCarAudioDeviceInfo.get(busNumber)); in loadAudioZones()
DCarAudioDynamicRouting.java125 for (int contextNumber : group.getContextsForBus(busNumber)) { in setupAudioDynamicRoutingForGroup()
127 int[] usages = getUsagesForContext(contextNumber); in setupAudioDynamicRoutingForGroup()
134 + " contextNumber: " + contextNumber in setupAudioDynamicRoutingForGroup()
153 private int[] getUsagesForContext(int contextNumber) { in getUsagesForContext() argument
156 if (CarAudioDynamicRouting.USAGE_TO_CONTEXT.valueAt(i) == contextNumber) { in getUsagesForContext()
DCarVolumeGroup.java144 void bind(int contextNumber, int busNumber, CarAudioDeviceInfo info) { in bind() argument
153 mContextToBus.put(contextNumber, busNumber); in bind()
237 AudioDevicePort getAudioDevicePortForContext(int contextNumber) { in getAudioDevicePortForContext() argument
238 final int busNumber = mContextToBus.get(contextNumber, -1); in getAudioDevicePortForContext()