Searched refs:safeIndex (Results 1 – 2 of 2) sorted by relevance
641 int safeIndex = safeMediaVolumeIndex(deviceType); in enforceSafeMediaVolume() local642 if (index > safeIndex) { in enforceSafeMediaVolume()643 streamState.setIndex(safeIndex, deviceType, caller, in enforceSafeMediaVolume()
7414 final int safeIndex = idx <= MIN_STREAM_VOLUME[AudioSystem.STREAM_ALARM] in initMinStreamVolumeWithoutModifyAudioSettings() local7420 mStreamStates[stream].updateNoPermMinIndex(safeIndex); in initMinStreamVolumeWithoutModifyAudioSettings()