Home
last modified time | relevance | path

Searched refs:safeInt (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java503 rt.version = safeInt(parser, ZEN_ATT_VERSION, XML_VERSION); in readXml()
504 rt.user = safeInt(parser, ZEN_ATT_USER, rt.user); in readXml()
522 final int from = safeInt(parser, ALLOW_ATT_FROM, -1); in readXml()
523 final int callsFrom = safeInt(parser, ALLOW_ATT_CALLS_FROM, -1); in readXml()
524 final int messagesFrom = safeInt(parser, ALLOW_ATT_MESSAGES_FROM, -1); in readXml()
563 rt.suppressedVisualEffects = safeInt(parser, DISALLOW_ATT_VISUAL_EFFECTS, in readXml()
702 final int icon = safeInt(parser, CONDITION_ATT_ICON, -1); in readConditionXml()
703 final int state = safeInt(parser, CONDITION_ATT_STATE, -1); in readConditionXml()
704 final int flags = safeInt(parser, CONDITION_ATT_FLAGS, -1); in readConditionXml()
731 final int calls = safeInt(parser, ALLOW_ATT_CALLS_FROM, ZenPolicy.PEOPLE_TYPE_UNSET); in readZenPolicyXml()
[all …]
/frameworks/base/core/java/android/app/
DNotificationChannel.java715 != safeInt(parser, ATT_PRIORITY, Notification.PRIORITY_DEFAULT)); in populateFromXml()
716 setLockscreenVisibility(safeInt(parser, ATT_VISIBILITY, DEFAULT_VISIBILITY)); in populateFromXml()
722 setLightColor(safeInt(parser, ATT_LIGHT_COLOR, DEFAULT_LIGHT_COLOR)); in populateFromXml()
728 lockFields(safeInt(parser, ATT_USER_LOCKED, 0)); in populateFromXml()
903 int usage = safeInt(parser, ATT_USAGE, AudioAttributes.USAGE_NOTIFICATION); in safeAudioAttributes()
904 int contentType = safeInt(parser, ATT_CONTENT_TYPE, in safeAudioAttributes()
906 int flags = safeInt(parser, ATT_FLAGS, 0); in safeAudioAttributes()
919 private static int safeInt(XmlPullParser parser, String att, int defValue) { in safeInt() method in NotificationChannel
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt8552 Landroid/app/NotificationChannel;->safeInt(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;I)I
68489 Landroid/service/notification/ZenModeConfig;->safeInt(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Stri…