Home
last modified time | relevance | path

Searched refs:PRIORITY_CATEGORY_MEDIA (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java53 PRIORITY_CATEGORY_MEDIA,
72 public static final int PRIORITY_CATEGORY_MEDIA = 6; field in ZenPolicy
262 return mPriorityCategories.get(PRIORITY_CATEGORY_MEDIA); in getPriorityCategoryMedia()
558 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MEDIA, in allowMedia()
582 case PRIORITY_CATEGORY_MEDIA: in allowCategory()
810 case PRIORITY_CATEGORY_MEDIA: in indexToCategory()
878 case PRIORITY_CATEGORY_MEDIA: in getZenPolicyPriorityCategoryState()
DZenModeConfig.java983 if (zenPolicy.isCategoryAllowed(ZenPolicy.PRIORITY_CATEGORY_MEDIA, in toNotificationPolicy()
984 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MEDIA, defaultPolicy))) { in toNotificationPolicy()
985 priorityCategories |= Policy.PRIORITY_CATEGORY_MEDIA; in toNotificationPolicy()
1115 priorityCategories |= Policy.PRIORITY_CATEGORY_MEDIA; in toNotificationPolicy()
1163 allowMedia = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_MEDIA) != 0; in applyNotificationPolicy()
1933 boolean allowMedia = (policy.priorityCategories & Policy.PRIORITY_CATEGORY_MEDIA) != 0; in areAllZenBehaviorSoundsMuted()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java365 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MEDIA); in testAllowMedia()
371 assertAllPriorityCategoriesUnsetExcept(policy, ZenPolicy.PRIORITY_CATEGORY_MEDIA); in testAllowMedia()
418 if (except != ZenPolicy.PRIORITY_CATEGORY_MEDIA) { in assertAllPriorityCategoriesUnsetExcept()
DZenModeHelperTest.java221 Policy.PRIORITY_CATEGORY_MEDIA, 0, 0, 0, 0); in testZenOff_NoMuteApplied()
235 Policy.PRIORITY_CATEGORY_MEDIA, 0, 0, 0, 0); in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
263 Policy.PRIORITY_CATEGORY_MEDIA, 0, 0, 0, 0); in testTotalSilence()
/frameworks/base/core/java/android/app/
DNotificationManager.java1401 public static final int PRIORITY_CATEGORY_MEDIA = 1 << 6; field in NotificationManager.Policy
1410 PRIORITY_CATEGORY_MEDIA,
1850 case PRIORITY_CATEGORY_MEDIA: return "PRIORITY_CATEGORY_MEDIA"; in priorityCategoryToString()
1884 return (priorityCategories & PRIORITY_CATEGORY_MEDIA) != 0; in allowMedia()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java153 .PRIORITY_CATEGORY_MEDIA) != 0; in SeekBarVolumizer()
573 & NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA) != 0; in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java614 .PRIORITY_CATEGORY_MEDIA) == 0; in updateZenConfig()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4007 & NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA) == 0; in shouldZenMuteStream()
4041 & NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA) == 0) { in updateZenModeAffectedStreams()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3823 priorityCategories &= ~Policy.PRIORITY_CATEGORY_MEDIA;
3829 & Policy.PRIORITY_CATEGORY_MEDIA;
/frameworks/base/api/
Dcurrent.txt5880 field public static final int PRIORITY_CATEGORY_MEDIA = 64; // 0x40