Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java181 PRIORITY_CATEGORY_ALARMS,
200 public static final int PRIORITY_CATEGORY_ALARMS = 5; field in ZenPolicy
493 return mPriorityCategories.get(PRIORITY_CATEGORY_ALARMS); in getPriorityCategoryAlarms()
851 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_ALARMS, in allowAlarms()
883 case PRIORITY_CATEGORY_ALARMS: in allowCategory()
1219 case PRIORITY_CATEGORY_ALARMS: in indexToCategory()
1332 case PRIORITY_CATEGORY_ALARMS: in getZenPolicyPriorityCategoryState()
DZenModeConfig.java33 import static android.service.notification.ZenPolicy.PRIORITY_CATEGORY_ALARMS;
1701 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_ALARMS, in toNotificationPolicy()
1702 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_ALARMS, defaultPolicy))) { in toNotificationPolicy()
1703 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy()
1815 if (manualRule.zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_ALARMS, false)) { in toNotificationPolicy()
1816 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy()
1921 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy()
1995 setAllowAlarms((policy.priorityCategories & Policy.PRIORITY_CATEGORY_ALARMS) != 0); in applyNotificationPolicy()
2807 boolean allowAlarms = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_ALARMS) != 0; in areAllZenBehaviorSoundsMuted()
2856 return !policy.isCategoryAllowed(PRIORITY_CATEGORY_ALARMS, false) in areAllZenBehaviorSoundsMuted()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DEnableZenModeDialogTest.java86 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS, 0, 0, 0); in setup()
174 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS, 0, 0, 0)); in testNoAlarmWarning()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractorTest.kt67 it == NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS in <lambda>()
229 priorityCategories = NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS in <lambda>()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java178 .PRIORITY_CATEGORY_ALARMS) != 0; in SeekBarVolumizer()
670 .PRIORITY_CATEGORY_ALARMS) != 0; in onReceive()
/frameworks/base/core/java/android/app/
DNotificationManager.java2015 public static final int PRIORITY_CATEGORY_ALARMS = 1 << 5; field in NotificationManager.Policy
2029 PRIORITY_CATEGORY_ALARMS,
2574 case PRIORITY_CATEGORY_ALARMS: return "PRIORITY_CATEGORY_ALARMS"; in priorityCategoryToString()
2623 return (priorityCategories & PRIORITY_CATEGORY_ALARMS) != 0; in allowAlarms()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java534 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_ALARMS); in testAllowAlarms()
541 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_ALARMS); in testAllowAlarms()
821 if (except != ZenPolicy.PRIORITY_CATEGORY_ALARMS) { in assertAllPriorityCategoriesUnsetExcept()
DZenModeHelperTest.java34 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS;
470 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOff_NoMuteApplied()
484 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_NotificationApplied()
487 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_NotificationApplied()
505 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_StarredCallers_CallTypesBlocked()
508 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_StarredCallers_CallTypesBlocked()
525 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_AllCallers_CallTypesAllowed()
528 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_AllCallers_CallTypesAllowed()
543 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
568 mZenModeHelper.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS in testTotalSilence()
[all …]
DZenModeConfigTest.java201 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy_classic()
238 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java493 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) != 0; in computeAlarmWarningText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java666 .PRIORITY_CATEGORY_ALARMS) == 0; in updateZenConfig()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java6047 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS;
6052 & Policy.PRIORITY_CATEGORY_ALARMS;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7057 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) == 0) { in updateZenModeAffectedStreams()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt7099 field public static final int PRIORITY_CATEGORY_ALARMS = 32; // 0x20