Searched refs:getStreamMaxVolume (Results 1 – 9 of 9) sorted by relevance
109 assertThat(audioManager.getStreamMaxVolume(stream)) in getStreamMaxVolume_shouldReturnMaxVolume()118 assertThat(audioManager.getStreamMaxVolume(stream)) in getStreamMaxVolume_shouldReturnMaxVolume()154 assertThat(audioManager.getStreamMaxVolume(stream)).isEqualTo(newMaxVol); in setStreamMaxVolume_shouldSetMaxVolumeForAllStreams()184 assertThat(audioManager.getStreamMaxVolume(stream)) in setStreamVolume_shouldNotExceedMaxVolume()193 assertThat(audioManager.getStreamMaxVolume(stream)) in setStreamVolume_shouldNotExceedMaxVolume()
223 private int getStreamMaxVolume() {226 return audioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL);
71 final int maxLevel = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in calibrate()
196 mMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in initBufferRecord()
540 int maxVolume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in onCreate()
143 return mAudio.getStreamMaxVolume(AudioManager.STREAM_RING); in getMaxRingerVolume()158 return mAudio.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getMaxMediaVolume()
62 protected int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() method in ShadowAudioManager
186 …am.setStreamVolume(AudioManager.STREAM_MUSIC, am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), 0); in onClick()
358 _maxVolume = am.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL); in onCreate()