Home
last modified time | relevance | path

Searched refs:mMaxVolume (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DVolumeProvider.java62 private final int mMaxVolume; field in VolumeProvider
78 mMaxVolume = maxVolume; in VolumeProvider()
98 return mMaxVolume; in getMaxVolume()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java44 private int mMaxVolume; field in HdmiAudioSystemClientTest
149 Assert.assertEquals(maxVolume, mMaxVolume); in assertAudioStatus()
155 mMaxVolume = -1; in resetVariables()
323 mMaxVolume = maxVolume; in reportAudioStatus()
/frameworks/base/media/java/android/media/session/
DMediaController.java967 private final int mMaxVolume; field in MediaController.PlaybackInfo
977 mMaxVolume = max; in PlaybackInfo()
985 mMaxVolume = in.readInt(); in PlaybackInfo()
1024 return mMaxVolume; in getMaxVolume()
1051 + ", maxVolume=" + mMaxVolume + ", currentVolume=" + mCurrentVolume in toString()
1064 dest.writeInt(mMaxVolume); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java115 private int mMaxVolume = 0; field in MediaSessionRecord
298 mOptimisticVolume = Math.max(0, Math.min(mOptimisticVolume, mMaxVolume)); in adjustVolume()
308 + mMaxVolume); in adjustVolume()
335 value = Math.max(0, Math.min(value, mMaxVolume)); in setVolumeTo()
339 mOptimisticVolume = Math.max(0, Math.min(value, mMaxVolume)); in setVolumeTo()
349 + mMaxVolume); in setVolumeTo()
417 return mMaxVolume; in getMaxVolume()
504 + ", max=" + mMaxVolume + ", current=" + mCurrentVolume); in dump()
776 return new PlaybackInfo(mVolumeType, mVolumeControlType, mMaxVolume, current, in getVolumeAttributes()
969 mMaxVolume = max; in setPlaybackToRemote()