Home
last modified time | relevance | path

Searched refs:PRIORITY_CATEGORY_CONVERSATIONS (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenPolicy.java58 PRIORITY_CATEGORY_CONVERSATIONS,
80 public static final int PRIORITY_CATEGORY_CONVERSATIONS = 8; field in ZenPolicy
255 return mPriorityCategories.get(PRIORITY_CATEGORY_CONVERSATIONS); in getPriorityCategoryConversations()
516 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS) { in unsetPriorityCategory()
562 return unsetPriorityCategory(PRIORITY_CATEGORY_CONVERSATIONS); in allowConversations()
566 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_DISALLOW); in allowConversations()
569 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_ALLOW); in allowConversations()
927 case PRIORITY_CATEGORY_CONVERSATIONS: in indexToCategory()
1016 case PRIORITY_CATEGORY_CONVERSATIONS: in getZenPolicyPriorityCategoryState()
1092 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS in apply()
H A DZenModeConfig.java982 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_CONVERSATIONS, in toNotificationPolicy()
983 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CONVERSATIONS, defaultPolicy))) { in toNotificationPolicy()
984 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
1132 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
1240 & Policy.PRIORITY_CATEGORY_CONVERSATIONS) != 0; in applyNotificationPolicy()
1918 & Policy.PRIORITY_CATEGORY_CONVERSATIONS) != 0; in areAllPriorityOnlyRingerSoundsMuted()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenModeFilteringTest.java25 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
259 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testConversation_allAllowed()
277 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_IMPORTANT); in testConversation_importantAllowed_isImportant()
294 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_IMPORTANT); in testConversation_importantAllowed_isNotImportant()
311 new Policy(PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_NONE); in testConversation_noneAllowed_notCallOrMsg()
H A DZenModeConfigTest.java105 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in testZenPolicyToNotificationPolicy()
H A DZenModeHelperTest.java22 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
327 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_NotificationApplied()
348 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_StarredCallers_CallTypesBlocked()
368 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_AllCallers_CallTypesAllowed()
H A DNotificationManagerServiceTest.java44 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
9884 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
9886 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS,
9889 assertEquals(PRIORITY_CATEGORY_CONVERSATIONS, actual);
9897 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS,
9905 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
9906 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
9908 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS,
9911 assertEquals(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, actual);
9916 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationManager.java1820 public static final int PRIORITY_CATEGORY_CONVERSATIONS = 1 << 8; field in NotificationManager.Policy
1834 PRIORITY_CATEGORY_CONVERSATIONS,
2349 case PRIORITY_CATEGORY_CONVERSATIONS: return "PRIORITY_CATEGORY_CONVERSATIONS"; in priorityCategoryToString()
2420 return (priorityCategories & PRIORITY_CATEGORY_CONVERSATIONS) != 0; in allowConversations()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationConversationInfoTest.java25 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
608 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testBindNotification_priorityDnd()
670 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testBindNotification_priorityDndAndBubble()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java5517 Policy.PRIORITY_CATEGORY_CONVERSATIONS,
/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.txt6885 field public static final int PRIORITY_CATEGORY_CONVERSATIONS = 256; // 0x100