/external/webrtc/webrtc/modules/audio_device/test/ |
D | func_test_manager.cc | 228 uint32_t maxVolume(0); in RecordedDataIsAvailable() local 232 EXPECT_EQ(0, _audioDevice->MaxMicrophoneVolume(&maxVolume)); in RecordedDataIsAvailable() 241 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable() 243 if (volume > maxVolume) in RecordedDataIsAvailable() 254 uint32_t maxVolume(0); in RecordedDataIsAvailable() local 257 EXPECT_EQ(0, _audioDevice->MaxMicrophoneVolume(&maxVolume)); in RecordedDataIsAvailable() 266 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable() 268 if (newMicLevel > maxVolume) in RecordedDataIsAvailable() 504 uint32_t maxVolume(0); in NeedMorePlayData() local 508 EXPECT_EQ(0, _audioDevice->MaxSpeakerVolume(&maxVolume)); in NeedMorePlayData() [all …]
|
D | audio_device_test_api.cc | 881 uint32_t maxVolume(0); in TEST_F() local 891 EXPECT_EQ(-1, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F() 915 EXPECT_EQ(0, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F() 918 for (vol = minVolume; vol < (int)maxVolume; vol += 20*stepSize) { in TEST_F() 931 EXPECT_EQ(0, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F() 934 uint32_t step = (maxVolume - minVolume) / 10; in TEST_F() 936 for (vol = minVolume; vol <= maxVolume; vol += step) { in TEST_F() 950 EXPECT_EQ(0, audio_device_->MaxSpeakerVolume(&maxVolume)); in TEST_F() 953 uint32_t step = (maxVolume - minVolume) / 10; in TEST_F() 955 for (vol = minVolume; vol <= maxVolume; vol += step) { in TEST_F() [all …]
|
/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/webrtc/modules/audio_device/mac/ |
D | audio_mixer_manager_mac.h | 28 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 46 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
D | audio_mixer_manager_mac.cc | 334 int32_t AudioMixerManagerMac::MaxSpeakerVolume(uint32_t& maxVolume) const { in MaxSpeakerVolume() 343 maxVolume = 255; in MaxSpeakerVolume() 956 int32_t AudioMixerManagerMac::MaxMicrophoneVolume(uint32_t& maxVolume) const { in MaxMicrophoneVolume() 965 maxVolume = 255; in MaxMicrophoneVolume()
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | audio_mixer_manager_alsa_linux.h | 31 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 47 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
D | audio_mixer_manager_pulse_linux.h | 39 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 57 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
D | audio_mixer_manager_pulse_linux.cc | 339 AudioMixerManagerLinuxPulse::MaxSpeakerVolume(uint32_t& maxVolume) const in MaxSpeakerVolume() 351 maxVolume = static_cast<uint32_t> (PA_VOLUME_NORM); in MaxSpeakerVolume() 897 AudioMixerManagerLinuxPulse::MaxMicrophoneVolume(uint32_t& maxVolume) const in MaxMicrophoneVolume() 910 maxVolume = static_cast<uint32_t> (PA_VOLUME_NORM); in MaxMicrophoneVolume()
|
D | audio_device_alsa_linux.h | 100 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 108 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
D | audio_mixer_manager_alsa_linux.cc | 439 uint32_t& maxVolume) const in MaxSpeakerVolume() 467 maxVolume = static_cast<uint32_t> (maxVol); in MaxSpeakerVolume() 1051 uint32_t& maxVolume) const in MaxMicrophoneVolume() 1086 maxVolume = static_cast<uint32_t> (maxVol); in MaxMicrophoneVolume()
|
D | audio_device_pulse_linux.h | 162 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 170 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
/external/webrtc/webrtc/modules/audio_device/android/ |
D | audio_device_template.h | 256 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override { in MaxSpeakerVolume() argument 257 return output_.MaxSpeakerVolume(maxVolume); in MaxSpeakerVolume() 285 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override { in MaxMicrophoneVolume() argument
|
D | opensles_player.h | 79 int MaxSpeakerVolume(uint32_t& maxVolume) const;
|
/external/webrtc/webrtc/modules/audio_device/dummy/ |
D | audio_device_dummy.cc | 110 int32_t AudioDeviceDummy::MaxSpeakerVolume(uint32_t& maxVolume) const { in MaxSpeakerVolume() 132 int32_t AudioDeviceDummy::MaxMicrophoneVolume(uint32_t& maxVolume) const { in MaxMicrophoneVolume()
|
D | audio_device_dummy.h | 87 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 95 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
D | file_audio_device.h | 107 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 115 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
/external/webrtc/webrtc/modules/audio_device/win/ |
D | audio_mixer_manager_win.h | 58 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 74 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
D | audio_device_wave_win.h | 107 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 115 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
/external/webrtc/webrtc/modules/audio_device/ |
D | audio_device_impl.cc | 703 int32_t AudioDeviceModuleImpl::MaxSpeakerVolume(uint32_t* maxVolume) const in MaxSpeakerVolume() 714 *maxVolume = maxVol; in MaxSpeakerVolume() 716 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: maxVolume=%d", *maxVolume); in MaxSpeakerVolume() 1240 int32_t AudioDeviceModuleImpl::MaxMicrophoneVolume(uint32_t* maxVolume) const in MaxMicrophoneVolume() 1252 *maxVolume = maxVol; in MaxMicrophoneVolume() 1254 WEBRTC_TRACE(kTraceStream, kTraceAudioDevice, _id, "output: maxVolume=%d", *maxVolume); in MaxMicrophoneVolume()
|
D | audio_device_generic.h | 84 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const = 0; 92 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const = 0;
|
D | audio_device_impl.h | 120 int32_t MaxSpeakerVolume(uint32_t* maxVolume) const override; 128 int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const override;
|
/external/webrtc/webrtc/modules/audio_device/include/ |
D | fake_audio_device.h | 82 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const { return 0; } in MaxSpeakerVolume() argument 88 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const { return 0; } in MaxMicrophoneVolume() argument
|
D | audio_device.h | 121 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const = 0; 129 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const = 0;
|
/external/webrtc/webrtc/modules/audio_device/ios/ |
D | audio_device_ios.h | 117 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 123 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
D | audio_device_not_implemented_ios.mm | 80 int32_t AudioDeviceIOS::MaxSpeakerVolume(uint32_t& maxVolume) const { 230 int32_t AudioDeviceIOS::MaxMicrophoneVolume(uint32_t& maxVolume) const {
|