Searched refs:STATE_DISALLOW (Results 1 – 10 of 10) sorted by relevance
320 STATE_DISALLOW,339 public static final int STATE_DISALLOW = 2; field in ZenPolicy591 return STATE_DISALLOW; in getPriorityChannelsAllowed()603 if (mVisualEffects.get(i) != STATE_DISALLOW) { in shouldHideAllVisualEffects()684 mZenPolicy.mPriorityCategories.set(i, STATE_DISALLOW); in disallowAllSounds()707 mZenPolicy.mVisualEffects.set(i, STATE_DISALLOW); in hideAllVisualEffects()747 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders()757 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents()774 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_DISALLOW); in allowConversations()798 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_DISALLOW); in allowMessages()[all …]
42 import static android.service.notification.ZenPolicy.STATE_DISALLOW;1843 manualRule.zenPolicy.getPriorityChannelsAllowed() != STATE_DISALLOW); in toNotificationPolicy()
65 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyAllowedToDisallowed()73 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyAllowedToDisallowed()79 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyAllowedToDisallowed()114 assertEquals(ZenPolicy.STATE_DISALLOW, in testZenPolicyApplyDisallowedToUnset()133 assertEquals(ZenPolicy.STATE_DISALLOW, remindersAllowed.getPriorityCategoryReminders()); in testZenPolicyApplyDisallowedToAllowed()204 assertEquals(ZenPolicy.STATE_DISALLOW, contactsAllowed.getPriorityCategoryMessages()); in testZenPolicyApplyMoreSevereMessageSenders()237 assertThat(none.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_DISALLOW); in testZenPolicyApplyChannels_applyStricter()253 assertThat(priority.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_DISALLOW); in testZenPolicyApplyChannels_applyLooser()320 .isEqualTo(ZenPolicy.STATE_DISALLOW); // from p2 in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()322 .isEqualTo(ZenPolicy.STATE_DISALLOW); // from p1 in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()[all …]
73 assertThat(zenPolicy.getPriorityCategoryCalls()).isEqualTo(ZenPolicy.STATE_DISALLOW); in notificationPolicyToZenPolicy_repeatCallers()84 assertThat(zenPolicy.getPriorityCategoryCalls()).isEqualTo(ZenPolicy.STATE_DISALLOW); in notificationPolicyToZenPolicy_noCallers()104 ZenPolicy.STATE_DISALLOW); in notificationPolicyToZenPolicy_conversationsNotAllowedSendersUnset()114 assertThat(zenPolicy.getVisualEffectBadge()).isEqualTo(ZenPolicy.STATE_DISALLOW); in notificationPolicyToZenPolicy_setEffects()115 assertThat(zenPolicy.getVisualEffectLights()).isEqualTo(ZenPolicy.STATE_DISALLOW); in notificationPolicyToZenPolicy_setEffects()152 ZenPolicy.STATE_DISALLOW); in notificationPolicyToZenPolicy_modesApi_priorityChannels()
77 import static com.android.os.dnd.DNDProtoEnums.STATE_DISALLOW;1235 .isEqualTo(DNDProtoEnums.STATE_DISALLOW); in testProtoWithAutoRuleCustomPolicy_classic()1275 .isEqualTo(DNDProtoEnums.STATE_DISALLOW); in testProtoWithAutoRuleCustomPolicy()2002 assertThat(rule.zenPolicy.getPriorityCategoryAlarms()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2003 assertThat(rule.zenPolicy.getPriorityCategoryMedia()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2004 assertThat(rule.zenPolicy.getPriorityCategorySystem()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2012 assertThat(rule.zenPolicy.getVisualEffectBadge()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2062 assertThat(rule.zenPolicy.getPriorityCategoryRepeatCallers()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_fillsInCustomPolicies()2065 assertThat(rule.zenPolicy.getPriorityCategorySystem()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_fillsInCustomPolicies()2072 assertThat(rule.zenPolicy.getVisualEffectBadge()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_fillsInCustomPolicies()[all …]
38 STATE_DISALLOW = 2; enumerator
240 STATE_DISALLOW = 2; enumerator317 STATE_DISALLOW = 2; enumerator
638 return allow ? ZenPolicy.STATE_ALLOW : ZenPolicy.STATE_DISALLOW; in toState()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41350 field public static final int STATE_DISALLOW = 2; // 0x2