Home
last modified time | relevance | path

Searched refs:THERMAL_LIMITATION (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioGainCallback.java42 Reasons.THERMAL_LIMITATION,
58 case Reasons.THERMAL_LIMITATION: in isReasonValid()
83 case Reasons.THERMAL_LIMITATION: in reasonToString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java1058 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in isOverLimit_expectedTrue()
1078 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in isOverLimit_expectedFalse()
1098 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in onAudioGainChanged_withOverLimit_thenEndsAndRestoresVolume()
1145 List<Integer> limitReasons = List.of(Reasons.THERMAL_LIMITATION); in onAudioGainChanged_withUnderLimit_thenEndsWithVolumeUnchanged()
1391 Reasons.THERMAL_LIMITATION, in onAudioGainChanged_withBlockingLimitMuteAndAttenuation()
1447 Reasons.THERMAL_LIMITATION, in onAudioGainChanged_setResettingBlockingLimitMuteAndAttenuation()
1525 List<Integer> reasons = List.of(Reasons.THERMAL_LIMITATION, Reasons.ADAS_DUCKING); in onAudioGainChanged_comboAttenuationLimitation_simultaneously()
1548 List<Integer> reasons = List.of(Reasons.THERMAL_LIMITATION, Reasons.ADAS_DUCKING); in onAudioGainChanged_resetAttenuation_whileComboAttenuationLimitation()
1573 List<Integer> reasons = List.of(Reasons.THERMAL_LIMITATION, Reasons.ADAS_DUCKING); in onAudioGainChanged_withGainUpdate_whileComboAttenuationLimitation()
1603 List<Integer> reasons = List.of(Reasons.THERMAL_LIMITATION); in onAudioGainChanged_limitation_withLimitUpdate()
[all …]
DCarAudioGainMonitorTest.java359 Reasons.THERMAL_LIMITATION); in shouldBlockVolumeRequest_returnsTrue()
372 Reasons.THERMAL_LIMITATION, in shouldBlockVolumeRequest_returnsFalse()
391 List.of(Reasons.THERMAL_LIMITATION, Reasons.SUSPEND_EXIT_VOL_LIMITATION); in shouldLimitVolume_returnsTrue()
409 Reasons.THERMAL_LIMITATION); in shouldLimitVolume_returnsTrue()
459 Reasons.THERMAL_LIMITATION); in shouldDuckGain_returnsTrue()
470 Reasons.THERMAL_LIMITATION, in shouldDuckGain_returnsFalse()
539 Reasons.THERMAL_LIMITATION, in shouldUpdateVolumeIndex_returnsFalse()
554 Reasons.THERMAL_LIMITATION, in convertReasonsToExtraInfo_supportedReasons_isEqualTo()
DCarAudioVolumeGroupTest.java471 List<Integer> reasons = List.of(Reasons.THERMAL_LIMITATION); in calculateNewGainStageFromDeviceInfos_whenLimitingActive_extrapolationSucceeds()
539 List<Integer> reasons = List.of(Reasons.NAV_DUCKING, Reasons.THERMAL_LIMITATION, in calculateNewGainStageFromDeviceInfos_whenRestrictionsActive_extrapolationFails()
DCarAudioServiceUnitTest.java3895 callback.onAudioDeviceGainsChanged(List.of(Reasons.THERMAL_LIMITATION), List.of(carGain)); in onAudioDeviceGainsChanged_forPrimaryZone_changesVolume()
3909 callback.onAudioDeviceGainsChanged(List.of(Reasons.THERMAL_LIMITATION), List.of(carGain)); in onAudioDeviceGainsChanged_forSecondaryZone_changesVolume()
3925 callback.onAudioDeviceGainsChanged(List.of(Reasons.THERMAL_LIMITATION), List.of(carGain)); in onAudioDeviceGainsChanged_forIncorrectDeviceAddress_sameVolume()
3941 callback.onAudioDeviceGainsChanged(List.of(Reasons.THERMAL_LIMITATION), in onAudioDeviceGainsChanged_forMultipleZones_changesVolume()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioGainCallbackTest.java47 Reasons.THERMAL_LIMITATION, in isReasonValid_withValidReasons_succeeds()
82 Reasons.THERMAL_LIMITATION, in reasonToString_validReasons_succeeds()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java121 return reasons.contains(Reasons.THERMAL_LIMITATION) in shouldLimitVolume()
152 REASONS_TO_EXTRA_INFO.put(Reasons.THERMAL_LIMITATION, in REASONS_TO_EXTRA_INFO.put() argument