Searched refs:getPriorityChannelsAllowed (Results 1 – 8 of 8) sorted by relevance
146 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()
221 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()
263 ? 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()
4366 assertThat(rule.getZenPolicy().getPriorityChannelsAllowed()).isEqualTo( in updateAutomaticZenRule_fromUser_updatesBitmaskAndValue()4635 assertThat(rule.getZenPolicy().getPriorityChannelsAllowed()).isEqualTo( in automaticZenRuleToZenRule_nullToNonNullPolicyUpdate()
586 public @State int getPriorityChannelsAllowed() { in getPriorityChannelsAllowed() method in ZenPolicy1552 proto.write(DNDPolicyProto.ALLOW_CHANNELS, getPriorityChannelsAllowed()); in toProto()
1400 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()
1330 if (oldPolicy.getPriorityChannelsAllowed() != newPolicy.getPriorityChannelsAllowed()) { in updatePolicy()
41328 method @FlaggedApi("android.app.modes_api") public int getPriorityChannelsAllowed();