Searched refs:safeBoolean (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 391 rt.allowCalls = safeBoolean(parser, ALLOW_ATT_CALLS, false); in readXml() 392 rt.allowRepeatCallers = safeBoolean(parser, ALLOW_ATT_REPEAT_CALLERS, in readXml() 394 rt.allowMessages = safeBoolean(parser, ALLOW_ATT_MESSAGES, false); in readXml() 395 rt.allowReminders = safeBoolean(parser, ALLOW_ATT_REMINDERS, in readXml() 397 rt.allowEvents = safeBoolean(parser, ALLOW_ATT_EVENTS, DEFAULT_ALLOW_EVENTS); in readXml() 460 rt.enabled = safeBoolean(parser, RULE_ATT_ENABLED, true); in readRuleXml() 461 rt.snoozing = safeBoolean(parser, RULE_ATT_SNOOZING, false); in readRuleXml() 532 private static boolean safeBoolean(XmlPullParser parser, String att, boolean defValue) { in safeBoolean() method in ZenModeConfig 1136 rt.allowCalls = safeBoolean(parser, ALLOW_ATT_CALLS, false); in readXml() 1137 rt.allowMessages = safeBoolean(parser, ALLOW_ATT_MESSAGES, false); in readXml() [all …]
|