Searched refs:ShadowAudioManager (Results 1 – 4 of 4) sorted by relevance
105 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 …]
41 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 …]
101 import org.robolectric.shadows.ShadowAudioManager;3251 ShadowAudioManager shadowAudioManager = shadowOf(context.getSystemService(AudioManager.class)); in audioFocusDenied()
22 public class ShadowAudioManager { class53 public ShadowAudioManager() { in ShadowAudioManager() method in ShadowAudioManager