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.java134 private VolumePolicy mVolumePolicy; field in VolumeDialogControllerImpl
205 setVolumePolicy(mVolumePolicy); in register()
215 mVolumePolicy = policy; in setVolumePolicy()
216 if (mVolumePolicy == null) return; in setVolumePolicy()
218 mAudio.setVolumePolicy(mVolumePolicy); in setVolumePolicy()
243 pw.print(" mVolumePolicy: "); pw.println(mVolumePolicy); in dump()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java546 private VolumePolicy mVolumePolicy = VolumePolicy.DEFAULT; field in AudioService
2080 : mVolumePolicy.volumeDownToEnterSilent ? AudioManager.RINGER_MODE_SILENT in getNewRingerMode()
3076 ringerMode, caller, ringerModeInternal, mVolumePolicy); in setRingerMode()
3087 ringerMode, caller, ringerModeExternal, mVolumePolicy); in setRingerMode()
3874 if (oldIndex == step && mVolumePolicy.volumeDownToEnterSilent) { in checkForRingerModeChange()
3900 if (mVolumePolicy.volumeDownToEnterSilent) { in checkForRingerModeChange()
3903 if (diff > mVolumePolicy.vibrateToSilentDebounce in checkForRingerModeChange()
3925 if (!mVolumePolicy.volumeUpToExitSilent) { in checkForRingerModeChange()
6546 pw.print(" mVolumePolicy="); pw.println(mVolumePolicy); in dump()
6662 if (policy != null && !policy.equals(mVolumePolicy)) { in setVolumePolicy()
[all …]