Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioGainMonitorTest.java447 .that(CarAudioGainMonitor.shouldDuckGain(reasons)) in shouldDuckGain_returnsTrue()
452 .that(CarAudioGainMonitor.shouldDuckGain(limitReasons)) in shouldDuckGain_returnsTrue()
462 .that(CarAudioGainMonitor.shouldDuckGain(mixedReasons)) in shouldDuckGain_returnsTrue()
480 .that(CarAudioGainMonitor.shouldDuckGain(reasons)) in shouldDuckGain_returnsFalse()
485 .that(CarAudioGainMonitor.shouldDuckGain(nonDuckingReasons)) in shouldDuckGain_returnsFalse()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java125 static boolean shouldDuckGain(List<Integer> reasons) { in shouldDuckGain() method in CarAudioGainMonitor
DCarVolumeGroup.java893 boolean shouldDuck = CarAudioGainMonitor.shouldDuckGain(halReasons); in onAudioGainChanged()