/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/ |
D | StreamVolumeManagerTest.java | 100 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/ |
D | DeviceInfo.java | 48 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/ |
D | ShadowAudioManager.java | 290 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/ |
D | audio_mixer_manager_alsa_linux.h | 28 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 40 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
D | audio_mixer_manager_pulse_linux.h | 33 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 47 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
D | audio_device_alsa_linux.h | 91 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 98 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
D | audio_mixer_manager_pulse_linux.cc | 281 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()
|
D | audio_mixer_manager_alsa_linux.cc | 343 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()
|
D | audio_device_pulse_linux.h | 166 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 173 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
/external/webrtc/modules/audio_device/mac/ |
D | audio_mixer_manager_mac.h | 28 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 42 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
D | audio_mixer_manager_mac.cc | 324 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/ |
D | audio_device_dummy.cc | 146 int32_t AudioDeviceDummy::MaxSpeakerVolume(uint32_t& maxVolume) const { in MaxSpeakerVolume() 166 int32_t AudioDeviceDummy::MaxMicrophoneVolume(uint32_t& maxVolume) const { in MaxMicrophoneVolume()
|
D | audio_device_dummy.h | 81 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 88 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
D | file_audio_device.h | 96 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 103 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
/external/webrtc/modules/audio_device/ |
D | audio_device_generic.h | 87 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const = 0; 94 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const = 0;
|
D | audio_device_impl.h | 102 int32_t MaxSpeakerVolume(uint32_t* maxVolume) const override; 109 int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const override;
|
D | audio_device_impl.cc | 422 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/ |
D | audio_device_default.h | 83 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
|
D | audio_device.h | 108 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const = 0; 115 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const = 0;
|
D | mock_audio_device.h | 91 (uint32_t * maxVolume), 108 (uint32_t * maxVolume),
|
/external/webrtc/sdk/objc/native/src/audio/ |
D | audio_device_module_ios.h | 89 int32_t MaxSpeakerVolume(uint32_t* maxVolume) const override; 96 int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const override;
|
D | audio_device_ios.h | 122 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 127 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
/external/webrtc/modules/audio_device/android/ |
D | audio_device_template.h | 253 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
|
D | opensles_player.h | 74 int MaxSpeakerVolume(uint32_t& maxVolume) const;
|
D | aaudio_player.h | 73 int MaxSpeakerVolume(uint32_t& maxVolume) const { return -1; } // NOLINT in MaxSpeakerVolume() argument
|