Searched refs:STATE_ALLOW (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 180 STATE_ALLOW, 195 public static final int STATE_ALLOW = 1; field in ZenPolicy 404 if (mVisualEffects.get(i) != STATE_ALLOW) { in shouldShowAllVisualEffects() 446 mZenPolicy.mPriorityCategories.set(i, STATE_ALLOW); in allowAllSounds() 476 mZenPolicy.mVisualEffects.set(i, STATE_ALLOW); in showAllVisualEffects() 526 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders() 536 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents() 556 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_ALLOW); in allowConversations() 580 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_ALLOW); in allowMessages() 604 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CALLS, STATE_ALLOW); in allowCalls() [all …]
|
D | ZenModeConfig.java | 774 builder.allowRepeatCallers(repeatCallers == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 778 builder.allowAlarms(alarms == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 782 builder.allowMedia(media == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 786 builder.allowSystem(system == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 790 builder.allowEvents(events == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 794 builder.allowReminders(reminders == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 809 builder.showFullScreenIntent(fullScreenIntent == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 813 builder.showLights(lights == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 817 builder.showPeeking(peek == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 821 builder.showStatusBarIcons(statusBar == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 52 assertEquals(ZenPolicy.STATE_ALLOW, in testZenPolicyApplyAllowedToDisallowed() 78 assertEquals(ZenPolicy.STATE_ALLOW, remindersUnset.getPriorityCategoryReminders()); in testZenPolicyApplyAllowedToUnset() 132 assertEquals(ZenPolicy.STATE_ALLOW, remindersAllowed.getPriorityCategoryReminders()); in testZenPolicyApplyUnsetToAllowed() 149 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyMoreSevereCallSenders() 167 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyLessSevereCallSenders() 207 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryCalls()); in testZenPolicyCallsInvalid() 229 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryReminders()); in testAllowReminders() 248 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryEvents()); in testAllowEvents() 267 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages() 275 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages() [all …]
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 230 STATE_ALLOW = 1; enumerator 308 STATE_ALLOW = 1; enumerator
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 6276 STATE_ALLOW = 1; enumerator
|
/frameworks/base/api/ |
D | current.txt | 43951 field public static final int STATE_ALLOW = 1; // 0x1
|