Searched refs:PRIORITY_CATEGORY_ALARMS (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 52 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()
|
D | ZenModeConfig.java | 978 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/ |
D | EnableZenModeDialogTest.java | 82 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/ |
D | ZenPolicyTest.java | 348 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()
|
D | ZenModeConfigTest.java | 94 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
|
D | ZenModeHelperTest.java | 220 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/ |
D | NotificationManager.java | 1399 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/ |
D | SeekBarVolumizer.java | 151 .PRIORITY_CATEGORY_ALARMS) != 0; in SeekBarVolumizer() 571 .PRIORITY_CATEGORY_ALARMS) != 0; in onReceive()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | EnableZenModeDialog.java | 465 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) != 0; in computeAlarmWarningText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 612 .PRIORITY_CATEGORY_ALARMS) == 0; in updateZenConfig()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 4005 & 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/ |
D | NotificationManagerService.java | 3822 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS; 3827 & Policy.PRIORITY_CATEGORY_ALARMS;
|
/frameworks/base/api/ |
D | current.txt | 5877 field public static final int PRIORITY_CATEGORY_ALARMS = 32; // 0x20
|