Searched refs:PRIORITY_CATEGORY_CONVERSATIONS (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 58 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()
|
D | ZenModeConfig.java | 1040 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()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeFilteringTest.java | 26 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()
|
D | ZenModeHelperTest.java | 22 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS; 302 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_NotificationApplied() 325 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_StarredCallers_CallTypesBlocked() 345 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_AllCallers_CallTypesAllowed()
|
D | NotificationManagerServiceTest.java | 36 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS; 7491 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOn_appCannotTurnOff() 7493 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS, in testCorrectCategory_systemOn_appCannotTurnOff() 7496 assertEquals(PRIORITY_CATEGORY_CONVERSATIONS, actual); in testCorrectCategory_systemOn_appCannotTurnOff() 7504 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS, in testCorrectCategory_systemOff_appTurnOff_noChanges() 7512 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOn_appTurnOn_noChanges() 7513 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOn_appTurnOn_noChanges() 7515 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS, in testCorrectCategory_systemOn_appTurnOn_noChanges() 7518 assertEquals(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, actual); in testCorrectCategory_systemOn_appTurnOn_noChanges() 7523 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS; in testCorrectCategory_systemOff_appCannotTurnOn() [all …]
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1797 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfoTest.java | 25 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()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 5172 Policy.PRIORITY_CATEGORY_CONVERSATIONS,
|
/frameworks/base/core/api/ |
D | current.txt | 6311 field public static final int PRIORITY_CATEGORY_CONVERSATIONS = 256; // 0x100
|