Home
last modified time | relevance | path

Searched refs:mZenMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java42 private int mZenMode; field in TunerZenModePanel
92 if (mZenMode == Global.ZEN_MODE_OFF) { in onClick()
93 mZenMode = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, in onClick()
95 mController.setZen(mZenMode, null, TAG); in onClick()
98 mZenMode = Global.ZEN_MODE_OFF; in onClick()
118 mZenMode = zenMode; in setZenState()
135 boolean zenOn = mZenMode != Global.ZEN_MODE_OFF; in updatePanel()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java111 @VisibleForTesting protected int mZenMode; field in ZenModeHelper
159 return ZenModeFiltering.matchesCallFilter(mContext, mZenMode, mConsolidatedPolicy, in matchesCallFilter()
174 return mFiltering.shouldIntercept(mZenMode, mConsolidatedPolicy, record); in shouldIntercept()
202 showZenUpgradeNotification(mZenMode); in onSystemReady()
240 return NotificationManager.zenModeToInterruptionFilter(mZenMode); in getZenModeListenerInterruptionFilter()
262 return mZenMode; in getZenMode()
615 proto.write(ZenModeProto.ZEN_MODE, mZenMode); in dump()
633 pw.println(Global.zenModeToString(mZenMode)); in dump()
899 final int zenBefore = mZenMode; in evaluateZenMode()
902 mZenMode = zen; in evaluateZenMode()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java219 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_OFF; in testZenOff_NoMuteApplied()
233 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
246 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
261 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; in testTotalSilence()
283 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_alarmMediaMuteNotApplied()
306 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_callsMuteApplied()
320 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied()
332 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenAllCannotBypass()
354 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testApplyRestrictions_whitelist_priorityOnlyMode()
369 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_ALARMS; in testApplyRestrictions_whitelist_alarmsOnlyMode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java77 private int mZenMode; field in ZenModeControllerImpl
119 if (mZenMode != Global.ZEN_MODE_OFF) { in areNotificationsHiddenInShade()
142 return mZenMode; in getZen()
250 mZenMode = mode; in updateZenMode()
301 pw.println(" mZenMode=" + mZenMode); in dump()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java121 private int mZenMode; field in SeekBarVolumizer
162 mZenMode = mNotificationManager.getZenMode(); in SeekBarVolumizer()
249 return mNotificationOrRing && mZenMode == Global.ZEN_MODE_ALARMS in isZenMuted()
250 || mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS in isZenMuted()
251 || (mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in isZenMuted()
566 mZenMode = mNotificationManager.getZenMode(); in onReceive()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54506 Landroid/preference/SeekBarVolumizer;->mZenMode:I