Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java105 static final int[] CONTEXTS = { field in CarAudioContext
120 private static final SparseArray<String> CONTEXT_NAMES = new SparseArray<>(CONTEXTS.length + 1);
233 Preconditions.checkArgument(Arrays.binarySearch(CONTEXTS, audioContext) >= 0, in preconditionCheckAudioContext()
DCarAudioZone.java147 if (contexts.size() != CarAudioContext.CONTEXTS.length) { in validateVolumeGroups()
151 "All contexts " + Arrays.toString(CarAudioContext.CONTEXTS)); in validateVolumeGroups()
DCarAudioZonesHelper.java76 CONTEXT_NAME_MAP = new HashMap<>(CarAudioContext.CONTEXTS.length);
112 CarAudioContext.CONTEXTS.length - LEGACY_CONTEXTS.length);
115 for (@AudioContext int audioContext : CarAudioContext.CONTEXTS) {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java100 for (@AudioContext int audioContext : CarAudioContext.CONTEXTS) { in getUsagesForContext_returnsUniqueValuesForAllContexts()
DFocusInteractionTest.java73 int n = CarAudioContext.CONTEXTS.length + 1; // One extra for CarAudioContext.INVALID in getInteractionMatrix_returnsNByNMatrix()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java258 Arrays.stream(CarAudioContext.CONTEXTS).boxed().collect(Collectors.toList()); in loadAudioZones_parsesContexts()