Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java105 for (int stream : ShadowAudioManager.ALL_STREAMS) { in getStreamMaxVolume_shouldReturnMaxVolume()
110 .isEqualTo(ShadowAudioManager.MAX_VOLUME_MUSIC_DTMF); in getStreamMaxVolume_shouldReturnMaxVolume()
119 .isEqualTo(ShadowAudioManager.DEFAULT_MAX_VOLUME); in getStreamMaxVolume_shouldReturnMaxVolume()
131 for (int stream : ShadowAudioManager.ALL_STREAMS) { in setStreamVolume_shouldSetVolume()
134 if (vol > ShadowAudioManager.DEFAULT_MAX_VOLUME) { in setStreamVolume_shouldSetVolume()
140 for (int stream : ShadowAudioManager.ALL_STREAMS) { in setStreamVolume_shouldSetVolume()
143 if (vol > ShadowAudioManager.DEFAULT_MAX_VOLUME) { in setStreamVolume_shouldSetVolume()
153 for (int stream : ShadowAudioManager.ALL_STREAMS) { in setStreamMaxVolume_shouldSetMaxVolumeForAllStreams()
162 for (int stream : ShadowAudioManager.ALL_STREAMS) { in setStreamVolume_shouldSetVolumeForAllStreams()
171 for (int stream : ShadowAudioManager.ALL_STREAMS) { in setStreamVolume_shouldNotAllowNegativeValues()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java22 public class ShadowAudioManager { class
53 public ShadowAudioManager() { in ShadowAudioManager() method in ShadowAudioManager