Home
last modified time | relevance | path

Searched refs:getStreamVolume (Results 1 – 13 of 13) sorted by relevance

/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/
DStreamVolumeManagerTest.java90 int streamVolume = audioManager.getStreamVolume(C.STREAM_TYPE_DEFAULT); in getVolume_returnsStreamVolume()
112 assertThat(audioManager.getStreamVolume(C.STREAM_TYPE_DEFAULT)).isEqualTo(targetVolume); in setVolume_changesStreamVolume()
149 assertThat(audioManager.getStreamVolume(C.STREAM_TYPE_DEFAULT)).isEqualTo(targetVolume); in increaseVolume_increasesStreamVolumeByOne()
183 assertThat(audioManager.getStreamVolume(C.STREAM_TYPE_DEFAULT)).isEqualTo(targetVolume); in decreaseVolume_decreasesStreamVolumeByOne()
235 int testStreamVolume = audioManager.getStreamVolume(testStreamType); in setStreamType_notifiesStreamTypeAndVolume()
/external/webrtc/sdk/android/src/java/org/webrtc/audio/
DVolumeLogger.java65 "STREAM_RING stream volume: " + audioManager.getStreamVolume(AudioManager.STREAM_RING) in run()
70 + audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL) in run()
DWebRtcAudioTrack.java352 private int getStreamVolume() { in getStreamVolume() method in WebRtcAudioTrack
355 return audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in getStreamVolume()
DWebRtcAudioUtils.java224 info.append("volume=").append(audioManager.getStreamVolume(stream)); in logAudioStateVolume()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DStreamVolumeManager.java180 return audioManager.getStreamVolume(streamType); in getVolumeFromManager()
188 return audioManager.getStreamVolume(streamType) == 0; in getMutedFromManager()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java141 assertThat(audioManager.getStreamVolume(stream)).isEqualTo(vol); in setStreamVolume_shouldSetVolume()
163 assertThat(audioManager.getStreamVolume(stream)).isEqualTo(newVol); in setStreamVolume_shouldSetVolumeForAllStreams()
172 assertThat(audioManager.getStreamVolume(stream)).isEqualTo(0); in setStreamVolume_shouldNotAllowNegativeValues()
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java132 + audioManager.getStreamVolume(AudioManager.STREAM_RING) + " (max=" in run()
136 + audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL) + " (max=" in run()
DWebRtcAudioTrack.java371 private int getStreamVolume() { in getStreamVolume() method in WebRtcAudioTrack
375 return audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in getStreamVolume()
DWebRtcAudioUtils.java242 info.append("volume=").append(audioManager.getStreamVolume(stream)); in logAudioStateVolume()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSettingsFacade.java148 return mAudio.getStreamVolume(AudioManager.STREAM_RING); in getRingerVolume()
163 return mAudio.getStreamVolume(AudioManager.STREAM_MUSIC); in getMediaVolume()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java68 protected int getStreamVolume(int streamType) { in getStreamVolume() method in ShadowAudioManager
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DRecorderRunnable.java477 int currentVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in AdjustSoundLevel()
DLoopbackActivity.java923 mSoundLevel = am.getStreamVolume(AudioManager.STREAM_MUSIC); in restartAudioSystem()
1643 int currentVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC); in refreshSoundLevelBar()