Home
last modified time | relevance | path

Searched refs:PRIORITY_CATEGORY_SYSTEM (Results 1 – 14 of 14) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
H A DZenModeSystemPreferenceControllerTest.java111 NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM)).thenReturn(true); in updateState_Priority()
123 verify(mBackend).saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM, in onPreferenceChanged_EnableSystem()
131 verify(mBackend).saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM, in onPreferenceChanged_DisableSystem()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModeSystemPreferenceController.java66 Policy.PRIORITY_CATEGORY_SYSTEM)); in updateState()
79 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_SYSTEM, allowSystem); in onPreferenceChange()
H A DZenModeSettings.java26 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM;
117 PRIORITY_CATEGORY_SYSTEM,
130 || PRIORITY_CATEGORY_SYSTEM == category in getOtherSoundCategoriesSummary()
276 } else if (category == PRIORITY_CATEGORY_SYSTEM) { in getCategory()
H A DZenCustomRuleConfigSettings.java139 getSettingsLifecycle(), SYSTEM_KEY, ZenPolicy.PRIORITY_CATEGORY_SYSTEM, in createPreferenceControllers()
/aosp12/frameworks/base/core/java/android/service/notification/
H A DZenPolicy.java57 PRIORITY_CATEGORY_SYSTEM,
78 public static final int PRIORITY_CATEGORY_SYSTEM = 7; field in ZenPolicy
327 return mPriorityCategories.get(PRIORITY_CATEGORY_SYSTEM); in getPriorityCategorySystem()
652 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_SYSTEM, in allowSystem()
669 case PRIORITY_CATEGORY_SYSTEM: in allowCategory()
900 case PRIORITY_CATEGORY_SYSTEM: in indexToCategory()
989 case PRIORITY_CATEGORY_SYSTEM: in getZenPolicyPriorityCategoryState()
H A DZenModeConfig.java1071 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_SYSTEM, in toNotificationPolicy()
1072 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_SYSTEM, defaultPolicy))) { in toNotificationPolicy()
1073 priorityCategories |= Policy.PRIORITY_CATEGORY_SYSTEM; in toNotificationPolicy()
1204 priorityCategories |= Policy.PRIORITY_CATEGORY_SYSTEM; in toNotificationPolicy()
1273 allowSystem = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_SYSTEM) != 0; in applyNotificationPolicy()
2056 boolean allowSystem = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_SYSTEM) != 0; in areAllPriorityOnlyRingerSoundsMuted()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenPolicyTest.java409 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_SYSTEM); in testAllowSystem()
416 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_SYSTEM); in testAllowSystem()
556 if (except != ZenPolicy.PRIORITY_CATEGORY_SYSTEM) { in assertAllPriorityCategoriesUnsetExcept()
H A DZenModeHelperTest.java28 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM;
305 | PRIORITY_CATEGORY_REPEAT_CALLERS | PRIORITY_CATEGORY_SYSTEM, PRIORITY_SENDERS_ANY, in testZenOn_NotificationApplied()
328 | PRIORITY_CATEGORY_SYSTEM, in testZenOn_StarredCallers_CallTypesBlocked()
348 | PRIORITY_CATEGORY_REPEAT_CALLERS | PRIORITY_CATEGORY_SYSTEM, in testZenOn_AllCallers_CallTypesAllowed()
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationManager.java1793 public static final int PRIORITY_CATEGORY_SYSTEM = 1 << 7; field in NotificationManager.Policy
1805 PRIORITY_CATEGORY_SYSTEM,
2322 case PRIORITY_CATEGORY_SYSTEM: return "PRIORITY_CATEGORY_SYSTEM"; in priorityCategoryToString()
2379 return (priorityCategories & PRIORITY_CATEGORY_SYSTEM) != 0; in allowSystem()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogControllerImpl.java640 .PRIORITY_CATEGORY_SYSTEM) == 0; in updateZenConfig()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java5696 & NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM) == 0; in shouldZenMuteStream()
5745 & NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM) == 0) { in updateZenModeAffectedStreams()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java5058 priorityCategories &= ~Policy.PRIORITY_CATEGORY_SYSTEM;
5065 & Policy.PRIORITY_CATEGORY_SYSTEM;
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt6322 field public static final int PRIORITY_CATEGORY_SYSTEM = 128; // 0x80