Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DVolumeProvider.java79 public VolumeProvider(@ControlType int volumeControl, int maxVolume, int currentVolume) { in VolumeProvider() argument
80 this(volumeControl, maxVolume, currentVolume, null); in VolumeProvider()
94 public VolumeProvider(@ControlType int volumeControl, int maxVolume, int currentVolume, in VolumeProvider() argument
97 mMaxVolume = maxVolume; in VolumeProvider()
DMediaRouter.java2547 SessionVolumeProvider(int volumeControl, int maxVolume, int currentVolume) { in SessionVolumeProvider() argument
2548 super(volumeControl, maxVolume, currentVolume); in SessionVolumeProvider()
2795 int maxVolume = 0; in routeUpdated() local
2802 if (routeMaxVolume > maxVolume) { in routeUpdated()
2803 maxVolume = routeMaxVolume; in routeUpdated()
2811 mVolumeMax = maxVolume; in routeUpdated()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiAudioSystemClient.java89 public void sendReportAudioStatusCecCommand(boolean isMuteAdjust, int volume, int maxVolume, in sendReportAudioStatusCecCommand() argument
94 mService.reportAudioStatus(getDeviceType(), volume, maxVolume, isMute); in sendReportAudioStatusCecCommand() local
102 mLastMaxVolume = maxVolume; in sendReportAudioStatusCecCommand()
106 mService.reportAudioStatus(getDeviceType(), volume, maxVolume, isMute); in sendReportAudioStatusCecCommand() local
DHdmiControlServiceWrapper.java276 public void reportAudioStatus(int deviceType, int volume, int maxVolume, boolean isMute) {
277 HdmiControlServiceWrapper.this.reportAudioStatus(deviceType, volume, maxVolume, isMute);
522 public void reportAudioStatus(int deviceType, int volume, int maxVolume, boolean isMute) {} in reportAudioStatus() argument
DIHdmiControlService.aidl89 void reportAudioStatus(int deviceType, int volume, int maxVolume, boolean isMute); in reportAudioStatus() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputSeekbar.java52 void setMaxVolume(int maxVolume) { in setMaxVolume() argument
53 setMax(maxVolume * SCALE_SIZE); in setMaxVolume()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java148 private void assertAudioStatus(int volume, int maxVolume, boolean isMute) { in assertAudioStatus() argument
150 Assert.assertEquals(maxVolume, mMaxVolume); in assertAudioStatus()
339 public void reportAudioStatus(final int deviceType, final int volume, final int maxVolume, in reportAudioStatus() argument
342 mMaxVolume = maxVolume; in reportAudioStatus()
/frameworks/base/services/core/java/com/android/server/hdmi/
DVolumeControlAction.java165 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() local
166 return currentVolume == maxVolume; in shouldUpdateAudioVolume()
DHdmiCecLocalDeviceAudioSystem.java766 int maxVolume = mService.getAudioManager().getStreamMaxVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus() local
768 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus()
770 minVolume, maxVolume, scaledVolume); in reportAudioStatus()
DHdmiCecLocalDeviceTv.java948 void changeVolume(int curVolume, int delta, int maxVolume) { in changeVolume() argument
960 int cecVolume = VolumeControlAction.scaleToCecVolume(targetVolume, maxVolume); in changeVolume()
967 VolumeControlAction.scaleToCustomVolume(mSystemAudioVolume, maxVolume)); in changeVolume()
DHdmiControlService.java2417 public void reportAudioStatus(final int deviceType, final int volume, final int maxVolume, in reportAudioStatus() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java683 int maxVolume = mHdmiControlService.getAudioManager() in giveAudioStatus_volumeEnabled() local
685 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in giveAudioStatus_volumeEnabled()
711 int maxVolume = mHdmiControlService.getAudioManager() in giveAudioStatus_volumeDisabled() local
713 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in giveAudioStatus_volumeDisabled()
739 int maxVolume = mHdmiControlService.getAudioManager() in reportAudioStatus_volumeEnabled() local
741 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus_volumeEnabled()
764 int maxVolume = mHdmiControlService.getAudioManager() in reportAudioStatus_volumeDisabled() local
766 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus_volumeDisabled()
/frameworks/av/services/mediametrics/
DAudioPowerUsage.cpp339 double maxVolume = AMEDIAMETRICS_INITIAL_MAX_VOLUME; in checkTrackRecord() local
349 if (!item->getDouble(AMEDIAMETRICS_PROP_DEVICEMAXVOLUME, &maxVolume)) { in checkTrackRecord()
393 maxVolumeDurationNs, maxVolume, minVolumeDurationNs, minVolume); in checkTrackRecord()
/frameworks/base/media/java/android/media/session/
DMediaController.java1010 @IntRange(from = 0) int maxVolume, @IntRange(from = 0) int currentVolume, in PlaybackInfo()
1014 mMaxVolume = maxVolume; in PlaybackInfo()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1056 int maxVolume = AudioSystem.getMaxVolumeIndexForAttributes(attr); in AudioService() local
1057 if (maxVolume != -1) { in AudioService()
1058 MAX_STREAM_VOLUME[streamType] = maxVolume; in AudioService()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt30284 Landroid/media/session/ParcelableVolumeInfo;->maxVolume:I