Home
last modified time | relevance | path

Searched refs:MIN_ACTIVATION_GAIN_INDEX (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java91 private static final int MIN_ACTIVATION_GAIN_INDEX = MIN_GAIN_INDEX + (int) Math.round( field in CarVolumeGroupUnitTest
418 .isEqualTo(MIN_ACTIVATION_GAIN_INDEX); in getMinActivationGainIndex()
529 int currentGainIndex = MIN_ACTIVATION_GAIN_INDEX + 1; in handleActivationVolume_withVolumeWithinActivationVolumeRange()
544 carVolumeGroup.setCurrentGainIndex(MIN_ACTIVATION_GAIN_INDEX - 1); in handleActivationVolume_withVolumeBelowMinActivationVolume()
550 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MIN_ACTIVATION_GAIN_INDEX); in handleActivationVolume_withVolumeBelowMinActivationVolume()
659 int limitedGainIndex = MIN_ACTIVATION_GAIN_INDEX - 1; in handleActivationVolume_withActivationVolumeOverLimitOverCurrentGain()
674 carVolumeGroup.setCurrentGainIndex(MIN_ACTIVATION_GAIN_INDEX - 2); in resetLimit_withActivationVolumeOverLimitOverCurrentGainAndResetLimit()
675 int limitedGainIndex = MIN_ACTIVATION_GAIN_INDEX - 1; in resetLimit_withActivationVolumeOverLimitOverCurrentGainAndResetLimit()
683 .isEqualTo(MIN_ACTIVATION_GAIN_INDEX); in resetLimit_withActivationVolumeOverLimitOverCurrentGainAndResetLimit()
690 carVolumeGroup.setCurrentGainIndex(MIN_ACTIVATION_GAIN_INDEX - 1); in handleActivationVolume_withActivationVolumeOverCurrentGainOverLimit()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java676 proto.write(CarAudioDumpProto.CarVolumeGain.MIN_ACTIVATION_GAIN_INDEX, in dumpProto()