Searched refs:safeBool (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 633 enableLights(safeBool(parser, ATT_LIGHTS, false)); in populateFromXml() 636 enableVibration(safeBool(parser, ATT_VIBRATION_ENABLED, false)); in populateFromXml() 637 setShowBadge(safeBool(parser, ATT_SHOW_BADGE, false)); in populateFromXml() 638 setDeleted(safeBool(parser, ATT_DELETED, false)); in populateFromXml() 641 setFgServiceShown(safeBool(parser, ATT_FG_SERVICE_SHOWN, false)); in populateFromXml() 642 setBlockableSystem(safeBool(parser, ATT_BLOCKABLE_SYSTEM, false)); in populateFromXml() 837 private static boolean safeBool(XmlPullParser parser, String att, boolean defValue) { in safeBool() method in NotificationChannel
|
D | NotificationChannelGroup.java | 194 setBlocked(safeBool(parser, ATT_BLOCKED, false)); in populateFromXml() 197 private static boolean safeBool(XmlPullParser parser, String att, boolean defValue) { in safeBool() method in NotificationChannelGroup
|