Searched refs:MAX_STREAM_VOLUME (Results 1 – 2 of 2) sorted by relevance
23 import static com.android.server.audio.AudioService.MAX_STREAM_VOLUME;610 return MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC]; in safeMediaVolumeIndex()1135 int max = MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC]; in getSafeDeviceMediaVolumeIndex()
520 protected static int[] MAX_STREAM_VOLUME = new int[] { field in AudioService1214 MAX_STREAM_VOLUME[streamType] = maxVolume; in AudioService()1231 MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] = maxCallVolume; in AudioService()1236 defaultCallVolume <= MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] && in AudioService()1241 (MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] * 3) / 4; in AudioService()1246 MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] = maxMusicVolume; in AudioService()1251 defaultMusicVolume <= MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] && in AudioService()1257 MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] / 4; in AudioService()1260 MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] / 3; in AudioService()1266 MAX_STREAM_VOLUME[AudioSystem.STREAM_ALARM] = maxAlarmVolume; in AudioService()[all …]