Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeBackend.java121 return (mPolicy.priorityCategories & categoryType) != 0; in isPriorityCategoryEnabled()
125 int priorityCategories = mPolicy.priorityCategories; in getNewDefaultPriorityCategories() local
127 priorityCategories |= categoryType; in getNewDefaultPriorityCategories()
129 priorityCategories &= ~categoryType; in getNewDefaultPriorityCategories()
131 return priorityCategories; in getNewDefaultPriorityCategories()
155 savePolicy(mPolicy.priorityCategories, mPolicy.priorityCallSenders, in saveVisualEffectsPolicy()
160 int priorityCategories = getNewDefaultPriorityCategories(allow, category); in saveSoundPolicy() local
161 savePolicy(priorityCategories, mPolicy.priorityCallSenders, in saveSoundPolicy()
165 protected void savePolicy(int priorityCategories, int priorityCallSenders, in savePolicy() argument
167 mPolicy = new NotificationManager.Policy(priorityCategories, priorityCallSenders, in savePolicy()
DZenOnboardingActivity.java128 Policy.PRIORITY_CATEGORY_REPEAT_CALLERS | policy.priorityCategories, in save()
DZenModeSettings.java251 return (policy.priorityCategories & categoryType) != 0; in isCategoryEnabled()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeBackend.java123 return (mPolicy.priorityCategories & categoryType) != 0; in isPriorityCategoryEnabled()
127 int priorityCategories = mPolicy.priorityCategories; in getNewDefaultPriorityCategories() local
129 priorityCategories |= categoryType; in getNewDefaultPriorityCategories()
131 priorityCategories &= ~categoryType; in getNewDefaultPriorityCategories()
133 return priorityCategories; in getNewDefaultPriorityCategories()
164 savePolicy(mPolicy.priorityCategories, mPolicy.priorityCallSenders, in saveVisualEffectsPolicy()
170 int priorityCategories = getNewDefaultPriorityCategories(allow, category); in saveSoundPolicy() local
171 savePolicy(priorityCategories, mPolicy.priorityCallSenders, in saveSoundPolicy()
176 protected void savePolicy(int priorityCategories, int priorityCallSenders, in savePolicy() argument
179 mPolicy = new NotificationManager.Policy(priorityCategories, priorityCallSenders, in savePolicy()
DZenOnboardingActivity.java128 Policy.PRIORITY_CATEGORY_REPEAT_CALLERS | policy.priorityCategories, in save()
DZenModeSettings.java262 return (policy.priorityCategories & categoryType) != 0; in isCategoryEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenOnboardingActivityTest.java109 assertThat(actual.priorityCategories).isEqualTo(PRIORITY_CATEGORY_ALARMS in saveNewSetting()