Searched refs:CONTEXTS (Results 1 – 6 of 6) sorted by relevance
105 static final int[] CONTEXTS = { field in CarAudioContext120 private static final SparseArray<String> CONTEXT_NAMES = new SparseArray<>(CONTEXTS.length + 1);233 Preconditions.checkArgument(Arrays.binarySearch(CONTEXTS, audioContext) >= 0, in preconditionCheckAudioContext()
147 if (contexts.size() != CarAudioContext.CONTEXTS.length) { in validateVolumeGroups()151 "All contexts " + Arrays.toString(CarAudioContext.CONTEXTS)); in validateVolumeGroups()
76 CONTEXT_NAME_MAP = new HashMap<>(CarAudioContext.CONTEXTS.length);112 CarAudioContext.CONTEXTS.length - LEGACY_CONTEXTS.length);115 for (@AudioContext int audioContext : CarAudioContext.CONTEXTS) {
100 for (@AudioContext int audioContext : CarAudioContext.CONTEXTS) { in getUsagesForContext_returnsUniqueValuesForAllContexts()
73 int n = CarAudioContext.CONTEXTS.length + 1; // One extra for CarAudioContext.INVALID in getInteractionMatrix_returnsNByNMatrix()
258 Arrays.stream(CarAudioContext.CONTEXTS).boxed().collect(Collectors.toList()); in loadAudioZones_parsesContexts()