Searched refs:minVolume (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/ |
D | CarAudioManagerTest.java | 127 int minVolume = mCarAudioManager.getGroupMinVolume(groudId); in test_getGroupVolume() local 129 .isEqualTo(minVolume); in test_getGroupVolume() 130 assertThat(volume).isAtLeast(minVolume); in test_getGroupVolume() 210 int minVolume = mCarAudioManager.getGroupMinVolume(PRIMARY_AUDIO_ZONE, groupId); in setGroupVolume_whileMuted_unMutesVolumeGroup() local 211 assumeTrue("Mutable group shall have zero min index", minVolume == 0); in setGroupVolume_whileMuted_unMutesVolumeGroup() 218 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, minVolume, TEST_FLAGS); in setGroupVolume_whileMuted_unMutesVolumeGroup() 233 int minVolume = mCarAudioManager.getGroupMinVolume(PRIMARY_AUDIO_ZONE, groupId); in setGroupVolumeToZero_doesNotMuteVolumeGroup() local 234 assumeTrue("Mutable group shall have zero min index", minVolume == 0); in setGroupVolumeToZero_doesNotMuteVolumeGroup() 239 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, minVolume, TEST_FLAGS); in setGroupVolumeToZero_doesNotMuteVolumeGroup() 254 int minVolume = mCarAudioManager.getGroupMinVolume(PRIMARY_AUDIO_ZONE, groupId); in getGroupVolume_whileMuted_returnsMinVolume() local [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AudioHelper.java | 81 int minVolume; in getMinVolume() local 83 minVolume = mAudioManager.getStreamMinVolume(stream); in getMinVolume() 88 minVolume = mAudioManager.getStreamMinVolume(AudioManager.STREAM_VOICE_CALL); in getMinVolume() 90 return minVolume; in getMinVolume()
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | CustomInputEventListener.java | 247 int minVolume = mCarAudioManager.getGroupMinVolume(zoneId, volumeGroupId); in decreaseVolume() local 249 if (volume < minVolume) { in decreaseVolume() 251 + minVolume + ") for zoneId (" + zoneId + ") and volumeGroupId (" in decreaseVolume() 254 if (volume == minVolume) { in decreaseVolume() 256 Log.d(TAG, "Volume for stream type (" + usage + ") is already min (" + minVolume in decreaseVolume() 265 + minVolume + ")"); in decreaseVolume()
|
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/ |
D | SdkSandboxConfigurationTest.java | 261 int minVolume = audioManager.getStreamMinVolume(AudioManager.STREAM_SYSTEM); in testCanAccessVolume() local 264 assertThat(currentVolume).isAtLeast(minVolume); in testCanAccessVolume()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Asha.kt | 205 val minVolume = audioManager.getStreamMinVolume(AudioManager.STREAM_MUSIC) in start() constant 208 minVolume, in start()
|