Home
last modified time | relevance | path

Searched refs:PRIORITY_CATEGORY_EVENTS (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java48 PRIORITY_CATEGORY_EVENTS,
62 public static final int PRIORITY_CATEGORY_EVENTS = 1; field in ZenPolicy
207 return mPriorityCategories.get(PRIORITY_CATEGORY_EVENTS); in getPriorityCategoryEvents()
476 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_EVENTS, in allowEvents()
591 case PRIORITY_CATEGORY_EVENTS: in allowCategory()
800 case PRIORITY_CATEGORY_EVENTS: in indexToCategory()
868 case PRIORITY_CATEGORY_EVENTS: in getZenPolicyPriorityCategoryState()
DZenModeConfig.java953 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_EVENTS, in toNotificationPolicy()
954 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_EVENTS, defaultPolicy))) { in toNotificationPolicy()
955 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in toNotificationPolicy()
1103 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in toNotificationPolicy()
1165 allowEvents = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_EVENTS) != 0; in applyNotificationPolicy()
1919 & NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS) != 0; in areAllPriorityOnlyNotificationZenSoundsMuted()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java238 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_EVENTS); in testAllowEvents()
244 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_EVENTS); in testAllowEvents()
398 if (except != ZenPolicy.PRIORITY_CATEGORY_EVENTS) { in assertAllPriorityCategoriesUnsetExcept()
DZenModeConfigTest.java96 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in testZenPolicyToNotificationPolicy()
/frameworks/base/core/java/android/app/
DNotificationManager.java1410 public static final int PRIORITY_CATEGORY_EVENTS = 1 << 1; field in NotificationManager.Policy
1432 PRIORITY_CATEGORY_EVENTS,
1864 case PRIORITY_CATEGORY_EVENTS: return "PRIORITY_CATEGORY_EVENTS"; in priorityCategoryToString()
1928 return (priorityCategories & PRIORITY_CATEGORY_EVENTS) != 0; in allowEvents()
/frameworks/base/non-updatable-api/
Dcurrent.txt5882 field public static final int PRIORITY_CATEGORY_EVENTS = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt5882 field public static final int PRIORITY_CATEGORY_EVENTS = 2; // 0x2