Home
last modified time | relevance | path

Searched refs:streamState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DSoundDoseHelper.java635 AudioService.VolumeStreamState streamState = mAudioService.getVssVolumeForStream( in enforceSafeMediaVolume() local
640 int index = streamState.getIndex(deviceType); in enforceSafeMediaVolume()
643 streamState.setIndex(safeIndex, deviceType, caller, in enforceSafeMediaVolume()
647 /*arg2=*/0, streamState), /*delay=*/0); in enforceSafeMediaVolume()
821 final AudioService.VolumeStreamState streamState = in handleMessage() local
824 updateDoseAttenuation(streamState.getIndex(device), device, in handleMessage()
825 streamState.getStreamType(), isAbsoluteVolume); in handleMessage()
DAudioService.java1433 VolumeStreamState streamState = mStreamStates[streamType]; in initVolumeStreamStates() local
1437 streamState.setVolumeGroupState(sVolumeGroupStates.get(groupId)); in initVolumeStreamStates()
2040 VolumeStreamState streamState = mStreamStates[streamType]; in onReinitVolumes() local
2042 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10); in onReinitVolumes()
2050 streamState.applyAllVolumes(); in onReinitVolumes()
3644 VolumeStreamState streamState = mStreamStates[streamTypeAlias]; in adjustStreamVolume() local
3648 int aliasIndex = streamState.getIndex(device); in adjustStreamVolume()
3682 step = streamState.getMaxIndex(); in adjustStreamVolume()
3704 streamState.mIsMuted, callingPackage, flags); in adjustStreamVolume()
3714 } else if (isStreamMutedByRingerOrZenMode(streamTypeAlias) && streamState.mIsMuted) { in adjustStreamVolume()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java2040 private boolean isStreamMuted(final StreamState streamState) {
2041 return (mAutomute && streamState.level == 0) || streamState.muted;