Searched refs:ZEN_MODE_NO_INTERRUPTIONS (Results 1 – 16 of 16) sorted by relevance
22 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS;161 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no()180 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()183 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()
261 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; in testTotalSilence()384 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_NO_INTERRUPTIONS; in testApplyRestrictions_whitelist_totalSilenceMode()474 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; in testRingerAffectedStreamsTotalSilence()
91 if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) return false; // nothing gets through in matchesCallFilter()134 case Global.ZEN_MODE_NO_INTERRUPTIONS: in shouldIntercept()
200 case Global.ZEN_MODE_NO_INTERRUPTIONS: return "no_interruptions"; in zenModeToString()
998 final boolean zenSilence = mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS; in applyRestrictions()1077 case Global.ZEN_MODE_NO_INTERRUPTIONS: in applyZenToRingerMode()1143 case Global.ZEN_MODE_NO_INTERRUPTIONS: return 3; in zenSeverity()1182 && (mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS in onSetRingerModeInternal()1255 if (mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS) { in getRingerModeAffectedStreams()
173 Global.ZEN_MODE_NO_INTERRUPTIONS); in createZenButtons()280 case Global.ZEN_MODE_NO_INTERRUPTIONS: in prefKeyForConfirmation()351 if (selectedZen == Global.ZEN_MODE_NO_INTERRUPTIONS) { in checkForAttachedZenChange()459 final boolean zenNone = zen == Global.ZEN_MODE_NO_INTERRUPTIONS; in updateWidgets()755 case Global.ZEN_MODE_NO_INTERRUPTIONS: in announceConditionSelection()
249 case Global.ZEN_MODE_NO_INTERRUPTIONS: return "no_interruptions"; in zenModeToString()
828 || mState.zenMode == Global.ZEN_MODE_NO_INTERRUPTIONS in updateRingerH()992 final boolean isZenNone = mState.zenMode == Global.ZEN_MODE_NO_INTERRUPTIONS; in updateVolumeRowH()
260 final boolean zenNone = zen == Global.ZEN_MODE_NO_INTERRUPTIONS; in updateAlarm()326 } else if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) { in updateVolumeZen()
149 ZEN_MODE_NO_INTERRUPTIONS = 2; enumerator
2053 case Global.ZEN_MODE_NO_INTERRUPTIONS: return INTERRUPTION_FILTER_NONE; in zenModeToInterruptionFilter()2064 case INTERRUPTION_FILTER_NONE: return Global.ZEN_MODE_NO_INTERRUPTIONS; in zenModeFromInterruptionFilter()
246 case Global.ZEN_MODE_NO_INTERRUPTIONS: in handleUpdateState()
250 || mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS in isZenMuted()
13204 public static final int ZEN_MODE_NO_INTERRUPTIONS = 2; field in Settings.Global13212 if (mode == ZEN_MODE_NO_INTERRUPTIONS) return "ZEN_MODE_NO_INTERRUPTIONS"; in zenModeToString()13221 case Global.ZEN_MODE_NO_INTERRUPTIONS: in isValidZenMode()
1943 return zen == Global.ZEN_MODE_NO_INTERRUPTIONS in isZenOverridingRinger()
2412 case Settings.Global.ZEN_MODE_NO_INTERRUPTIONS: in volumeAdjustmentAllowedByDnd()4462 if (mNm.getZenMode() != Settings.Global.ZEN_MODE_NO_INTERRUPTIONS in onAccessoryPlugMediaUnmute()