Searched refs:isValidZenMode (Results 1 – 3 of 3) sorted by relevance
373 return rule == null || Global.isValidZenMode(rule.zenMode) && sameCondition(rule); in isValidManualRule()377 return rule != null && !TextUtils.isEmpty(rule.name) && Global.isValidZenMode(rule.zenMode) in isValidAutomaticRule()1560 return Global.isValidZenMode(rt) ? rt : defValue; in tryParseZenMode()
590 if (!Global.isValidZenMode(zenMode)) return; in setManualZenMode()
13216 /** @hide */ public static boolean isValidZenMode(int value) { in isValidZenMode() method in Settings.Global