Home
last modified time | relevance | path

Searched refs:mContextToBus (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java48 private final SparseIntArray mContextToBus = new SparseIntArray(); field in CarVolumeGroup
85 mContextToBus.put(audioContext, -1); in CarVolumeGroup()
101 final int[] contextNumbers = new int[mContextToBus.size()]; in getContexts()
103 contextNumbers[i] = mContextToBus.keyAt(i); in getContexts()
114 for (int i = 0; i < mContextToBus.size(); i++) { in getContextsForBus()
115 int value = mContextToBus.valueAt(i); in getContextsForBus()
117 contextNumbers.add(mContextToBus.keyAt(i)); in getContextsForBus()
153 mContextToBus.put(contextNumber, busNumber); in bind()
238 final int busNumber = mContextToBus.get(contextNumber, -1); in getAudioDevicePortForContext()
262 for (int i = 0; i < mContextToBus.size(); i++) { in dump()
[all …]
DCarAudioZonesHelperLegacy.java55 private final SparseIntArray mContextToBus; field in CarAudioZonesHelperLegacy
66 mContextToBus = new SparseIntArray(); in CarAudioZonesHelperLegacy()
69 mContextToBus.put(contextNumber, audioControl.getBusForContext(contextNumber)); in CarAudioZonesHelperLegacy()
84 int busNumber = mContextToBus.get(contextNumber); in loadAudioZones()