Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java915 int minActivationVolume) { in validateMinMaxActivationVolume() argument
924 Preconditions.checkArgument(minActivationVolume >= ACTIVATION_VOLUME_PERCENTAGE_MIN in validateMinMaxActivationVolume()
925 && minActivationVolume <= ACTIVATION_VOLUME_PERCENTAGE_MAX, in validateMinMaxActivationVolume()
927 TAG_VOLUME_GROUP, ATTR_MIN_ACTIVATION_VOLUME_PERCENTAGE, minActivationVolume, in validateMinMaxActivationVolume()
929 Preconditions.checkArgument(minActivationVolume < maxActivationVolume, in validateMinMaxActivationVolume()
931 TAG_VOLUME_GROUP, ATTR_MIN_ACTIVATION_VOLUME_PERCENTAGE, minActivationVolume, in validateMinMaxActivationVolume()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java5838 int minActivationVolume = service.getVolumeGroupInfo(PRIMARY_AUDIO_ZONE, in onPlaybackConfigChanged_withVolumeBelowMinActivationVolume() local
5841 TEST_PRIMARY_ZONE_GROUP_1, minActivationVolume - 1); in onPlaybackConfigChanged_withVolumeBelowMinActivationVolume()
5850 .isEqualTo(minActivationVolume); in onPlaybackConfigChanged_withVolumeBelowMinActivationVolume()
6141 int minActivationVolume = service.getVolumeGroupInfo(PRIMARY_AUDIO_ZONE, in onCallStateChanged_withOffHookStateAndVolumeBelowMinActivationVolume() local
6144 minActivationVolume - 1); in onCallStateChanged_withOffHookStateAndVolumeBelowMinActivationVolume()
6150 .isEqualTo(minActivationVolume); in onCallStateChanged_withOffHookStateAndVolumeBelowMinActivationVolume()
6177 int minActivationVolume = service.getVolumeGroupInfo(PRIMARY_AUDIO_ZONE, in onCallStateChanged_withRingingStateAndVolumeBelowMinActivationVolume() local
6180 minActivationVolume - 1); in onCallStateChanged_withRingingStateAndVolumeBelowMinActivationVolume()
6186 .isEqualTo(minActivationVolume); in onCallStateChanged_withRingingStateAndVolumeBelowMinActivationVolume()