Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java93 private static final int MAX_ACTIVATION_GAIN_INDEX = MIN_GAIN_INDEX + (int) Math.round( field in CarVolumeGroupUnitTest
407 .isEqualTo(MAX_ACTIVATION_GAIN_INDEX); in getMaxActivationGainIndex()
557 carVolumeGroup.setCurrentGainIndex(MAX_ACTIVATION_GAIN_INDEX + 1); in handleActivationVolume_withVolumeAboveMaxActivationVolume()
563 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_ACTIVATION_GAIN_INDEX); in handleActivationVolume_withVolumeAboveMaxActivationVolume()
570 carVolumeGroup.setCurrentGainIndex(MAX_ACTIVATION_GAIN_INDEX + 1); in handleActivationVolume_withMute()
584 carVolumeGroup.setCurrentGainIndex(MAX_ACTIVATION_GAIN_INDEX + 1); in setMute_withFalseWhenMuteAndActivationVolume()
591 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_ACTIVATION_GAIN_INDEX); in setMute_withFalseWhenMuteAndActivationVolume()
599 int blockedIndex = MAX_ACTIVATION_GAIN_INDEX + 1; in handleActivationVolume_withBlock()
614 int blockedIndex = MAX_ACTIVATION_GAIN_INDEX + 1; in resetBlocked_withActivationVolume()
621 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(MAX_ACTIVATION_GAIN_INDEX); in resetBlocked_withActivationVolume()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java678 proto.write(CarAudioDumpProto.CarVolumeGain.MAX_ACTIVATION_GAIN_INDEX, in dumpProto()