Home
last modified time | relevance | path

Searched refs:PRIORITY_CATEGORY_ALARMS (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java52 PRIORITY_CATEGORY_ALARMS,
70 public static final int PRIORITY_CATEGORY_ALARMS = 5; field in ZenPolicy
251 return mPriorityCategories.get(PRIORITY_CATEGORY_ALARMS); in getPriorityCategoryAlarms()
547 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_ALARMS, in allowAlarms()
579 case PRIORITY_CATEGORY_ALARMS: in allowCategory()
808 case PRIORITY_CATEGORY_ALARMS: in indexToCategory()
876 case PRIORITY_CATEGORY_ALARMS: in getZenPolicyPriorityCategoryState()
DZenModeConfig.java978 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_ALARMS, in toNotificationPolicy()
979 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_ALARMS, defaultPolicy))) { in toNotificationPolicy()
980 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy()
1112 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy()
1162 allowAlarms = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_ALARMS) != 0; in applyNotificationPolicy()
1932 boolean allowAlarms = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_ALARMS) != 0; in areAllZenBehaviorSoundsMuted()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DEnableZenModeDialogTest.java82 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS, 0, 0, 0); in setup()
170 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS, 0, 0, 0)); in testNoAlarmWarning()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java348 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_ALARMS); in testAllowAlarms()
354 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_ALARMS); in testAllowAlarms()
414 if (except != ZenPolicy.PRIORITY_CATEGORY_ALARMS) { in assertAllPriorityCategoriesUnsetExcept()
DZenModeConfigTest.java94 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
DZenModeHelperTest.java220 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOff_NoMuteApplied()
234 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
262 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testTotalSilence()
/frameworks/base/core/java/android/app/
DNotificationManager.java1399 public static final int PRIORITY_CATEGORY_ALARMS = 1 << 5; field in NotificationManager.Policy
1409 PRIORITY_CATEGORY_ALARMS,
1849 case PRIORITY_CATEGORY_ALARMS: return "PRIORITY_CATEGORY_ALARMS"; in priorityCategoryToString()
1879 return (priorityCategories & PRIORITY_CATEGORY_ALARMS) != 0; in allowAlarms()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java151 .PRIORITY_CATEGORY_ALARMS) != 0; in SeekBarVolumizer()
571 .PRIORITY_CATEGORY_ALARMS) != 0; in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java465 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) != 0; in computeAlarmWarningText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java612 .PRIORITY_CATEGORY_ALARMS) == 0; in updateZenConfig()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4005 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) == 0; in shouldZenMuteStream()
4036 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) == 0) { in updateZenModeAffectedStreams()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3822 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS;
3827 & Policy.PRIORITY_CATEGORY_ALARMS;
/frameworks/base/api/
Dcurrent.txt5877 field public static final int PRIORITY_CATEGORY_ALARMS = 32; // 0x20