Searched refs:maxVolume (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioManagerTest.java | 482 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 …]
|
D | RingtoneTest.java | 53 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/ |
D | AudioProtocol.java | 277 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()
|