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.java64 private VolumePolicy mVolumePolicy = new VolumePolicy( field in VolumeDialogComponent
104 boolean volumeDownToEnterSilent = mVolumePolicy.volumeDownToEnterSilent; in onTuningChanged()
105 boolean volumeUpToExitSilent = mVolumePolicy.volumeUpToExitSilent; in onTuningChanged()
106 boolean doNotDisturbWhenSilent = mVolumePolicy.doNotDisturbWhenSilent; in onTuningChanged()
120 mVolumePolicy.vibrateToSilentDebounce); in onTuningChanged()
125 mVolumePolicy = new VolumePolicy(volumeDownToEnterSilent, volumeUpToExitSilent, in setVolumePolicy()
127 mController.setVolumePolicy(mVolumePolicy); in setVolumePolicy()
143 mController.setVolumePolicy(mVolumePolicy); in applyConfiguration()
DVolumeDialogControllerImpl.java133 private VolumePolicy mVolumePolicy; field in VolumeDialogControllerImpl
204 setVolumePolicy(mVolumePolicy); in register()
214 mVolumePolicy = policy; in setVolumePolicy()
215 if (mVolumePolicy == null) return; in setVolumePolicy()
217 mAudio.setVolumePolicy(mVolumePolicy); in setVolumePolicy()
242 pw.print(" mVolumePolicy: "); pw.println(mVolumePolicy); in dump()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java558 private VolumePolicy mVolumePolicy = VolumePolicy.DEFAULT; field in AudioService
2010 : mVolumePolicy.volumeDownToEnterSilent ? AudioManager.RINGER_MODE_SILENT in getNewRingerMode()
2982 ringerMode, caller, ringerModeInternal, mVolumePolicy); in setRingerMode()
2993 ringerMode, caller, ringerModeExternal, mVolumePolicy); in setRingerMode()
3910 if (oldIndex == step && mVolumePolicy.volumeDownToEnterSilent) { in checkForRingerModeChange()
3936 if (mVolumePolicy.volumeDownToEnterSilent) { in checkForRingerModeChange()
3939 if (diff > mVolumePolicy.vibrateToSilentDebounce in checkForRingerModeChange()
3961 if (!mVolumePolicy.volumeUpToExitSilent) { in checkForRingerModeChange()
6402 pw.print(" mVolumePolicy="); pw.println(mVolumePolicy); in dump()
6515 if (policy != null && !policy.equals(mVolumePolicy)) { in setVolumePolicy()
[all …]