Home
last modified time | relevance | path

Searched refs:STATE_ALLOW (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java180 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 …]
DZenModeConfig.java774 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/
DZenPolicyTest.java52 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/
Dnotification.proto230 STATE_ALLOW = 1; enumerator
308 STATE_ALLOW = 1; enumerator
/frameworks/base/cmds/statsd/src/
Datoms.proto6276 STATE_ALLOW = 1; enumerator
/frameworks/base/api/
Dcurrent.txt43951 field public static final int STATE_ALLOW = 1; // 0x1