Home
last modified time | relevance | path

Searched refs:STATE_DISALLOW (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java320 STATE_DISALLOW,
339 public static final int STATE_DISALLOW = 2; field in ZenPolicy
591 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 …]
DZenModeConfig.java42 import static android.service.notification.ZenPolicy.STATE_DISALLOW;
1843 manualRule.zenPolicy.getPriorityChannelsAllowed() != STATE_DISALLOW); in toNotificationPolicy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java65 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 …]
DZenAdaptersTest.java73 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()
DZenModeHelperTest.java77 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 …]
/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto38 STATE_DISALLOW = 2; enumerator
/frameworks/base/core/proto/android/service/
Dnotification.proto240 STATE_DISALLOW = 2; enumerator
317 STATE_DISALLOW = 2; enumerator
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java638 return allow ? ZenPolicy.STATE_ALLOW : ZenPolicy.STATE_DISALLOW; in toState()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41350 field public static final int STATE_DISALLOW = 2; // 0x2