Home
last modified time | relevance | path

Searched refs:maxVolume (Results 1 – 25 of 38) sorted by relevance

12

/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/
DStreamVolumeManagerTest.java100 int maxVolume = streamVolumeManager.getMaxVolume(); in setVolume_changesStreamVolume() local
101 if (minVolume == maxVolume) { in setVolume_changesStreamVolume()
106 int targetVolume = oldVolume == maxVolume ? minVolume : maxVolume; in setVolume_changesStreamVolume()
120 int maxVolume = streamVolumeManager.getMaxVolume(); in setVolume_withOutOfRange_isIgnored() local
124 streamVolumeManager.setVolume(maxVolume + 1); in setVolume_withOutOfRange_isIgnored()
137 int maxVolume = streamVolumeManager.getMaxVolume(); in increaseVolume_increasesStreamVolumeByOne() local
138 if (minVolume == maxVolume) { in increaseVolume_increasesStreamVolumeByOne()
157 int maxVolume = streamVolumeManager.getMaxVolume(); in increaseVolume_onMaxVolume_isIgnored() local
159 streamVolumeManager.setVolume(maxVolume); in increaseVolume_onMaxVolume_isIgnored()
162 assertThat(streamVolumeManager.getVolume()).isEqualTo(maxVolume); in increaseVolume_onMaxVolume_isIgnored()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/device/
DDeviceInfo.java48 public final int maxVolume; field in DeviceInfo
51 public DeviceInfo(@PlaybackType int playbackType, int minVolume, int maxVolume) { in DeviceInfo() argument
54 this.maxVolume = maxVolume; in DeviceInfo()
68 && maxVolume == other.maxVolume; in equals()
76 result = 31 * result + maxVolume; in hashCode()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java290 private int maxVolume; field in ShadowAudioManager.AudioStream
304 return maxVolume; in getMaxVolume()
312 if (vol > maxVolume) { in setCurrentVolume()
313 vol = maxVolume; in setCurrentVolume()
321 maxVolume = vol; in setMaxVolume()
/external/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_alsa_linux.h28 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
40 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
Daudio_mixer_manager_pulse_linux.h33 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
47 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
Daudio_device_alsa_linux.h91 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
98 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
Daudio_mixer_manager_pulse_linux.cc281 uint32_t& maxVolume) const { in MaxSpeakerVolume()
289 maxVolume = static_cast<uint32_t>(PA_VOLUME_NORM); in MaxSpeakerVolume()
667 uint32_t& maxVolume) const { in MaxMicrophoneVolume()
676 maxVolume = static_cast<uint32_t>(PA_VOLUME_NORM); in MaxMicrophoneVolume()
Daudio_mixer_manager_alsa_linux.cc343 uint32_t& maxVolume) const { in MaxSpeakerVolume()
363 maxVolume = static_cast<uint32_t>(maxVol); in MaxSpeakerVolume()
781 uint32_t& maxVolume) const { in MaxMicrophoneVolume()
806 maxVolume = static_cast<uint32_t>(maxVol); in MaxMicrophoneVolume()
Daudio_device_pulse_linux.h166 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
173 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
/external/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.h28 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const;
42 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
Daudio_mixer_manager_mac.cc324 int32_t AudioMixerManagerMac::MaxSpeakerVolume(uint32_t& maxVolume) const { in MaxSpeakerVolume()
332 maxVolume = 255; in MaxSpeakerVolume()
857 int32_t AudioMixerManagerMac::MaxMicrophoneVolume(uint32_t& maxVolume) const { in MaxMicrophoneVolume()
865 maxVolume = 255; in MaxMicrophoneVolume()
/external/webrtc/modules/audio_device/dummy/
Daudio_device_dummy.cc146 int32_t AudioDeviceDummy::MaxSpeakerVolume(uint32_t& maxVolume) const { in MaxSpeakerVolume()
166 int32_t AudioDeviceDummy::MaxMicrophoneVolume(uint32_t& maxVolume) const { in MaxMicrophoneVolume()
Daudio_device_dummy.h81 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
88 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
Dfile_audio_device.h96 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
103 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
/external/webrtc/modules/audio_device/
Daudio_device_generic.h87 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const = 0;
94 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const = 0;
Daudio_device_impl.h102 int32_t MaxSpeakerVolume(uint32_t* maxVolume) const override;
109 int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const override;
Daudio_device_impl.cc422 int32_t AudioDeviceModuleImpl::MaxSpeakerVolume(uint32_t* maxVolume) const { in MaxSpeakerVolume()
428 *maxVolume = maxVol; in MaxSpeakerVolume()
647 int32_t AudioDeviceModuleImpl::MaxMicrophoneVolume(uint32_t* maxVolume) const { in MaxMicrophoneVolume()
653 *maxVolume = maxVol; in MaxMicrophoneVolume()
/external/webrtc/modules/audio_device/include/
Daudio_device_default.h83 int32_t MaxSpeakerVolume(uint32_t* maxVolume) const override { return 0; } in MaxSpeakerVolume() argument
88 int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const override { return 0; } in MaxMicrophoneVolume() argument
Daudio_device.h108 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const = 0;
115 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const = 0;
Dmock_audio_device.h91 (uint32_t * maxVolume),
108 (uint32_t * maxVolume),
/external/webrtc/sdk/objc/native/src/audio/
Daudio_device_module_ios.h89 int32_t MaxSpeakerVolume(uint32_t* maxVolume) const override;
96 int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const override;
Daudio_device_ios.h122 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
127 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
/external/webrtc/modules/audio_device/android/
Daudio_device_template.h253 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override { in MaxSpeakerVolume() argument
255 return output_.MaxSpeakerVolume(maxVolume); in MaxSpeakerVolume()
278 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override { in MaxMicrophoneVolume() argument
Dopensles_player.h74 int MaxSpeakerVolume(uint32_t& maxVolume) const;
Daaudio_player.h73 int MaxSpeakerVolume(uint32_t& maxVolume) const { return -1; } // NOLINT in MaxSpeakerVolume() argument

12