Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java184 PRIORITY_CATEGORY_CONVERSATIONS,
206 public static final int PRIORITY_CATEGORY_CONVERSATIONS = 8; field in ZenPolicy
429 return mPriorityCategories.get(PRIORITY_CATEGORY_CONVERSATIONS); in getPriorityCategoryConversations()
724 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS) { in unsetPriorityCategory()
770 return unsetPriorityCategory(PRIORITY_CATEGORY_CONVERSATIONS); in allowConversations()
774 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_DISALLOW); in allowConversations()
777 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_ALLOW); in allowConversations()
1225 case PRIORITY_CATEGORY_CONVERSATIONS: in indexToCategory()
1338 case PRIORITY_CATEGORY_CONVERSATIONS: in getZenPolicyPriorityCategoryState()
1415 } else if (category == PRIORITY_CATEGORY_CONVERSATIONS in apply()
[all …]
DZenModeConfig.java1679 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_CONVERSATIONS, in toNotificationPolicy()
1680 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CONVERSATIONS, defaultPolicy))) { in toNotificationPolicy()
1681 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
1826 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
1903 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
2012 & Policy.PRIORITY_CATEGORY_CONVERSATIONS) != 0; in applyNotificationPolicy()
2790 & Policy.PRIORITY_CATEGORY_CONVERSATIONS) != 0; in areAllPriorityOnlyRingerSoundsMuted()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java25 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
268 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testConversation_allAllowed()
286 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_IMPORTANT); in testConversation_importantAllowed_isImportant()
303 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_IMPORTANT); in testConversation_importantAllowed_isNotImportant()
320 new Policy(PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_NONE); in testConversation_noneAllowed_notCallOrMsg()
DZenAdaptersTest.java90 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_CONVERSATIONS, 0, 0); in notificationPolicyToZenPolicy_conversationsAllowedSendersUnset()
DZenModeHelperTest.java36 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
486 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_NotificationApplied()
507 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_StarredCallers_CallTypesBlocked()
527 | PRIORITY_CATEGORY_CONVERSATIONS | PRIORITY_CATEGORY_CALLS in testZenOn_AllCallers_CallTypesAllowed()
1070 | PRIORITY_CATEGORY_CONVERSATIONS, PRIORITY_SENDERS_STARRED, in testParcelConfig()
1090 | PRIORITY_CATEGORY_CONVERSATIONS, PRIORITY_SENDERS_STARRED, in testWriteXml()
5908 Policy policy = new Policy(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, in applyGlobalPolicyAsImplicitZenRule_createsImplicitRule()
5932 Policy original = new Policy(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, in applyGlobalPolicyAsImplicitZenRule_updatesImplicitRule()
5939 Policy updated = new Policy(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, in applyGlobalPolicyAsImplicitZenRule_updatesImplicitRule()
6050 Policy writtenPolicy = new Policy(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, in getNotificationPolicyFromImplicitZenRule_returnsSetPolicy()
[all …]
DZenModeConfigTest.java204 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in testZenPolicyToNotificationPolicy_classic()
241 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in testZenPolicyToNotificationPolicy()
DNotificationManagerServiceTest.java56 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
11167 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
11169 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS,
11172 assertEquals(PRIORITY_CATEGORY_CONVERSATIONS, actual);
11180 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS,
11188 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
11189 int system = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
11191 int actual = mService.correctCategory(requested, PRIORITY_CATEGORY_CONVERSATIONS,
11194 assertEquals(PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS, actual);
11199 int requested = PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_CONVERSATIONS;
[all …]
/frameworks/base/core/java/android/app/
DNotificationManager.java2023 public static final int PRIORITY_CATEGORY_CONVERSATIONS = 1 << 8; field in NotificationManager.Policy
2037 PRIORITY_CATEGORY_CONVERSATIONS,
2577 case PRIORITY_CATEGORY_CONVERSATIONS: return "PRIORITY_CATEGORY_CONVERSATIONS"; in priorityCategoryToString()
2648 return (priorityCategories & PRIORITY_CATEGORY_CONVERSATIONS) != 0; in allowConversations()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfoTest.java26 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS;
609 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testBindNotification_priorityDnd()
671 PRIORITY_CATEGORY_CONVERSATIONS, 0, 0, 0, CONVERSATION_SENDERS_ANYONE); in testBindNotification_priorityDndAndBubble()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java6064 Policy.PRIORITY_CATEGORY_CONVERSATIONS,
/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.txt7101 field public static final int PRIORITY_CATEGORY_CONVERSATIONS = 256; // 0x100