/frameworks/av/packages/MediaComponents/src/com/android/media/ |
VolumeProvider2Impl.java | 34 @VolumeProvider2.ControlType int controlType, int maxVolume, int currentVolume) { 39 if (maxVolume < 0 || currentVolume < 0) { 41 + ", maxVolume=" + maxVolume + ", currentVolume=" + currentVolume); 43 if (currentVolume > maxVolume) { 44 throw new IllegalArgumentException("currentVolume shouldn't be greater than maxVolume" 45 + ", maxVolume=" + maxVolume + ", currentVolume=" + currentVolume); 49 mMaxVolume = maxVolume;
|
/frameworks/base/media/java/android/media/session/ |
ParcelableVolumeInfo.java | 32 public int maxVolume; 36 int maxVolume, 41 this.maxVolume = maxVolume; 48 maxVolume = from.readInt(); 62 dest.writeInt(maxVolume);
|
/frameworks/support/media/src/main/java/android/support/v4/media/session/ |
ParcelableVolumeInfo.java | 29 public int maxVolume; 33 int maxVolume, 38 this.maxVolume = maxVolume; 45 maxVolume = from.readInt(); 59 dest.writeInt(maxVolume);
|
/frameworks/support/media/api21/androidx/media/ |
VolumeProviderCompatApi21.java | 25 public static Object createVolumeProvider(int volumeControl, int maxVolume, int currentVolume, 27 return new VolumeProvider(volumeControl, maxVolume, currentVolume) {
|
/frameworks/base/media/java/android/media/ |
VolumeProvider.java | 73 * @param maxVolume The maximum allowed volume. 76 public VolumeProvider(@ControlType int volumeControl, int maxVolume, int currentVolume) { 78 mMaxVolume = maxVolume;
|
VolumeProvider2.java | 74 * @param maxVolume The maximum allowed volume. 77 public VolumeProvider2(@ControlType int controlType, int maxVolume, int currentVolume) { 79 this, controlType, maxVolume, currentVolume);
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
audio_mixer_manager_alsa_linux.h | 31 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 47 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
audio_mixer_manager_pulse_linux.h | 39 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 57 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
/external/webrtc/webrtc/modules/audio_device/mac/ |
audio_mixer_manager_mac.h | 28 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 46 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
/frameworks/support/media/src/main/java/androidx/media/ |
VolumeProviderCompat.java | 79 * @param maxVolume The maximum allowed volume. 82 public VolumeProviderCompat(@ControlType int volumeControl, int maxVolume, int currentVolume) { 84 mMaxVolume = maxVolume;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowAudioManager.java | 209 private int maxVolume; 223 return maxVolume; 231 if (vol > maxVolume) { 232 vol = maxVolume; 240 maxVolume = vol;
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
VolumeAdapter.java | 55 vh.maxVolume = convertView.findViewById(R.id.volume_limit); 66 vh.maxVolume.setText(String.valueOf(mVolumeList[position].mMax)); 106 TextView maxVolume;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
VolumeControlAction.java | 166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); 167 return currentVolume == maxVolume;
|
/cts/tests/tests/media/src/android/media/cts/ |
RingtoneTest.java | 57 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_RING); 61 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, maxVolume / 2, 64 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, maxVolume / 2, 71 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, maxVolume / 2,
|
/external/webrtc/webrtc/modules/audio_device/android/ |
opensles_player.h | 79 int MaxSpeakerVolume(uint32_t& maxVolume) const;
|
/external/webrtc/webrtc/modules/audio_device/test/ |
func_test_manager.cc | 228 uint32_t maxVolume(0); 232 EXPECT_EQ(0, _audioDevice->MaxMicrophoneVolume(&maxVolume)); 241 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); 243 if (volume > maxVolume) 254 uint32_t maxVolume(0); 257 EXPECT_EQ(0, _audioDevice->MaxMicrophoneVolume(&maxVolume)); 266 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); 268 if (newMicLevel > maxVolume) 504 uint32_t maxVolume(0); 508 EXPECT_EQ(0, _audioDevice->MaxSpeakerVolume(&maxVolume)); [all...] |
audio_device_test_api.cc | 881 uint32_t maxVolume(0); 891 EXPECT_EQ(-1, audio_device_->MaxSpeakerVolume(&maxVolume)); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
RingerModeActivity.java | 840 int maxVolume = mAudioManager.getStreamMaxVolume(stream); 845 assertTrue(String.format("minVolume(%d) must be < maxVolume(%d)", minVolume, 846 maxVolume), 847 minVolume < maxVolume); 851 assertEquals(maxVolume, mAudioManager.getStreamVolume(stream)); [all...] |
/external/webrtc/webrtc/modules/audio_device/ |
audio_device_generic.h | 84 virtual int32_t MaxSpeakerVolume(uint32_t& maxVolume) const = 0; 92 virtual int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const = 0;
|
/external/webrtc/webrtc/modules/audio_device/dummy/ |
audio_device_dummy.cc | 110 int32_t AudioDeviceDummy::MaxSpeakerVolume(uint32_t& maxVolume) const { 132 int32_t AudioDeviceDummy::MaxMicrophoneVolume(uint32_t& maxVolume) const {
|
audio_device_dummy.h | 87 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 95 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
|
/external/webrtc/webrtc/modules/audio_device/include/ |
audio_device.h | 121 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const = 0; 129 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const = 0;
|
fake_audio_device.h | 82 virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const { return 0; } 88 virtual int32_t MaxMicrophoneVolume(uint32_t* maxVolume) const { return 0; }
|
/external/webrtc/webrtc/modules/audio_device/win/ |
audio_mixer_manager_win.h | 58 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const; 74 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const;
|
/external/webrtc/webrtc/modules/audio_device/ios/ |
audio_device_not_implemented_ios.mm | 80 int32_t AudioDeviceIOS::MaxSpeakerVolume(uint32_t& maxVolume) const { 230 int32_t AudioDeviceIOS::MaxMicrophoneVolume(uint32_t& maxVolume) const {
|