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.java55 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()
DZenModeConfig.java1061 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/
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/
DZenModeHelperTest.java20 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()
DZenPolicyTest.java371 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()
DZenModeConfigTest.java98 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
/frameworks/base/core/java/android/app/
DNotificationManager.java1789 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/
DSeekBarVolumizer.java162 .PRIORITY_CATEGORY_ALARMS) != 0; in SeekBarVolumizer()
612 .PRIORITY_CATEGORY_ALARMS) != 0; in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java467 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) != 0; in computeAlarmWarningText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java636 .PRIORITY_CATEGORY_ALARMS) == 0; in updateZenConfig()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java5643 & 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/
DNotificationManagerService.java5155 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS;
5160 & Policy.PRIORITY_CATEGORY_ALARMS;
/frameworks/base/core/api/
Dcurrent.txt6309 field public static final int PRIORITY_CATEGORY_ALARMS = 32; // 0x20