Home
last modified time | relevance | path

Searched refs:STATE_DISALLOW (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java145 STATE_DISALLOW,
164 public static final int STATE_DISALLOW = 2; field in ZenPolicy
336 if (mVisualEffects.get(i) != STATE_DISALLOW) { in shouldHideAllVisualEffects()
407 mZenPolicy.mPriorityCategories.set(i, STATE_DISALLOW); in disallowAllSounds()
429 mZenPolicy.mVisualEffects.set(i, STATE_DISALLOW); in hideAllVisualEffects()
467 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders()
477 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents()
493 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_DISALLOW); in allowMessages()
517 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CALLS, STATE_DISALLOW); in allowCalls()
536 allow ? STATE_ALLOW : STATE_DISALLOW); in allowRepeatCallers()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java42 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyAllowedToDisallowed()
50 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyAllowedToDisallowed()
56 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyAllowedToDisallowed()
91 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyDisallowedToUnset()
110 assertEquals(ZenPolicy.STATE_DISALLOW, remindersAllowed.getPriorityCategoryReminders()); in testZenPolicyApplyDisallowedToAllowed()
181 assertEquals(ZenPolicy.STATE_DISALLOW, contactsAllowed.getPriorityCategoryMessages()); in testZenPolicyApplyMoreSevereMessageSenders()
228 assertEquals(ZenPolicy.STATE_DISALLOW, policy.getPriorityCategoryReminders()); in testAllowReminders()
245 assertEquals(ZenPolicy.STATE_DISALLOW, policy.getPriorityCategoryEvents()); in testAllowEvents()
277 assertEquals(ZenPolicy.STATE_DISALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages()
315 assertEquals(ZenPolicy.STATE_DISALLOW, policy.getPriorityCategoryCalls()); in testAllowCalls()
[all …]
/frameworks/base/core/proto/android/service/
Dnotification.proto231 STATE_DISALLOW = 2; enumerator
/frameworks/base/non-updatable-api/
Dcurrent.txt42070 field public static final int STATE_DISALLOW = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt42214 field public static final int STATE_DISALLOW = 2; // 0x2