Home
last modified time | relevance | path

Searched refs:PRIORITY_CATEGORY_CALLS (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java50 PRIORITY_CATEGORY_CALLS,
66 public static final int PRIORITY_CATEGORY_CALLS = 3; field in ZenPolicy
229 return mPriorityCategories.get(PRIORITY_CATEGORY_CALLS); in getPriorityCategoryCalls()
444 } else if (category == PRIORITY_CATEGORY_CALLS) { in unsetPriorityCategory()
513 return unsetPriorityCategory(PRIORITY_CATEGORY_CALLS); in allowCalls()
517 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CALLS, STATE_DISALLOW); in allowCalls()
520 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CALLS, STATE_ALLOW); in allowCalls()
804 case PRIORITY_CATEGORY_CALLS: in indexToCategory()
872 case PRIORITY_CATEGORY_CALLS: in getZenPolicyPriorityCategoryState()
953 } else if (category == PRIORITY_CATEGORY_CALLS in apply()
DZenModeConfig.java965 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_CALLS, in toNotificationPolicy()
966 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS, defaultPolicy))) { in toNotificationPolicy()
967 priorityCategories |= Policy.PRIORITY_CATEGORY_CALLS; in toNotificationPolicy()
1097 priorityCategories |= Policy.PRIORITY_CATEGORY_CALLS; in toNotificationPolicy()
1167 allowCalls = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_CALLS) != 0; in applyNotificationPolicy()
1915 & NotificationManager.Policy.PRIORITY_CATEGORY_CALLS) != 0; in areAllPriorityOnlyNotificationZenSoundsMuted()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java293 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_CALLS); in testAllowCalls()
300 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_CALLS); in testAllowCalls()
307 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_CALLS); in testAllowCalls()
314 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_CALLS); in testAllowCalls()
406 if (except != ZenPolicy.PRIORITY_CATEGORY_CALLS) { in assertAllPriorityCategoriesUnsetExcept()
/frameworks/base/core/java/android/app/
DNotificationManager.java1414 public static final int PRIORITY_CATEGORY_CALLS = 1 << 3; field in NotificationManager.Policy
1434 PRIORITY_CATEGORY_CALLS,
1866 case PRIORITY_CATEGORY_CALLS: return "PRIORITY_CATEGORY_CALLS"; in priorityCategoryToString()
1918 return (priorityCategories & PRIORITY_CATEGORY_CALLS) != 0; in allowCalls()
/frameworks/base/non-updatable-api/
Dcurrent.txt5881 field public static final int PRIORITY_CATEGORY_CALLS = 8; // 0x8
/frameworks/base/api/
Dcurrent.txt5881 field public static final int PRIORITY_CATEGORY_CALLS = 8; // 0x8