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.java178 PRIORITY_CATEGORY_MESSAGES,
194 public static final int PRIORITY_CATEGORY_MESSAGES = 2; field in ZenPolicy
460 return mPriorityCategories.get(PRIORITY_CATEGORY_MESSAGES); in getPriorityCategoryMessages()
720 if (category == PRIORITY_CATEGORY_MESSAGES) { in unsetPriorityCategory()
794 return unsetPriorityCategory(PRIORITY_CATEGORY_MESSAGES); in allowMessages()
798 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_DISALLOW); in allowMessages()
801 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_ALLOW); in allowMessages()
1213 case PRIORITY_CATEGORY_MESSAGES: in indexToCategory()
1326 case PRIORITY_CATEGORY_MESSAGES: in getZenPolicyPriorityCategoryState()
1409 if (category == PRIORITY_CATEGORY_MESSAGES in apply()
[all …]
DZenModeConfig.java37 import static android.service.notification.ZenPolicy.PRIORITY_CATEGORY_MESSAGES;
1672 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_MESSAGES, in toNotificationPolicy()
1673 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES, defaultPolicy))) { in toNotificationPolicy()
1674 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy()
1837 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy()
1909 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy()
2001 allowMessages = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_MESSAGES) != 0; in applyNotificationPolicy()
2784 & NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES) != 0; in areAllPriorityOnlyRingerSoundsMuted()
2831 && !policy.isCategoryAllowed(PRIORITY_CATEGORY_MESSAGES, false) in areAllPriorityOnlyRingerSoundsMuted()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java429 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
437 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
445 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
453 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MESSAGES); in testAllowMessages()
809 if (except != ZenPolicy.PRIORITY_CATEGORY_MESSAGES) { in assertAllPriorityCategoriesUnsetExcept()
DZenModeFilteringTest.java26 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES;
357 new Policy(PRIORITY_CATEGORY_MESSAGES, in testConversation_noneAllowed_msgAllowed()
DZenModeHelperTest.java39 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES;
485 | PRIORITY_CATEGORY_MEDIA | PRIORITY_CATEGORY_MESSAGES in testZenOn_NotificationApplied()
506 | PRIORITY_CATEGORY_MEDIA | PRIORITY_CATEGORY_MESSAGES in testZenOn_StarredCallers_CallTypesBlocked()
526 | PRIORITY_CATEGORY_MEDIA | PRIORITY_CATEGORY_MESSAGES in testZenOn_AllCallers_CallTypesAllowed()
1069 | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_REPEAT_CALLERS in testParcelConfig()
1089 | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_REPEAT_CALLERS in testWriteXml()
6250 | PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_MESSAGES in setupZenConfig()
/frameworks/base/core/java/android/app/
DNotificationManager.java2009 public static final int PRIORITY_CATEGORY_MESSAGES = 1 << 2; field in NotificationManager.Policy
2034 PRIORITY_CATEGORY_MESSAGES,
2571 case PRIORITY_CATEGORY_MESSAGES: return "PRIORITY_CATEGORY_MESSAGES"; in priorityCategoryToString()
2653 return (priorityCategories & PRIORITY_CATEGORY_MESSAGES) != 0; in allowMessages()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt7104 field public static final int PRIORITY_CATEGORY_MESSAGES = 4; // 0x4