Searched refs:maxMusicVolume (Results 1 – 1 of 1) sorted by relevance
476 int maxMusicVolume = mAudioManager.getStreamMaxVolume(STREAM_MUSIC); in testVolume() local511 maxVolume = maxMusicVolume = curvol; in testVolume()571 for (int k = 0; k < maxMusicVolume; k++) { in testVolume()573 assertEquals(maxMusicVolume, mAudioManager.getStreamVolume(STREAM_MUSIC)); in testVolume()580 assertEquals(Math.min(volumeDelta, maxMusicVolume), in testVolume()584 mAudioManager.setStreamVolume(STREAM_MUSIC, maxMusicVolume, 0); in testVolume()585 maxMusicVolume = mAudioManager.getStreamVolume(STREAM_MUSIC); in testVolume()588 assertEquals(Math.max(0, maxMusicVolume - volumeDelta), in testVolume()