Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractorTest.kt71 priorityCategories = entry.key in <lambda>()
94 priorityCategories = entry.key in <lambda>()
112 priorityCategories = category, in <lambda>()
130 priorityCategories = in <lambda>()
150 priorityCategories = 0, in <lambda>()
229 priorityCategories = NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS in <lambda>()
249 priorityCategories = NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA in <lambda>()
269 priorityCategories = in <lambda>()
295 priorityCategories = in <lambda>()
/frameworks/base/core/java/android/app/
DNotificationManager.java2082 public final int priorityCategories; field in NotificationManager.Policy
2228 public Policy(int priorityCategories, int priorityCallSenders, int priorityMessageSenders) { in Policy() argument
2229 this(priorityCategories, priorityCallSenders, priorityMessageSenders, in Policy()
2261 public Policy(int priorityCategories, int priorityCallSenders, int priorityMessageSenders, in Policy() argument
2263 this(priorityCategories, priorityCallSenders, priorityMessageSenders, in Policy()
2303 public Policy(int priorityCategories, @PrioritySenders int priorityCallSenders, in Policy() argument
2306 this(priorityCategories, priorityCallSenders, priorityMessageSenders, in Policy()
2311 public Policy(int priorityCategories, int priorityCallSenders, int priorityMessageSenders, in Policy() argument
2313 this.priorityCategories = priorityCategories; in Policy()
2330 dest.writeInt(priorityCategories); in writeToParcel()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1656 int priorityCategories = 0; in toNotificationPolicy() local
1664 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; in toNotificationPolicy()
1669 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in toNotificationPolicy()
1674 priorityCategories |= Policy.PRIORITY_CATEGORY_MESSAGES; in toNotificationPolicy()
1681 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in toNotificationPolicy()
1690 priorityCategories |= Policy.PRIORITY_CATEGORY_CALLS; in toNotificationPolicy()
1698 priorityCategories |= Policy.PRIORITY_CATEGORY_REPEAT_CALLERS; in toNotificationPolicy()
1703 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in toNotificationPolicy()
1708 priorityCategories |= Policy.PRIORITY_CATEGORY_MEDIA; in toNotificationPolicy()
1713 priorityCategories |= Policy.PRIORITY_CATEGORY_SYSTEM; in toNotificationPolicy()
[all …]
DZenPolicy.java384 public ZenPolicy(List<Integer> priorityCategories, List<Integer> visualEffects, in ZenPolicy() argument
387 mPriorityCategories = priorityCategories; in ZenPolicy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/repository/
DFakeNotificationsSoundPolicyRepository.kt50 priorityCategories: Int = 0,
59 priorityCategories,
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java196 int priorityCategories = originalPolicy.priorityCategories; in testZenPolicyToNotificationPolicy_classic() local
201 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy_classic()
202 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; in testZenPolicyToNotificationPolicy_classic()
203 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in testZenPolicyToNotificationPolicy_classic()
204 priorityCategories |= Policy.PRIORITY_CATEGORY_CONVERSATIONS; in testZenPolicyToNotificationPolicy_classic()
208 Policy expectedPolicy = new Policy(priorityCategories, priorityCallSenders, in testZenPolicyToNotificationPolicy_classic()
233 int priorityCategories = originalPolicy.priorityCategories; in testZenPolicyToNotificationPolicy() local
238 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
239 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; in testZenPolicyToNotificationPolicy()
240 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in testZenPolicyToNotificationPolicy()
[all …]
DZenPolicyTest.java751 Field priorityCategories = Class.forName(CLASS).getDeclaredField( in testTooLongLists_fromParcel() local
753 priorityCategories.setAccessible(true); in testTooLongLists_fromParcel()
754 priorityCategories.set(policy, longList); in testTooLongLists_fromParcel()
780 Field priorityCategories = Class.forName(CLASS).getDeclaredField( in testTooLongLists_fromParcel() local
782 priorityCategories.setAccessible(true); in testTooLongLists_fromParcel()
783 ArrayList<Integer> pcList = (ArrayList<Integer>) priorityCategories.get(fromParcel); in testTooLongLists_fromParcel()
DZenModeDiffTest.java241 c1Policy.priorityCategories, c1Policy.priorityCallSenders, in testConfigDiff_specialSenders()
247 c2Policy.priorityCategories, c2Policy.priorityCallSenders, in testConfigDiff_specialSenders()
DZenModeHelperTest.java3640 Policy newPolicy = new Policy(oldPolicy.priorityCategories, oldPolicy.priorityCallSenders, in testZenModeEventLog_policyAllowChannels()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java177 mAllowAlarms = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in SeekBarVolumizer()
179 mAllowMedia = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in SeekBarVolumizer()
669 mAllowAlarms = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in onReceive()
671 mAllowMedia = (mNotificationPolicy.priorityCategories in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java665 boolean disallowAlarms = (policy.priorityCategories & NotificationManager.Policy in updateZenConfig()
667 boolean disallowMedia = (policy.priorityCategories & NotificationManager.Policy in updateZenConfig()
669 boolean disallowSystem = (policy.priorityCategories & NotificationManager.Policy in updateZenConfig()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java492 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java6045 int priorityCategories = policy.priorityCategories;
6047 priorityCategories &= ~Policy.PRIORITY_CATEGORY_ALARMS;
6048 priorityCategories &= ~Policy.PRIORITY_CATEGORY_MEDIA;
6049 priorityCategories &= ~Policy.PRIORITY_CATEGORY_SYSTEM;
6051 priorityCategories |= currPolicy.priorityCategories
6053 priorityCategories |= currPolicy.priorityCategories
6055 priorityCategories |= currPolicy.priorityCategories
6058 policy = new Policy(priorityCategories,
6063 int priorityCategories = correctCategory(policy.priorityCategories,
6065 currPolicy.priorityCategories);
[all …]
DPreferencesHelper.java1928 policy.priorityCategories, policy.priorityCallSenders, in updateZenPolicy()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7056 if ((zenPolicy.priorityCategories in updateZenModeAffectedStreams()
7061 if ((zenPolicy.priorityCategories in updateZenModeAffectedStreams()
7068 if ((zenPolicy.priorityCategories 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.txt7121 field public final int priorityCategories;