Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiAudioSystemClient.java91 public void sendReportAudioStatusCecCommand(boolean isMuteAdjust, int volume, int maxVolume, in sendReportAudioStatusCecCommand() argument
96 mService.reportAudioStatus(getDeviceType(), volume, maxVolume, isMute); in sendReportAudioStatusCecCommand() local
104 mLastMaxVolume = maxVolume; in sendReportAudioStatusCecCommand()
108 mService.reportAudioStatus(getDeviceType(), volume, maxVolume, isMute); in sendReportAudioStatusCecCommand() local
DIHdmiControlService.aidl80 void reportAudioStatus(int deviceType, int volume, int maxVolume, boolean isMute); in reportAudioStatus() argument
/frameworks/base/media/java/android/media/
DVolumeProvider.java76 public VolumeProvider(@ControlType int volumeControl, int maxVolume, int currentVolume) { in VolumeProvider() argument
78 mMaxVolume = maxVolume; in VolumeProvider()
DMediaRouter.java2447 SessionVolumeProvider(int volumeControl, int maxVolume, int currentVolume) { in SessionVolumeProvider() argument
2448 super(volumeControl, maxVolume, currentVolume); in SessionVolumeProvider()
2695 int maxVolume = 0; in routeUpdated() local
2702 if (routeMaxVolume > maxVolume) { in routeUpdated()
2703 maxVolume = routeMaxVolume; in routeUpdated()
2711 mVolumeMax = maxVolume; in routeUpdated()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java147 private void assertAudioStatus(int volume, int maxVolume, boolean isMute) { in assertAudioStatus() argument
149 Assert.assertEquals(maxVolume, mMaxVolume); in assertAudioStatus()
320 public void reportAudioStatus(final int deviceType, final int volume, final int maxVolume, in reportAudioStatus() argument
323 mMaxVolume = maxVolume; in reportAudioStatus()
/frameworks/base/services/core/java/com/android/server/hdmi/
DVolumeControlAction.java166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() local
167 return currentVolume == maxVolume; in shouldUpdateAudioVolume()
DHdmiCecLocalDeviceTv.java992 int maxVolume = mService.getAudioManager().getStreamMaxVolume( in setAudioStatus() local
995 VolumeControlAction.scaleToCustomVolume(volume, maxVolume)); in setAudioStatus()
1002 void changeVolume(int curVolume, int delta, int maxVolume) { in changeVolume() argument
1013 int cecVolume = VolumeControlAction.scaleToCecVolume(targetVolume, maxVolume); in changeVolume()
1020 VolumeControlAction.scaleToCustomVolume(mSystemAudioVolume, maxVolume)); in changeVolume()
DHdmiCecLocalDeviceAudioSystem.java841 int maxVolume = mService.getAudioManager().getStreamMaxVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus() local
843 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus()
845 minVolume, maxVolume, scaledVolume); in reportAudioStatus()
DHdmiControlService.java2007 public void reportAudioStatus(final int deviceType, final int volume, final int maxVolume, in reportAudioStatus() argument
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java658 int maxVolume = AudioSystem.getMaxVolumeIndexForAttributes(attr); in AudioService() local
659 if (maxVolume != -1) { in AudioService()
660 MAX_STREAM_VOLUME[streamType] = maxVolume; in AudioService()
1955 private void setSystemAudioVolume(int oldVolume, int newVolume, int maxVolume, int flags) { in setSystemAudioVolume() argument
1968 mHdmiTvClient.setSystemAudioVolume(oldVolume, newVolume, maxVolume); in setSystemAudioVolume()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt43363 Landroid/media/session/ParcelableVolumeInfo;->maxVolume:I