Searched refs:STATE_ALLOW (Results 1 – 11 of 11) sorted by relevance
52 assertThat(zenPolicy.getPriorityCategoryCalls()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_allCallers()63 assertThat(zenPolicy.getPriorityCategoryCalls()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_starredCallers()74 assertThat(zenPolicy.getPriorityCategoryRepeatCallers()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_repeatCallers()117 assertThat(zenPolicy.getVisualEffectAmbient()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_setEffects()118 assertThat(zenPolicy.getVisualEffectFullScreenIntent()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_setEffects()119 assertThat(zenPolicy.getVisualEffectNotificationList()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_setEffects()120 assertThat(zenPolicy.getVisualEffectPeek()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_setEffects()121 assertThat(zenPolicy.getVisualEffectStatusBar()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_setEffects()146 assertThat(zenPolicy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_modesApi_priorityChannels()
71 assertEquals(ZenPolicy.STATE_ALLOW, in testZenPolicyApplyAllowedToDisallowed()97 assertEquals(ZenPolicy.STATE_ALLOW, remindersUnset.getPriorityCategoryReminders()); in testZenPolicyApplyAllowedToUnset()151 assertEquals(ZenPolicy.STATE_ALLOW, remindersAllowed.getPriorityCategoryReminders()); in testZenPolicyApplyUnsetToAllowed()168 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyMoreSevereCallSenders()186 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyLessSevereCallSenders()221 assertThat(channelsPriority.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in testZenPolicyApplyChannels_applyUnset()268 assertThat(unset.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in testZenPolicyApplyChannels_applySet()326 .isEqualTo(ZenPolicy.STATE_ALLOW); // from p2 in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()338 .isEqualTo(ZenPolicy.STATE_ALLOW); // from p1 in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()340 .isEqualTo(ZenPolicy.STATE_ALLOW); // from p2 in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()[all …]
76 import static com.android.os.dnd.DNDProtoEnums.STATE_ALLOW;1233 assertThat(policy.getAlarms().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy_classic()1236 assertThat(policy.getCalls().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy_classic()1273 assertThat(policy.getAlarms().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy()1276 assertThat(policy.getCalls().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy()2005 assertThat(rule.zenPolicy.getPriorityCategoryReminders()).isEqualTo(STATE_ALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2006 assertThat(rule.zenPolicy.getPriorityCategoryCalls()).isEqualTo(STATE_ALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2008 assertThat(rule.zenPolicy.getPriorityCategoryMessages()).isEqualTo(STATE_ALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2009 assertThat(rule.zenPolicy.getPriorityCategoryConversations()).isEqualTo(STATE_ALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()2010 assertThat(rule.zenPolicy.getPriorityCategoryEvents()).isEqualTo(STATE_ALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()[all …]
29 import static android.service.notification.ZenPolicy.STATE_ALLOW;263 ? config.manualRule.zenPolicy.getPriorityChannelsAllowed() == STATE_ALLOW in testZenPolicyToNotificationPolicy_unsetChannelsTakesDefault()
319 STATE_ALLOW,334 public static final int STATE_ALLOW = 1; field in ZenPolicy589 return STATE_ALLOW; in getPriorityChannelsAllowed()616 if (mVisualEffects.get(i) != STATE_ALLOW) { in shouldShowAllVisualEffects()667 mZenPolicy.mPriorityCategories.set(i, STATE_ALLOW); in allowAllSounds()697 mZenPolicy.mVisualEffects.set(i, STATE_ALLOW); in showAllVisualEffects()747 allow ? STATE_ALLOW : STATE_DISALLOW); in allowReminders()757 allow ? STATE_ALLOW : STATE_DISALLOW); in allowEvents()777 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_CONVERSATIONS, STATE_ALLOW); in allowConversations()801 mZenPolicy.mPriorityCategories.set(PRIORITY_CATEGORY_MESSAGES, STATE_ALLOW); in allowMessages()[all …]
41 import static android.service.notification.ZenPolicy.STATE_ALLOW;1286 builder.allowPriorityChannels(channels == STATE_ALLOW); in readZenPolicyXml()1300 builder.allowRepeatCallers(repeatCallers == STATE_ALLOW); in readZenPolicyXml()1308 builder.allowAlarms(alarms == STATE_ALLOW); in readZenPolicyXml()1312 builder.allowMedia(media == STATE_ALLOW); in readZenPolicyXml()1316 builder.allowSystem(system == STATE_ALLOW); in readZenPolicyXml()1320 builder.allowEvents(events == STATE_ALLOW); in readZenPolicyXml()1324 builder.allowReminders(reminders == STATE_ALLOW); in readZenPolicyXml()1339 builder.showFullScreenIntent(fullScreenIntent == STATE_ALLOW); in readZenPolicyXml()1343 builder.showLights(lights == STATE_ALLOW); in readZenPolicyXml()[all …]
37 STATE_ALLOW = 1; enumerator
239 STATE_ALLOW = 1; enumerator316 STATE_ALLOW = 1; enumerator
638 return allow ? ZenPolicy.STATE_ALLOW : ZenPolicy.STATE_DISALLOW; in toState()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41349 field public static final int STATE_ALLOW = 1; // 0x1