Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenAdaptersTest.java146 assertThat(zenPolicy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in notificationPolicyToZenPolicy_modesApi_priorityChannels()
151 assertThat(zenPolicyNotAllowed.getPriorityChannelsAllowed()).isEqualTo( in notificationPolicyToZenPolicy_modesApi_priorityChannels()
162 assertThat(zenPolicy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_noModesApi_priorityChannelsUnset()
167 assertThat(zenPolicyNotAllowed.getPriorityChannelsAllowed()).isEqualTo( in notificationPolicyToZenPolicy_noModesApi_priorityChannelsUnset()
DZenPolicyTest.java221 assertThat(channelsPriority.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in testZenPolicyApplyChannels_applyUnset()
237 assertThat(none.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_DISALLOW); in testZenPolicyApplyChannels_applyStricter()
253 assertThat(priority.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_DISALLOW); in testZenPolicyApplyChannels_applyLooser()
268 assertThat(unset.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in testZenPolicyApplyChannels_applySet()
382 assertThat(policy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_UNSET); in testEmptyZenPolicy_emptyChannels()
699 assertThat(policy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_UNSET); in testAllowChannels_noFlag()
711 assertThat(policy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in testAllowChannels()
716 assertThat(policy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_DISALLOW); in testAllowChannels()
737 assertThat(newPolicy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_ALLOW); in testPolicyBuilder_constructFromPolicy()
DZenModeConfigTest.java263 ? config.manualRule.zenPolicy.getPriorityChannelsAllowed() == STATE_ALLOW in testZenPolicyToNotificationPolicy_unsetChannelsTakesDefault()
359 assertEquals(expected.getPriorityChannelsAllowed(), actual.getPriorityChannelsAllowed()); in testZenConfigToZenPolicy()
867 assertEquals(policy.getPriorityChannelsAllowed(), fromXml.getPriorityChannelsAllowed()); in testZenPolicyXml()
DZenModeHelperTest.java4366 assertThat(rule.getZenPolicy().getPriorityChannelsAllowed()).isEqualTo( in updateAutomaticZenRule_fromUser_updatesBitmaskAndValue()
4635 assertThat(rule.getZenPolicy().getPriorityChannelsAllowed()).isEqualTo( in automaticZenRuleToZenRule_nullToNonNullPolicyUpdate()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java586 public @State int getPriorityChannelsAllowed() { in getPriorityChannelsAllowed() method in ZenPolicy
1552 proto.write(DNDPolicyProto.ALLOW_CHANNELS, getPriorityChannelsAllowed()); in toProto()
DZenModeConfig.java1400 writeZenPolicyState(ALLOW_ATT_CHANNELS, policy.getPriorityChannelsAllowed(), out); in writeZenPolicyXml()
1775 ZenPolicy.stateToBoolean(zenPolicy.getPriorityChannelsAllowed(), in toNotificationPolicy()
1843 manualRule.zenPolicy.getPriorityChannelsAllowed() != STATE_DISALLOW); in toNotificationPolicy()
2835 && !(config.areChannelsBypassingDnd && policy.getPriorityChannelsAllowed() in areAllPriorityOnlyRingerSoundsMuted()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1330 if (oldPolicy.getPriorityChannelsAllowed() != newPolicy.getPriorityChannelsAllowed()) { in updatePolicy()
/frameworks/base/core/api/
Dcurrent.txt41328 method @FlaggedApi("android.app.modes_api") public int getPriorityChannelsAllowed();