Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenPolicy.java193 STATE_ALLOW,
208 public static final int STATE_ALLOW = 1; field in ZenPolicy
417 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 …]
H A DZenModeConfig.java715 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 …]
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenPolicyTest.java57 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 …]
H A DZenModeHelperTest.java50 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 …]
/aosp14/frameworks/base/core/proto/android/service/
H A Dnotification.proto239 STATE_ALLOW = 1; enumerator
316 STATE_ALLOW = 1; enumerator
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeEventLogger.java534 return allow ? ZenPolicy.STATE_ALLOW : ZenPolicy.STATE_DISALLOW; in toState()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt41070 field public static final int STATE_ALLOW = 1; // 0x1