Searched refs:STATE_ALLOW (Results 1 – 8 of 8) sorted by relevance
193 STATE_ALLOW,208 public static final int STATE_ALLOW = 1; field in ZenPolicy417 if (mVisualEffects.get(i) != STATE_ALLOW) { in shouldShowAllVisualEffects()703 show ? STATE_ALLOW : STATE_DISALLOW); in showFullScreenIntent()713 show ? STATE_ALLOW : STATE_DISALLOW); in showLights()722 show ? STATE_ALLOW : STATE_DISALLOW); in showPeeking()732 show ? STATE_ALLOW : STATE_DISALLOW); in showStatusBarIcons()742 show ? STATE_ALLOW : STATE_DISALLOW); in showBadges()939 case STATE_ALLOW: in stateToString()1045 case ZenPolicy.STATE_ALLOW: in isCategoryAllowed()[all …]
715 builder.allowRepeatCallers(repeatCallers == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()723 builder.allowAlarms(alarms == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()727 builder.allowMedia(media == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()731 builder.allowSystem(system == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()735 builder.allowEvents(events == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()739 builder.allowReminders(reminders == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()758 builder.showLights(lights == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()762 builder.showPeeking(peek == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()766 builder.showStatusBarIcons(statusBar == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()770 builder.showBadges(badges == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()[all …]
57 assertEquals(ZenPolicy.STATE_ALLOW, in testZenPolicyApplyAllowedToDisallowed()212 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryCalls()); in testZenPolicyCallsInvalid()253 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryEvents()); in testAllowEvents()272 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages()280 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages()315 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryCalls()); in testAllowCalls()323 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryCalls()); in testAllowCalls()331 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryCalls()); in testAllowCalls()377 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryAlarms()); in testAllowAlarms()396 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMedia()); in testAllowMedia()[all …]
50 import static com.android.os.dnd.DNDProtoEnums.STATE_ALLOW;2150 assertEquals(STATE_ALLOW, dndProto.getAlarms().getNumber()); in testZenModeEventLog_policyChanges()2614 assertEquals(STATE_ALLOW, dndProto.getReminders().getNumber()); in checkDndProtoMatchesSetupZenConfig()2615 assertEquals(STATE_ALLOW, dndProto.getCalls().getNumber()); in checkDndProtoMatchesSetupZenConfig()2617 assertEquals(STATE_ALLOW, dndProto.getMessages().getNumber()); in checkDndProtoMatchesSetupZenConfig()2618 assertEquals(STATE_ALLOW, dndProto.getEvents().getNumber()); in checkDndProtoMatchesSetupZenConfig()2620 assertEquals(STATE_ALLOW, dndProto.getFullscreen().getNumber()); in checkDndProtoMatchesSetupZenConfig()2621 assertEquals(STATE_ALLOW, dndProto.getLights().getNumber()); in checkDndProtoMatchesSetupZenConfig()2622 assertEquals(STATE_ALLOW, dndProto.getPeek().getNumber()); in checkDndProtoMatchesSetupZenConfig()2623 assertEquals(STATE_ALLOW, dndProto.getStatusBar().getNumber()); in checkDndProtoMatchesSetupZenConfig()[all …]
239 STATE_ALLOW = 1; enumerator316 STATE_ALLOW = 1; enumerator
534 return allow ? ZenPolicy.STATE_ALLOW : ZenPolicy.STATE_DISALLOW; in toState()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41070 field public static final int STATE_ALLOW = 1; // 0x1