Searched refs:PRIORITY_CATEGORY_MESSAGES (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 49 PRIORITY_CATEGORY_MESSAGES, 64 public static final int PRIORITY_CATEGORY_MESSAGES = 2; field in ZenPolicy 218 return mPriorityCategories.get(PRIORITY_CATEGORY_MESSAGES); in getPriorityCategoryMessages() 442 if (category == PRIORITY_CATEGORY_MESSAGES) { in unsetPriorityCategory() 489 return unsetPriorityCategory(PRIORITY_CATEGORY_MESSAGES); in allowMessages() 493 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_DISALLOW); in allowMessages() 496 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_ALLOW); in allowMessages() 802 case PRIORITY_CATEGORY_MESSAGES: in indexToCategory() 870 case PRIORITY_CATEGORY_MESSAGES: in getZenPolicyPriorityCategoryState() 950 if (category == PRIORITY_CATEGORY_MESSAGES in apply()
|
D | ZenModeConfig.java | 958 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_MESSAGES, in toNotificationPolicy() 959 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES, defaultPolicy))) { in toNotificationPolicy() 960 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy() 1100 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy() 1168 allowMessages = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_MESSAGES) != 0; in applyNotificationPolicy() 1917 & NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES) != 0; in areAllPriorityOnlyNotificationZenSoundsMuted()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 255 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages() 262 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages() 269 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages() 276 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages() 402 if (except != ZenPolicy.PRIORITY_CATEGORY_MESSAGES) { in assertAllPriorityCategoriesUnsetExcept()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1412 public static final int PRIORITY_CATEGORY_MESSAGES = 1 << 2; field in NotificationManager.Policy 1433 PRIORITY_CATEGORY_MESSAGES, 1865 case PRIORITY_CATEGORY_MESSAGES: return "PRIORITY_CATEGORY_MESSAGES"; in priorityCategoryToString() 1923 return (priorityCategories & PRIORITY_CATEGORY_MESSAGES) != 0; in allowMessages()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 5884 field public static final int PRIORITY_CATEGORY_MESSAGES = 4; // 0x4
|
/frameworks/base/api/ |
D | current.txt | 5884 field public static final int PRIORITY_CATEGORY_MESSAGES = 4; // 0x4
|