Home
last modified time | relevance | path

Searched refs:ShadowAudioManager (Results 1 – 4 of 4) 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/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DAudioFocusManagerTest.java41 import org.robolectric.shadows.ShadowAudioManager;
76 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withNullUsage_doesNotManageAudioFocus()
90 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withNullUsage_abandonsAudioFocus()
113 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()
149 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withUsageMedia_usesAudioFocusGain()
162 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_inEndedState_requestsAudioFocus()
179 ShadowAudioManager.AudioFocusRequest request = in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady()
198 ShadowAudioManager.AudioFocusRequest request = in updateAudioFocus_pausedToPlaying_setsPlayerCommandPlayWhenReady()
279 ShadowAudioManager.AudioFocusRequest request = in updateAudioFocus_readyToIdle_abandonsAudioFocus()
298 ShadowAudioManager.AudioFocusRequest request = in updateAudioFocus_readyToIdle_abandonsAudioFocus_v26()
[all …]
DExoPlayerTest.java101 import org.robolectric.shadows.ShadowAudioManager;
3251 ShadowAudioManager shadowAudioManager = shadowOf(context.getSystemService(AudioManager.class)); in audioFocusDenied()
/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