Searched refs:priorityCategories (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeBackend.java | 138 return (mPolicy.priorityCategories & categoryType) != 0; in isPriorityCategoryEnabled() 142 int priorityCategories = mPolicy.priorityCategories; in getNewDefaultPriorityCategories() local 144 priorityCategories |= categoryType; in getNewDefaultPriorityCategories() 146 priorityCategories &= ~categoryType; in getNewDefaultPriorityCategories() 148 return priorityCategories; in getNewDefaultPriorityCategories() 179 savePolicy(mPolicy.priorityCategories, mPolicy.priorityCallSenders, in saveVisualEffectsPolicy() 185 int priorityCategories = getNewDefaultPriorityCategories(allow, category); in saveSoundPolicy() local 186 savePolicy(priorityCategories, mPolicy.priorityCallSenders, in saveSoundPolicy() 191 protected void savePolicy(int priorityCategories, int priorityCallSenders, in savePolicy() argument 194 mPolicy = new NotificationManager.Policy(priorityCategories, priorityCallSenders, in savePolicy()
|
D | ZenOnboardingActivity.java | 130 Policy.PRIORITY_CATEGORY_REPEAT_CALLERS | policy.priorityCategories, in save()
|
D | ZenModeSettings.java | 278 return (policy.priorityCategories & categoryType) != 0; in isCategoryEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenOnboardingActivityTest.java | 114 assertThat(actual.priorityCategories).isEqualTo(PRIORITY_CATEGORY_ALARMS in saveNewSetting()
|