Searched refs:safeBool (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 721 enableLights(safeBool(parser, ATT_LIGHTS, false)); in populateFromXml() 724 enableVibration(safeBool(parser, ATT_VIBRATION_ENABLED, false)); in populateFromXml() 725 setShowBadge(safeBool(parser, ATT_SHOW_BADGE, false)); in populateFromXml() 726 setDeleted(safeBool(parser, ATT_DELETED, false)); in populateFromXml() 729 setFgServiceShown(safeBool(parser, ATT_FG_SERVICE_SHOWN, false)); in populateFromXml() 730 setBlockableSystem(safeBool(parser, ATT_BLOCKABLE_SYSTEM, false)); in populateFromXml() 731 setAllowBubbles(safeBool(parser, ATT_ALLOW_BUBBLE, DEFAULT_ALLOW_BUBBLE)); in populateFromXml() 933 private static boolean safeBool(XmlPullParser parser, String att, boolean defValue) { in safeBool() method in NotificationChannel
|
D | NotificationChannelGroup.java | 233 setBlocked(safeBool(parser, ATT_BLOCKED, false)); in populateFromXml() 236 private static boolean safeBool(XmlPullParser parser, String att, boolean defValue) { in safeBool() method in NotificationChannelGroup
|