Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java914 private void validateMinMaxActivationVolume(int maxActivationVolume, in validateMinMaxActivationVolume() argument
919 Preconditions.checkArgument(maxActivationVolume >= ACTIVATION_VOLUME_PERCENTAGE_MIN in validateMinMaxActivationVolume()
920 && maxActivationVolume <= ACTIVATION_VOLUME_PERCENTAGE_MAX, in validateMinMaxActivationVolume()
922 TAG_VOLUME_GROUP, ATTR_MAX_ACTIVATION_VOLUME_PERCENTAGE, maxActivationVolume, in validateMinMaxActivationVolume()
929 Preconditions.checkArgument(minActivationVolume < maxActivationVolume, in validateMinMaxActivationVolume()
932 ATTR_MAX_ACTIVATION_VOLUME_PERCENTAGE, maxActivationVolume); in validateMinMaxActivationVolume()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java5803 int maxActivationVolume = service.getVolumeGroupInfo(PRIMARY_AUDIO_ZONE, in onPlaybackConfigChanged_withVolumeAboveMaxActivationVolume() local
5806 TEST_PRIMARY_ZONE_GROUP_0, maxActivationVolume + 1); in onPlaybackConfigChanged_withVolumeAboveMaxActivationVolume()
5814 .isEqualTo(maxActivationVolume); in onPlaybackConfigChanged_withVolumeAboveMaxActivationVolume()
5934 int maxActivationVolume = service.getVolumeGroupInfo(TEST_REAR_LEFT_ZONE_ID, in onPlaybackConfigChanged_afterZoneConfigSwitched() local
5937 TEST_SECONDARY_ZONE_GROUP_0, maxActivationVolume + 1); in onPlaybackConfigChanged_afterZoneConfigSwitched()
5945 maxActivationVolume = service.getVolumeGroupInfo(TEST_REAR_LEFT_ZONE_ID, in onPlaybackConfigChanged_afterZoneConfigSwitched()
5948 TEST_SECONDARY_ZONE_GROUP_0, maxActivationVolume + 1); in onPlaybackConfigChanged_afterZoneConfigSwitched()
5956 .isEqualTo(maxActivationVolume); in onPlaybackConfigChanged_afterZoneConfigSwitched()
5981 int maxActivationVolume = service.getVolumeGroupInfo(TEST_REAR_LEFT_ZONE_ID, in onPlaybackConfigChanged_afterOccupantZoneConfigChanged() local
5984 TEST_SECONDARY_ZONE_GROUP_0, maxActivationVolume + 1); in onPlaybackConfigChanged_afterOccupantZoneConfigChanged()
[all …]