Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java95 static final int SAFETY = 10; field in CarAudioContext
115 SAFETY,
132 CONTEXT_NAMES.append(SAFETY, "SAFETY"); in CONTEXT_NAMES.append() argument
193 CONTEXT_TO_USAGES.put(SAFETY, in CONTEXT_TO_USAGES.put() argument
264 return CarAudioContext.EMERGENCY == audioContext || CarAudioContext.SAFETY == audioContext; in isCriticalAudioContext()
287 SAFETY,
DCarDuckingUtils.java28 import static com.android.car.audio.CarAudioContext.SAFETY;
88 sContextsToDuck.append(SAFETY, new int[]{ in sContextsToDuck.append() argument
DCarVolume.java59 CarAudioContext.SAFETY,
DCarAudioZonesHelper.java86 CONTEXT_NAME_MAP.put("safety", CarAudioContext.SAFETY);
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupMutingTest.java22 import static com.android.car.audio.CarAudioContext.SAFETY;
468 .addDeviceAddressAndContexts(SAFETY, SAFETY_ADDRESS) in generateMutingInfoFromZone_mutingRestricted_setsAllCriticalGroupsToTheirState()
DCarAudioContextTest.java162 .that(isCriticalAudioContext(CarAudioContext.SAFETY)).isTrue(); in isCriticalAudioContext_forCriticalContexts_returnsTrue()
DCarDuckingUtilsTest.java166 when(mockZone.getAddressForContext(CarAudioContext.SAFETY)).thenReturn(NAVIGATION_ADDRESS); in getAddressesToDuck_withDuckedAndUnduckedContextsSharingDevice_excludesThatDevice()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java278 CarAudioContext.SAFETY, CarAudioContext.VEHICLE_STATUS, in loadAudioZones_forVersionOne_bindsNonLegacyContextsToDefault()