Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaRouter.java2409 final int maxVol = getVolumeMax(); in requestSetVolume() local
2410 if (maxVol == 0) { in requestSetVolume()
2414 final float scaledVolume = (float) volume / maxVol; in requestSetVolume()
2429 final int maxVol = getVolumeMax(); in requestUpdateVolume() local
2430 if (maxVol == 0) { in requestUpdateVolume()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioTrackTest.java465 float maxVol = AudioTrack.getMaxVolume(); in testSetStereoVolumeMax() local
466 assertTrue(TEST_NAME, track.setStereoVolume(maxVol, maxVol) == AudioTrack.SUCCESS); in testSetStereoVolumeMax()