Home
last modified time | relevance | path

Searched refs:maxVolume (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioManagerTest.java482 int maxVolume = mAudioManager.getStreamMaxVolume(streams[i]); in testVolume() local
488 maxVolume), in testVolume()
489 minVolume < maxVolume); in testVolume()
493 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i])); in testVolume()
511 maxVolume = maxMusicVolume = curvol; in testVolume()
513 mAudioManager.setStreamVolume(streams[i], maxVolume, 0); in testVolume()
515 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i])); in testVolume()
519 assertEquals(maxVolume - volumeDelta, mAudioManager.getStreamVolume(streams[i])); in testVolume()
522 mAudioManager.setStreamVolume(streams[i], maxVolume, 0); in testVolume()
537 while (volume < maxVolume) { in testVolume()
[all …]
DRingtoneTest.java53 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_RING); in setUp() local
59 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, maxVolume / 2, in setUp()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java277 float maxVolume = mPlayback.getMaxVolume(); in handleStartPlayback()
278 float newVolume = (maxVolume - minVolume) * volume / 100 + minVolume; in handleStartPlayback()
280 Log.d(TAG, "setting volume " + newVolume + " max " + maxVolume + in handleStartPlayback()