Searched refs:STATE_ALLOW (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 144 STATE_ALLOW, 159 public static final int STATE_ALLOW = 1; field in ZenPolicy 349 if (mVisualEffects.get(i) != STATE_ALLOW) { in shouldShowAllVisualEffects() 391 mZenPolicy.mPriorityCategories.set(i, STATE_ALLOW); in allowAllSounds() 419 mZenPolicy.mVisualEffects.set(i, STATE_ALLOW); in showAllVisualEffects() 467 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders() 477 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents() 496 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_ALLOW); in allowMessages() 520 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CALLS, STATE_ALLOW); in allowCalls() 536 allow ? STATE_ALLOW : STATE_DISALLOW); in allowRepeatCallers() [all …]
|
D | ZenModeConfig.java | 749 builder.allowRepeatCallers(repeatCallers == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 753 builder.allowAlarms(alarms == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 757 builder.allowMedia(media == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 761 builder.allowSystem(system == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 765 builder.allowEvents(events == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 769 builder.allowReminders(reminders == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 784 builder.showFullScreenIntent(fullScreenIntent == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 788 builder.showLights(lights == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 792 builder.showPeeking(peek == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 796 builder.showStatusBarIcons(statusBar == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 48 assertEquals(ZenPolicy.STATE_ALLOW, in testZenPolicyApplyAllowedToDisallowed() 74 assertEquals(ZenPolicy.STATE_ALLOW, remindersUnset.getPriorityCategoryReminders()); in testZenPolicyApplyAllowedToUnset() 128 assertEquals(ZenPolicy.STATE_ALLOW, remindersAllowed.getPriorityCategoryReminders()); in testZenPolicyApplyUnsetToAllowed() 145 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyMoreSevereCallSenders() 163 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyLessSevereCallSenders() 202 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryCalls()); in testZenPolicyCallsInvalid() 222 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryReminders()); in testAllowReminders() 239 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryEvents()); in testAllowEvents() 256 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages() 263 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages() [all …]
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 230 STATE_ALLOW = 1; enumerator
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 42069 field public static final int STATE_ALLOW = 1; // 0x1
|
/frameworks/base/api/ |
D | current.txt | 42213 field public static final int STATE_ALLOW = 1; // 0x1
|