Home
last modified time | relevance | path

Searched refs:priorityCategories (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/app/
DNotificationManager.java1446 public final int priorityCategories; field in NotificationManager.Policy
1584 public Policy(int priorityCategories, int priorityCallSenders, int priorityMessageSenders) { in Policy() argument
1585 this(priorityCategories, priorityCallSenders, priorityMessageSenders, in Policy()
1618 public Policy(int priorityCategories, int priorityCallSenders, int priorityMessageSenders, in Policy() argument
1620 this.priorityCategories = priorityCategories; in Policy()
1628 public Policy(int priorityCategories, int priorityCallSenders, int priorityMessageSenders, in Policy() argument
1630 this.priorityCategories = priorityCategories; in Policy()
1645 dest.writeInt(priorityCategories); in writeToParcel()
1659 return Objects.hash(priorityCategories, priorityCallSenders, priorityMessageSenders, in hashCode()
1668 return other.priorityCategories == priorityCategories in equals()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java90 int priorityCategories = originalPolicy.priorityCategories; in testZenPolicyToNotificationPolicy() local
94 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
95 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; in testZenPolicyToNotificationPolicy()
96 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in testZenPolicyToNotificationPolicy()
100 Policy expectedPolicy = new Policy(priorityCategories, priorityCallSenders, in testZenPolicyToNotificationPolicy()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java943 int priorityCategories = 0; in toNotificationPolicy() local
950 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; in toNotificationPolicy()
955 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in toNotificationPolicy()
960 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy()
967 priorityCategories |= Policy.PRIORITY_CATEGORY_CALLS; in toNotificationPolicy()
975 priorityCategories |= Policy.PRIORITY_CATEGORY_REPEAT_CALLERS; in toNotificationPolicy()
980 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy()
985 priorityCategories |= Policy.PRIORITY_CATEGORY_MEDIA; in toNotificationPolicy()
990 priorityCategories |= Policy.PRIORITY_CATEGORY_SYSTEM; in toNotificationPolicy()
1049 return new NotificationManager.Policy(priorityCategories, callSenders, in toNotificationPolicy()
[all …]
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java150 mAllowAlarms = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in SeekBarVolumizer()
152 mAllowMedia = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in SeekBarVolumizer()
570 mAllowAlarms = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in onReceive()
572 mAllowMedia = (mNotificationPolicy.priorityCategories in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java612 boolean disallowAlarms = (policy.priorityCategories & NotificationManager.Policy in updateZenConfig()
614 boolean disallowMedia = (policy.priorityCategories & NotificationManager.Policy in updateZenConfig()
616 boolean disallowSystem = (policy.priorityCategories & NotificationManager.Policy in updateZenConfig()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3897 int priorityCategories = policy.priorityCategories;
3899 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS;
3900 priorityCategories &= ~Policy.PRIORITY_CATEGORY_MEDIA;
3901 priorityCategories &= ~Policy.PRIORITY_CATEGORY_SYSTEM;
3903 priorityCategories |= currPolicy.priorityCategories
3905 priorityCategories |= currPolicy.priorityCategories
3907 priorityCategories |= currPolicy.priorityCategories
3910 policy = new Policy(priorityCategories,
3916 policy = new Policy(policy.priorityCategories,
DPreferencesHelper.java1279 policy.priorityCategories, policy.priorityCallSenders, in updateZenPolicy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java464 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3968 final boolean muteAlarms = (zenPolicy.priorityCategories in shouldZenMuteStream()
3970 final boolean muteMedia = (zenPolicy.priorityCategories in shouldZenMuteStream()
3972 final boolean muteSystem = (zenPolicy.priorityCategories in shouldZenMuteStream()
4000 if ((zenPolicy.priorityCategories in updateZenModeAffectedStreams()
4005 if ((zenPolicy.priorityCategories in updateZenModeAffectedStreams()
4010 if ((zenPolicy.priorityCategories in updateZenModeAffectedStreams()
/frameworks/base/non-updatable-api/
Dcurrent.txt5901 field public final int priorityCategories;
/frameworks/base/api/
Dcurrent.txt5901 field public final int priorityCategories;