Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogComponent.java76 private VolumePolicy mVolumePolicy; field in VolumeDialogComponent
113 mVolumePolicy = new VolumePolicy( in VolumeDialogComponent()
129 boolean volumeDownToEnterSilent = mVolumePolicy.volumeDownToEnterSilent; in onTuningChanged()
130 boolean volumeUpToExitSilent = mVolumePolicy.volumeUpToExitSilent; in onTuningChanged()
131 boolean doNotDisturbWhenSilent = mVolumePolicy.doNotDisturbWhenSilent; in onTuningChanged()
145 mVolumePolicy.vibrateToSilentDebounce); in onTuningChanged()
150 mVolumePolicy = new VolumePolicy(volumeDownToEnterSilent, volumeUpToExitSilent, in setVolumePolicy()
152 mController.setVolumePolicy(mVolumePolicy); in setVolumePolicy()
165 mController.setVolumePolicy(mVolumePolicy); in applyConfiguration()
DVolumeDialogControllerImpl.java155 private VolumePolicy mVolumePolicy; field in VolumeDialogControllerImpl
268 setVolumePolicy(mVolumePolicy); in register()
278 mVolumePolicy = policy; in setVolumePolicy()
279 if (mVolumePolicy == null) return; in setVolumePolicy()
281 mAudio.setVolumePolicy(mVolumePolicy); in setVolumePolicy()
295 pw.print(" mVolumePolicy: "); pw.println(mVolumePolicy); in dump()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java975 private VolumePolicy mVolumePolicy = VolumePolicy.DEFAULT; field in AudioService
4000 : mVolumePolicy.volumeDownToEnterSilent ? AudioManager.RINGER_MODE_SILENT in getNewRingerMode()
5706 ringerMode, caller, ringerModeInternal, mVolumePolicy); in setRingerMode()
5717 ringerMode, caller, ringerModeExternal, mVolumePolicy); in setRingerMode()
6946 if (oldIndex == step && mVolumePolicy.volumeDownToEnterSilent) { in checkForRingerModeChange()
6960 if (mVolumePolicy.volumeDownToEnterSilent) { in checkForRingerModeChange()
6963 if (diff > mVolumePolicy.vibrateToSilentDebounce in checkForRingerModeChange()
6982 if (!mVolumePolicy.volumeUpToExitSilent) { in checkForRingerModeChange()
11849 pw.print(" mVolumePolicy="); pw.println(mVolumePolicy); in dump()
12121 if (policy != null && !policy.equals(mVolumePolicy)) { in setVolumePolicy()
[all …]