Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioGainCallback.java40 Reasons.NAV_DUCKING,
56 case Reasons.NAV_DUCKING: in isReasonValid()
79 case Reasons.NAV_DUCKING: in reasonToString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioGainMonitorTest.java227 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in handleAudioDeviceGainsChanged_validZones()
281 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in handleAudioDeviceGainsChanged_validAndUnknownZones()
319 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in handleAudioDeviceGainsChanged_unknownZones()
358 Reasons.NAV_DUCKING, in shouldBlockVolumeRequest_returnsTrue()
370 Reasons.NAV_DUCKING, in shouldBlockVolumeRequest_returnsFalse()
408 Reasons.NAV_DUCKING, in shouldLimitVolume_returnsTrue()
420 Reasons.NAV_DUCKING, in shouldLimitVolume_returnsFalse()
441 List<Integer> limitReasons = List.of(Reasons.ADAS_DUCKING, Reasons.NAV_DUCKING); in shouldDuckGain_returnsTrue()
458 Reasons.NAV_DUCKING, in shouldDuckGain_returnsTrue()
559 Reasons.NAV_DUCKING, in convertReasonsToExtraInfo_supportedReasons_isEqualTo()
DCarAudioZoneConfigUnitTest.java728 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withDeviceAddressesInZone()
760 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withMultipleGainInfosForOneVolumeGroup()
790 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withInvalidEventType()
812 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withInvalidAddress()
835 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withoutAnyDeviceAddressInZone()
DCarAudioZoneUnitTest.java665 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withDeviceAddressesInZone()
690 List<Integer> reasons = List.of(Reasons.NAV_DUCKING); in onAudioGainChanged_withMultipleGainInfoForSameGroup_createsNoDuplicateEvents()
711 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_withoutAnyDeviceAddressInZone()
DCarAudioVolumeGroupTest.java507 List<Integer> reasons = List.of(Reasons.NAV_DUCKING); in calculateNewGainStageFromDeviceInfos_whenAttenuationActive_extrapolationSucceeds()
539 List<Integer> reasons = List.of(Reasons.NAV_DUCKING, Reasons.THERMAL_LIMITATION, in calculateNewGainStageFromDeviceInfos_whenRestrictionsActive_extrapolationFails()
DCarVolumeGroupUnitTest.java1477 List<Integer> reasons = List.of(Reasons.FORCED_MASTER_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_validGain()
1506 List<Integer> reasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioGainChanged_invalidGain()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioGainCallbackTest.java45 Reasons.NAV_DUCKING, in isReasonValid_withValidReasons_succeeds()
80 Reasons.NAV_DUCKING, in reasonToString_validReasons_succeeds()
DAudioControlWrapperAidlTest.java764 int[] halReasons = {Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING}; in onAudioDeviceGainsChanged_succeeds()
835 int[] halReasons = {-1, Reasons.REMOTE_MUTE, 1999, 666, Reasons.NAV_DUCKING}; in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons()
836 List<Integer> validReasons = List.of(Reasons.REMOTE_MUTE, Reasons.NAV_DUCKING); in onAudioDeviceGainsChanged_invalidReasonsAmongValidReasons()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java126 return reasons.contains(Reasons.ADAS_DUCKING) || reasons.contains(Reasons.NAV_DUCKING); in shouldDuckGain()
148 REASONS_TO_EXTRA_INFO.put(Reasons.NAV_DUCKING, in REASONS_TO_EXTRA_INFO.put() argument