Home
last modified time | relevance | path

Searched refs:PRIORITY_CATEGORY_MESSAGES (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java51 PRIORITY_CATEGORY_MESSAGES,
67 public static final int PRIORITY_CATEGORY_MESSAGES = 2; field in ZenPolicy
273 return mPriorityCategories.get(PRIORITY_CATEGORY_MESSAGES); in getPriorityCategoryMessages()
499 if (category == PRIORITY_CATEGORY_MESSAGES) { in unsetPriorityCategory()
573 return unsetPriorityCategory(PRIORITY_CATEGORY_MESSAGES); in allowMessages()
577 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_DISALLOW); in allowMessages()
580 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_ALLOW); in allowMessages()
889 case PRIORITY_CATEGORY_MESSAGES: in indexToCategory()
978 case PRIORITY_CATEGORY_MESSAGES: in getZenPolicyPriorityCategoryState()
1060 if (category == PRIORITY_CATEGORY_MESSAGES in apply()
DZenModeConfig.java1026 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_MESSAGES, in toNotificationPolicy()
1027 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES, defaultPolicy))) { in toNotificationPolicy()
1028 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy()
1179 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy()
1270 allowMessages = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_MESSAGES) != 0; in applyNotificationPolicy()
2024 & NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES) != 0; in areAllPriorityOnlyRingerSoundsMuted()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java266 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
274 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
282 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
290 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
536 if (except != ZenPolicy.PRIORITY_CATEGORY_MESSAGES) { in assertAllPriorityCategoriesUnsetExcept()
DZenModeFilteringTest.java27 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES;
307 new Policy(PRIORITY_CATEGORY_MESSAGES, in testConversation_noneAllowed_msgAllowed()
DZenModeHelperTest.java25 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES;
272 PRIORITY_CATEGORY_MEDIA | PRIORITY_CATEGORY_MESSAGES in testZenOn_NotificationApplied()
295 PRIORITY_CATEGORY_MEDIA | PRIORITY_CATEGORY_MESSAGES in testZenOn_StarredCallers_CallTypesBlocked()
315 PRIORITY_CATEGORY_MEDIA | PRIORITY_CATEGORY_MESSAGES in testZenOn_AllCallers_CallTypesAllowed()
/frameworks/base/core/java/android/app/
DNotificationManager.java1561 public static final int PRIORITY_CATEGORY_MESSAGES = 1 << 2; field in NotificationManager.Policy
1586 PRIORITY_CATEGORY_MESSAGES,
2095 case PRIORITY_CATEGORY_MESSAGES: return "PRIORITY_CATEGORY_MESSAGES"; in priorityCategoryToString()
2177 return (priorityCategories & PRIORITY_CATEGORY_MESSAGES) != 0; in allowMessages()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt6080 field public static final int PRIORITY_CATEGORY_MESSAGES = 4; // 0x4