/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
H A D | ZenModeBackendTest.java | 6 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS; 197 | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_ALARMS, in saveConversationSenders_importantToNone() 210 PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_ALARMS, in saveConversationSenders_importantToNone() 221 PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_ALARMS, in saveConversationSenders_noneToAll() 234 | PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_ALARMS, in saveConversationSenders_noneToAll() 246 | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_ALARMS, in saveSenders_doesNotChangeConversations() 259 | PRIORITY_CATEGORY_CALLS | PRIORITY_CATEGORY_MESSAGES | PRIORITY_CATEGORY_ALARMS, in saveSenders_doesNotChangeConversations()
|
H A D | ZenOnboardingActivityTest.java | 19 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS; 97 Policy policy = new Policy(PRIORITY_CATEGORY_ALARMS, 0, 0, SUPPRESSED_EFFECT_SCREEN_ON); in saveNewSetting() 109 assertThat(actual.priorityCategories).isEqualTo(PRIORITY_CATEGORY_ALARMS in saveNewSetting() 119 Policy policy = new Policy(PRIORITY_CATEGORY_ALARMS, 0, 0, SUPPRESSED_EFFECT_SCREEN_ON); in keepCurrentSetting()
|
H A D | ZenModeAlarmsPreferenceControllerTest.java | 116 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS)).thenReturn(ALARMS_SETTINGS); in updateState_Priority() 130 .saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS, allowAlarms); in onPreferenceChanged_EnableAlarms() 139 .saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS, allowAlarms); in onPreferenceChanged_DisableAlarms()
|
H A D | ZenRuleCustomSwitchPreferenceControllerTest.java | 73 PREF_KEY, ZenPolicy.PRIORITY_CATEGORY_ALARMS, 0); in setup()
|
H A D | ZenModeSettingsTest.java | 82 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | Policy.PRIORITY_CATEGORY_CALLS, in testGetCallsSettingSummary_contacts()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/ |
H A D | ZenModeAlarmsPreferenceController.java | 67 Policy.PRIORITY_CATEGORY_ALARMS)); in updateState() 80 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_ALARMS, allowAlarms); in onPreferenceChange()
|
H A D | ZenModeSettings.java | 19 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS; 115 PRIORITY_CATEGORY_ALARMS, 128 category -> PRIORITY_CATEGORY_ALARMS == category in getOtherSoundCategoriesSummary() 264 if (category == PRIORITY_CATEGORY_ALARMS) { in getCategory()
|
H A D | ZenCustomRuleConfigSettings.java | 133 getSettingsLifecycle(), ALARMS_KEY, ZenPolicy.PRIORITY_CATEGORY_ALARMS, in createPreferenceControllers()
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
H A 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()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ZenModeHelperTest.java | 20 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS; 286 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOff_NoMuteApplied() 301 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_NotificationApplied() 304 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_NotificationApplied() 324 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_StarredCallers_CallTypesBlocked() 327 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_StarredCallers_CallTypesBlocked() 344 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_AllCallers_CallTypesAllowed() 347 | PRIORITY_CATEGORY_ALARMS | PRIORITY_CATEGORY_EVENTS | PRIORITY_CATEGORY_REMINDERS in testZenOn_AllCallers_CallTypesAllowed() 363 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied() 391 mZenModeHelperSpy.mConsolidatedPolicy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | in testTotalSilence()
|
H A 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()
|
H A D | ZenModeConfigTest.java | 98 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A 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()
|
/aosp12/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 162 .PRIORITY_CATEGORY_ALARMS) != 0; in SeekBarVolumizer() 612 .PRIORITY_CATEGORY_ALARMS) != 0; in onReceive()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
H A D | EnableZenModeDialog.java | 483 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) != 0; in computeAlarmWarningText()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogControllerImpl.java | 636 .PRIORITY_CATEGORY_ALARMS) == 0; in updateZenConfig()
|
/aosp12/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 5692 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) == 0; in shouldZenMuteStream() 5733 & NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS) == 0) { in updateZenModeAffectedStreams()
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 5056 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS; 5061 & Policy.PRIORITY_CATEGORY_ALARMS;
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 6314 field public static final int PRIORITY_CATEGORY_ALARMS = 32; // 0x20
|