Searched refs:originalVolume (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | VisualizerTest.java | 375 int originalVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC); in test4_1MeasurePeakRms() local 403 am.setStreamVolume(AudioManager.STREAM_MUSIC, originalVolume, 0); in test4_1MeasurePeakRms() 449 int originalVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC); in test4_2MeasurePeakRmsLongMP3() local 476 am.setStreamVolume(AudioManager.STREAM_MUSIC, originalVolume, 0); in test4_2MeasurePeakRmsLongMP3()
|
D | LoudnessEnhancerTest.java | 179 int originalVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC); in test3_0MeasureGainChange() local 227 am.setStreamVolume(AudioManager.STREAM_MUSIC, originalVolume, 0); in test3_0MeasureGainChange()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | SystemMediaRouter2Test.java | 635 final int originalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in testRouteCallbackOnRoutesChanged_whenLocalVolumeChanged() local 641 assertThat(selectedSystemRoute.getVolume()).isEqualTo(originalVolume); in testRouteCallbackOnRoutesChanged_whenLocalVolumeChanged() 644 final int targetVolume = originalVolume == minVolume in testRouteCallbackOnRoutesChanged_whenLocalVolumeChanged() 645 ? originalVolume + 1 : originalVolume - 1; in testRouteCallbackOnRoutesChanged_whenLocalVolumeChanged() 668 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, originalVolume, 0); in testRouteCallbackOnRoutesChanged_whenLocalVolumeChanged() 682 final int originalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in adjustSelectedRouteVolume_invokesOnControllerUpdated() local 688 assertThat(selectedSystemRoute.getVolume()).isEqualTo(originalVolume); in adjustSelectedRouteVolume_invokesOnControllerUpdated() 692 originalVolume == minVolume ? originalVolume + 1 : originalVolume - 1; in adjustSelectedRouteVolume_invokesOnControllerUpdated() 719 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, originalVolume, 0); in adjustSelectedRouteVolume_invokesOnControllerUpdated()
|
D | MediaRouter2Test.java | 1478 final int originalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in testCallbacksAreCalledWhenVolumeChanged() local 1484 assertThat(selectedSystemRoute.getVolume()).isEqualTo(originalVolume); in testCallbacksAreCalledWhenVolumeChanged() 1487 final int targetVolume = originalVolume == minVolume in testCallbacksAreCalledWhenVolumeChanged() 1488 ? originalVolume + 1 : originalVolume - 1; in testCallbacksAreCalledWhenVolumeChanged() 1510 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, originalVolume, 0); in testCallbacksAreCalledWhenVolumeChanged() 1522 final int originalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in adjustSelectedRouteVolume_callsOnControlledUpdated() local 1528 assertThat(selectedSystemRoute.getVolume()).isEqualTo(originalVolume); in adjustSelectedRouteVolume_callsOnControlledUpdated() 1532 originalVolume == minVolume ? originalVolume + 1 : originalVolume - 1; in adjustSelectedRouteVolume_callsOnControlledUpdated() 1563 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, originalVolume, 0); in adjustSelectedRouteVolume_callsOnControlledUpdated()
|