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.aidl83 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()
330 public void reportAudioStatus(final int deviceType, final int volume, final int maxVolume, in reportAudioStatus() argument
333 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.java998 int maxVolume = mService.getAudioManager().getStreamMaxVolume( in setAudioStatus() local
1001 VolumeControlAction.scaleToCustomVolume(volume, maxVolume)); in setAudioStatus()
1008 void changeVolume(int curVolume, int delta, int maxVolume) { in changeVolume() argument
1019 int cecVolume = VolumeControlAction.scaleToCecVolume(targetVolume, maxVolume); in changeVolume()
1026 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.java2056 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.java652 int maxVolume = AudioSystem.getMaxVolumeIndexForAttributes(attr); in AudioService() local
653 if (maxVolume != -1) { in AudioService()
654 MAX_STREAM_VOLUME[streamType] = maxVolume; in AudioService()
2025 private void setSystemAudioVolume(int oldVolume, int newVolume, int maxVolume, int flags) { in setSystemAudioVolume() argument
2038 mHdmiTvClient.setSystemAudioVolume(oldVolume, newVolume, maxVolume); in setSystemAudioVolume()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt40419 Landroid/media/session/ParcelableVolumeInfo;->maxVolume:I