Searched defs:safeInt (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
H A DNotificationChannel.java596 != safeInt(parser, ATT_PRIORITY, Notification.PRIORITY_DEFAULT));
597 setLockscreenVisibility(safeInt(parser, ATT_VISIBILITY, DEFAULT_VISIBILITY));
603 setLightColor(safeInt(parser, ATT_LIGHT_COLOR, DEFAULT_LIGHT_COLOR));
609 lockFields(safeInt(parser, ATT_USER_LOCKED, 0));
771 int usage = safeInt(parser, ATT_USAGE, AudioAttributes.USAGE_NOTIFICATION);
772 int contentType = safeInt(parser, ATT_CONTENT_TYPE,
774 int flags = safeInt(parser, ATT_FLAGS, 0);
787 private static int safeInt(XmlPullParser parser, String att, int defValue) { method in class:NotificationChannel
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java408 rt.user = safeInt(parser, ZEN_ATT_USER, rt.user);
423 final int from = safeInt(parser, ALLOW_ATT_FROM, -1);
424 final int callsFrom = safeInt(parser, ALLOW_ATT_CALLS_FROM, -1);
425 final int messagesFrom = safeInt(parser, ALLOW_ATT_MESSAGES_FROM, -1);
537 final int icon = safeInt(parser, CONDITION_ATT_ICON, -1);
538 final int state = safeInt(parser, CONDITION_ATT_STATE, -1);
539 final int flags = safeInt(parser, CONDITION_ATT_FLAGS, -1);
580 private static int safeInt(XmlPullParser parser, String att, int defValue) { method in class:ZenModeConfig

Completed in 306 milliseconds