Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java98 private final SparseIntArray mVolumePriorityByAudioContext = new SparseIntArray(); field in CarVolume
134 mVolumePriorityByAudioContext.append(contextVolumePriority[priority], priority); in CarVolume()
137 mLowestPriority = CONTEXT_HIGHEST_PRIORITY + mVolumePriorityByAudioContext.size(); in CarVolume()
210 mVolumePriorityByAudioContext, inactiveAudioAttributes); in getSuggestedAudioContextAndSaveIfFound()
365 int priority = mVolumePriorityByAudioContext.get(contextId); in dumpSortedContexts()
394 int priority = mVolumePriorityByAudioContext.get(contextId); in dumpProtoSortedContexts()
416 List<Integer> sortedContexts = new ArrayList<>(mVolumePriorityByAudioContext.size()); in getSortedContexts()
417 for (int index = 0; index < mVolumePriorityByAudioContext.size(); index++) { in getSortedContexts()
418 int contextId = mVolumePriorityByAudioContext.keyAt(index); in getSortedContexts()
421 sortedContexts.sort(Comparator.comparingInt(mVolumePriorityByAudioContext::get)); in getSortedContexts()