Searched refs:getStreamVolume (Results 1 – 13 of 13) sorted by relevance
90 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()
65 "STREAM_RING stream volume: " + audioManager.getStreamVolume(AudioManager.STREAM_RING) in run()70 + audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL) in run()
352 private int getStreamVolume() { in getStreamVolume() method in WebRtcAudioTrack355 return audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in getStreamVolume()
224 info.append("volume=").append(audioManager.getStreamVolume(stream)); in logAudioStateVolume()
180 return audioManager.getStreamVolume(streamType); in getVolumeFromManager()188 return audioManager.getStreamVolume(streamType) == 0; in getMutedFromManager()
141 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()
132 + audioManager.getStreamVolume(AudioManager.STREAM_RING) + " (max=" in run()136 + audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL) + " (max=" in run()
371 private int getStreamVolume() { in getStreamVolume() method in WebRtcAudioTrack375 return audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL); in getStreamVolume()
242 info.append("volume=").append(audioManager.getStreamVolume(stream)); in logAudioStateVolume()
148 return mAudio.getStreamVolume(AudioManager.STREAM_RING); in getRingerVolume()163 return mAudio.getStreamVolume(AudioManager.STREAM_MUSIC); in getMediaVolume()
68 protected int getStreamVolume(int streamType) { in getStreamVolume() method in ShadowAudioManager
477 int currentVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in AdjustSoundLevel()
923 mSoundLevel = am.getStreamVolume(AudioManager.STREAM_MUSIC); in restartAudioSystem()1643 int currentVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC); in refreshSoundLevelBar()