Home
last modified time | relevance | path

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

/aosp12/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
243 return mPriorityCategories.get(PRIORITY_CATEGORY_CONVERSATIONS); in getPriorityCategoryConversations()
504 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS) { in unsetPriorityCategory()
550 return unsetPriorityCategory(PRIORITY_CATEGORY_CONVERSATIONS); in allowConversations()
554 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_DISALLOW); in allowConversations()
557 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_ALLOW); in allowConversations()
902 case PRIORITY_CATEGORY_CONVERSATIONS: in indexToCategory()
991 case PRIORITY_CATEGORY_CONVERSATIONS: in getZenPolicyPriorityCategoryState()
1067 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS in apply()
H A DZenModeConfig.java1040 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_CONVERSATIONS, in toNotificationPolicy()
1041 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CONVERSATIONS, defaultPolicy))) { in toNotificationPolicy()
1042 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
1180 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
1287 & Policy.PRIORITY_CATEGORY_CONVERSATIONS) != 0; in applyNotificationPolicy()
2054 & Policy.PRIORITY_CATEGORY_CONVERSATIONS) != 0; in areAllPriorityOnlyRingerSoundsMuted()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
H A DZenModeBackendTest.java8 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
196 new Policy(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS in saveConversationSenders_importantToNone()
233 Policy expected = new Policy(PRIORITY_CATEGORY_CONVERSATIONS in saveConversationSenders_noneToAll()
245 new Policy(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS in saveSenders_doesNotChangeConversations()
258 Policy expected = new Policy(PRIORITY_CATEGORY_CONVERSATIONS in saveSenders_doesNotChangeConversations()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenModeFilteringTest.java26 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
218 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testConversation_allAllowed()
236 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_IMPORTANT); in testConversation_importantAllowed_isImportant()
253 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_IMPORTANT); in testConversation_importantAllowed_isNotImportant()
270 new Policy(PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_NONE); in testConversation_noneAllowed_notCallOrMsg()
H A DZenModeHelperTest.java22 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
303 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_NotificationApplied()
326 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_StarredCallers_CallTypesBlocked()
346 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_AllCallers_CallTypesAllowed()
H A DNotificationManagerServiceTest.java36 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
7637 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOn_appCannotTurnOff()
7639 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS, in testCorrectCategory_systemOn_appCannotTurnOff()
7642 assertEquals(PRIORITY_CATEGORY_CONVERSATIONS, actual); in testCorrectCategory_systemOn_appCannotTurnOff()
7650 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS, in testCorrectCategory_systemOff_appTurnOff_noChanges()
7658 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOn_appTurnOn_noChanges()
7659 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOn_appTurnOn_noChanges()
7661 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS, in testCorrectCategory_systemOn_appTurnOn_noChanges()
7664 assertEquals(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, actual); in testCorrectCategory_systemOn_appTurnOn_noChanges()
7669 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOff_appCannotTurnOn()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModeBackend.java19 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
155 if (isPriorityCategoryEnabled(PRIORITY_CATEGORY_CONVERSATIONS)) { in getPriorityConversationSenders()
238 savePolicy(getNewDefaultPriorityCategories(allowSenders, PRIORITY_CATEGORY_CONVERSATIONS), in saveConversationSenders()
255 if (category == NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS) { in getPrioritySenders()
295 } else if (category == NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS) { in getAlarmsTotalSilencePeopleSummary()
H A DZenModeConversationsPreferenceController.java66 NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS)); in updateState()
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationManager.java1797 public static final int PRIORITY_CATEGORY_CONVERSATIONS = 1 << 8; field in NotificationManager.Policy
1811 PRIORITY_CATEGORY_CONVERSATIONS,
2323 case PRIORITY_CATEGORY_CONVERSATIONS: return "PRIORITY_CATEGORY_CONVERSATIONS"; in priorityCategoryToString()
2394 return (priorityCategories & PRIORITY_CATEGORY_CONVERSATIONS) != 0; in allowConversations()
/aosp12/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;
605 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testBindNotification_priorityDnd()
667 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testBindNotification_priorityDndAndBubble()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java5073 Policy.PRIORITY_CATEGORY_CONVERSATIONS,
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt6316 field public static final int PRIORITY_CATEGORY_CONVERSATIONS = 256; // 0x100