Home
last modified time | relevance | path

Searched refs:ZEN_MODE_ALARMS (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java93 if (zen == Global.ZEN_MODE_ALARMS) return false; // not an alarm in matchesCallFilter()
139 case Global.ZEN_MODE_ALARMS: in shouldIntercept()
DZenLog.java200 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
DZenModeHelper.java974 } else if (rule.zenMode == Global.ZEN_MODE_ALARMS) { in applyCustomPolicy()
1024 final boolean zenAlarmsOnly = mZenMode == Global.ZEN_MODE_ALARMS; in applyRestrictions()
1104 case Global.ZEN_MODE_ALARMS: in applyZenToRingerMode()
1175 case Global.ZEN_MODE_ALARMS: return 2; in zenSeverity()
1282 || mZenMode == Global.ZEN_MODE_ALARMS in onSetRingerModeInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java316 case Global.ZEN_MODE_ALARMS: return ZEN_MODE_ALARMS_ONLY; in fromZenMode()
516 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
DZenModePanel.java180 Global.ZEN_MODE_ALARMS); in createZenButtons()
286 case Global.ZEN_MODE_ALARMS: in prefKeyForConfirmation()
464 final boolean zenAlarm = zen == Global.ZEN_MODE_ALARMS; in updateWidgets()
763 case Global.ZEN_MODE_ALARMS: in announceConditionSelection()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java30 import static android.provider.Settings.Global.ZEN_MODE_ALARMS;
179 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, policy, r)); in testSuppressDNDInfo_no()
DZenModeConfigTest.java197 rule.zenMode = Settings.Global.ZEN_MODE_ALARMS; in testRuleXml()
DZenModeHelperTest.java382 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_alarmMediaMuteNotApplied()
405 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_callsMuteApplied()
419 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied()
468 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_ALARMS; in testApplyRestrictions_whitelist_alarmsOnlyMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java94 Global.ZEN_MODE_ALARMS); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java19 import static android.provider.Settings.Global.ZEN_MODE_ALARMS;
261 case ZEN_MODE_ALARMS: in handleUpdateState()
/frameworks/base/core/proto/android/service/
Dnotification.proto150 ZEN_MODE_ALARMS = 3; enumerator
289 ZEN_MODE_ALARMS = 3; enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java192 mProvider.onZenChanged(Settings.Global.ZEN_MODE_ALARMS); in onZenChanged_updatesSlice()
/frameworks/base/core/java/android/app/
DNotificationManager.java2330 case Global.ZEN_MODE_ALARMS: return INTERRUPTION_FILTER_ALARMS; in zenModeToInterruptionFilter()
2341 case INTERRUPTION_FILTER_ALARMS: return Global.ZEN_MODE_ALARMS; in zenModeFromInterruptionFilter()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java249 return mNotificationOrRing && mZenMode == Global.ZEN_MODE_ALARMS in isZenMuted()
/frameworks/base/core/java/android/provider/
DSettings.java12816 public static final int ZEN_MODE_ALARMS = 3; field in Settings.Global
12820 if (mode == ZEN_MODE_ALARMS) return "ZEN_MODE_ALARMS"; in zenModeToString()
12829 case Global.ZEN_MODE_ALARMS: in isValidZenMode()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java2053 || zen == Global.ZEN_MODE_ALARMS in isZenOverridingRinger()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2818 case Settings.Global.ZEN_MODE_ALARMS: in volumeAdjustmentAllowedByDnd()
/frameworks/base/cmds/statsd/src/
Datoms.proto6257 ZEN_MODE_ALARMS = 3; enumerator