Searched refs:PRIORITY_CATEGORY_ALARMS (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 55 PRIORITY_CATEGORY_ALARMS, 74 public static final int PRIORITY_CATEGORY_ALARMS = 5; field in ZenPolicy 307 return mPriorityCategories.get(PRIORITY_CATEGORY_ALARMS); in getPriorityCategoryAlarms() 631 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_ALARMS, in allowAlarms() 663 case PRIORITY_CATEGORY_ALARMS: in allowCategory() 896 case PRIORITY_CATEGORY_ALARMS: in indexToCategory() 985 case PRIORITY_CATEGORY_ALARMS: in getZenPolicyPriorityCategoryState()
|
D | ZenModeConfig.java | 1061 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_ALARMS, in toNotificationPolicy() 1062 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_ALARMS, defaultPolicy))) { in toNotificationPolicy() 1063 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy() 1198 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy() 1271 allowAlarms = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_ALARMS) != 0; in applyNotificationPolicy() 2067 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 | ZenModeHelperTest.java | 20 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS; 285 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOff_NoMuteApplied() 300 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_NotificationApplied() 303 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_NotificationApplied() 323 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_StarredCallers_CallTypesBlocked() 326 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_StarredCallers_CallTypesBlocked() 343 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_AllCallers_CallTypesAllowed() 346 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_AllCallers_CallTypesAllowed() 362 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied() 390 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testTotalSilence()
|
D | ZenPolicyTest.java | 371 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_ALARMS); in testAllowAlarms() 378 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_ALARMS); in testAllowAlarms() 548 if (except != ZenPolicy.PRIORITY_CATEGORY_ALARMS) { in assertAllPriorityCategoriesUnsetExcept()
|
D | ZenModeConfigTest.java | 98 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1789 public static final int PRIORITY_CATEGORY_ALARMS = 1 << 5; field in NotificationManager.Policy 1803 PRIORITY_CATEGORY_ALARMS, 2320 case PRIORITY_CATEGORY_ALARMS: return "PRIORITY_CATEGORY_ALARMS"; in priorityCategoryToString() 2369 return (priorityCategories & PRIORITY_CATEGORY_ALARMS) != 0; in allowAlarms()
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 162 .PRIORITY_CATEGORY_ALARMS) != 0; in SeekBarVolumizer() 612 .PRIORITY_CATEGORY_ALARMS) != 0; in onReceive()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | EnableZenModeDialog.java | 467 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) != 0; in computeAlarmWarningText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 636 .PRIORITY_CATEGORY_ALARMS) == 0; in updateZenConfig()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 5643 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) == 0; in shouldZenMuteStream() 5684 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) == 0) { in updateZenModeAffectedStreams()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 5155 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS; 5160 & Policy.PRIORITY_CATEGORY_ALARMS;
|
/frameworks/base/core/api/ |
D | current.txt | 6309 field public static final int PRIORITY_CATEGORY_ALARMS = 32; // 0x20
|