Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioManagerTest.java600 int currentVol = mAudioManager.getStreamVolume(STREAM_ACCESSIBILITY); in testAccessibilityVolume() local
605 if (currentVol != maxA11yVol) { in testAccessibilityVolume()
612 currentVol = mAudioManager.getStreamVolume(STREAM_ACCESSIBILITY); in testAccessibilityVolume()
613 assertTrue("Should not be able to change A11y vol", currentVol != testSetVol); in testAccessibilityVolume()
617 currentVol = mAudioManager.getStreamVolume(STREAM_ACCESSIBILITY); in testAccessibilityVolume()
618 if (currentVol > 0) { in testAccessibilityVolume()
622 assertTrue("Should not be able to lower A11y vol", currentVol == newVol); in testAccessibilityVolume()
625 currentVol = mAudioManager.getStreamVolume(STREAM_ACCESSIBILITY); in testAccessibilityVolume()
626 if (currentVol < maxA11yVol) { in testAccessibilityVolume()
630 assertTrue("Should not be able to raise A11y vol", currentVol == newVol); in testAccessibilityVolume()