Searched refs:limitReasons (Results 1 – 2 of 2) sorted by relevance
390 List<Integer> limitReasons = in shouldLimitVolume_returnsTrue() local394 for (int index = 0; index < limitReasons.size(); index++) { in shouldLimitVolume_returnsTrue()395 List<Integer> reasons = Arrays.asList(limitReasons.get(index)); in shouldLimitVolume_returnsTrue()402 .that(CarAudioGainMonitor.shouldLimitVolume(limitReasons)) in shouldLimitVolume_returnsTrue()441 List<Integer> limitReasons = List.of(Reasons.ADAS_DUCKING, Reasons.NAV_DUCKING); in shouldDuckGain_returnsTrue() local444 for (int index = 0; index < limitReasons.size(); index++) { in shouldDuckGain_returnsTrue()445 List<Integer> reasons = Arrays.asList(limitReasons.get(index)); in shouldDuckGain_returnsTrue()452 .that(CarAudioGainMonitor.shouldDuckGain(limitReasons)) in shouldDuckGain_returnsTrue()
1058 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in isOverLimit_expectedTrue() local1066 carVolumeGroup.onAudioGainChanged(limitReasons, musicCarGain); in isOverLimit_expectedTrue()1078 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in isOverLimit_expectedFalse() local1086 carVolumeGroup.onAudioGainChanged(limitReasons, musicCarGain); in isOverLimit_expectedFalse()1098 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in onAudioGainChanged_withOverLimit_thenEndsAndRestoresVolume() local1106 .that(carVolumeGroup.onAudioGainChanged(limitReasons, musicCarGain)) in onAudioGainChanged_withOverLimit_thenEndsAndRestoresVolume()1145 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in onAudioGainChanged_withUnderLimit_thenEndsWithVolumeUnchanged() local1153 .that(carVolumeGroup.onAudioGainChanged(limitReasons, musicCarGain)) in onAudioGainChanged_withUnderLimit_thenEndsWithVolumeUnchanged()