Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenPolicy.java51 PRIORITY_CATEGORY_EVENTS,
66 public static final int PRIORITY_CATEGORY_EVENTS = 1; field in ZenPolicy
275 return mPriorityCategories.get(PRIORITY_CATEGORY_EVENTS); in getPriorityCategoryEvents()
548 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_EVENTS, in allowEvents()
687 case PRIORITY_CATEGORY_EVENTS: in allowCategory()
913 case PRIORITY_CATEGORY_EVENTS: in indexToCategory()
1002 case PRIORITY_CATEGORY_EVENTS: in getZenPolicyPriorityCategoryState()
H A DZenModeConfig.java970 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_EVENTS, in toNotificationPolicy()
971 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_EVENTS, defaultPolicy))) { in toNotificationPolicy()
972 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in toNotificationPolicy()
1141 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in toNotificationPolicy()
1227 allowEvents = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_EVENTS) != 0; in applyNotificationPolicy()
1914 & NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS) != 0; in areAllPriorityOnlyRingerSoundsMuted()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenPolicyTest.java252 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_EVENTS); in testAllowEvents()
259 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_EVENTS); in testAllowEvents()
597 if (except != ZenPolicy.PRIORITY_CATEGORY_EVENTS) { in assertAllPriorityCategoriesUnsetExcept()
H A DZenModeConfigTest.java104 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in testZenPolicyToNotificationPolicy()
H A DZenModeHelperTest.java23 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS;
328 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_NotificationApplied()
349 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_StarredCallers_CallTypesBlocked()
369 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_AllCallers_CallTypesAllowed()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationManager.java1804 public static final int PRIORITY_CATEGORY_EVENTS = 1 << 1; field in NotificationManager.Policy
1830 PRIORITY_CATEGORY_EVENTS,
2342 case PRIORITY_CATEGORY_EVENTS: return "PRIORITY_CATEGORY_EVENTS"; in priorityCategoryToString()
2430 return (priorityCategories & PRIORITY_CATEGORY_EVENTS) != 0; in allowEvents()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6886 field public static final int PRIORITY_CATEGORY_EVENTS = 2; // 0x2