Searched refs:allowPriorityChannels (Results 1 – 15 of 15) sorted by relevance
66 zenPolicyBuilder.allowPriorityChannels(policy.allowPriorityChannels()); in notificationPolicyToZenPolicy()
308 if (from.allowPriorityChannels != to.allowPriorityChannels) { in ConfigDiff()310 new FieldDiff<>(from.allowPriorityChannels, to.allowPriorityChannels)); in ConfigDiff()
328 public boolean allowPriorityChannels = DEFAULT_ALLOW_PRIORITY_CHANNELS; field in ZenModeConfig373 allowPriorityChannels = source.readBoolean(); in ZenModeConfig()394 .allowPriorityChannels(true) in getDefaultZenPolicy()486 dest.writeBoolean(allowPriorityChannels); in writeToParcel()530 sb.append(",allowPriorityChannels=").append(allowPriorityChannels); in toString()546 return allowPriorityChannels; in isAllowPriorityChannels()549 public void setAllowPriorityChannels(boolean allowPriorityChannels) { in setAllowPriorityChannels() argument553 this.allowPriorityChannels = allowPriorityChannels; in setAllowPriorityChannels()853 && other.allowPriorityChannels == allowPriorityChannels; in equals()868 allowConversationsFrom, allowPriorityChannels); in hashCode()[all …]
1012 public @NonNull Builder allowPriorityChannels(boolean allow) { in allowPriorityChannels() method in ZenPolicy.Builder
216 builder.allowPriorityChannels(true); in testZenPolicyApplyChannels_applyUnset()229 builder.allowPriorityChannels(false); in testZenPolicyApplyChannels_applyStricter()232 builder.allowPriorityChannels(true); in testZenPolicyApplyChannels_applyStricter()245 builder.allowPriorityChannels(false); in testZenPolicyApplyChannels_applyLooser()248 builder.allowPriorityChannels(true); in testZenPolicyApplyChannels_applyLooser()263 builder.allowPriorityChannels(true); in testZenPolicyApplyChannels_applySet()696 builder.allowPriorityChannels(true); in testAllowChannels_noFlag()709 builder.allowPriorityChannels(true); in testAllowChannels()714 builder.allowPriorityChannels(false); in testAllowChannels()724 .allowPriorityChannels(true) in testPolicyBuilder_constructFromPolicy()
151 .allowPriorityChannels(true) in testPriorityOnlyMutingAllNotifications()162 .allowPriorityChannels(false) in testPriorityOnlyMutingAllNotifications()229 .allowPriorityChannels(false) in testZenPolicyToNotificationPolicy()251 assertFalse(expectedPolicy.allowPriorityChannels()); in testZenPolicyToNotificationPolicy()265 policy.allowPriorityChannels()); in testZenPolicyToNotificationPolicy_unsetChannelsTakesDefault()325 .allowPriorityChannels(false) in testZenConfigToZenPolicy()392 .allowPriorityChannels(true) in testPriorityOnlyMutingAll()404 .allowPriorityChannels(false) in testPriorityOnlyMutingAll()841 .allowPriorityChannels(false) in testZenPolicyXml()966 .allowPriorityChannels(false) in getMutedRingerConfig()[all …]
550 .allowPriorityChannels(true) in testAllowChannels_priorityPackage()556 .allowPriorityChannels(false) in testAllowChannels_priorityPackage()
727 assertThat(policy.allowPriorityChannels()).isFalse(); in testTotalSilence_consolidatedPolicyDisallowsAll()761 assertThat(policy.allowPriorityChannels()).isFalse(); in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia()1257 .allowPriorityChannels(false) in testProtoWithAutoRuleCustomPolicy()4092 .allowPriorityChannels(true) in testUpdateConsolidatedPolicy_allowChannels()4110 assertTrue(mZenModeHelper.mConsolidatedPolicy.allowPriorityChannels()); in testUpdateConsolidatedPolicy_allowChannels()4114 .allowPriorityChannels(false) in testUpdateConsolidatedPolicy_allowChannels()4132 assertFalse(mZenModeHelper.mConsolidatedPolicy.allowPriorityChannels()); in testUpdateConsolidatedPolicy_allowChannels()4345 .allowPriorityChannels(false) in updateAutomaticZenRule_fromUser_updatesBitmaskAndValue()4605 .allowPriorityChannels(false) // Differs from the default in automaticZenRuleToZenRule_nullToNonNullPolicyUpdate()5918 .allowPriorityChannels(true) in applyGlobalPolicyAsImplicitZenRule_createsImplicitRule()[all …]
2443 : (allowPriorityChannels() ? "true" : "false"))); in toString()2722 public boolean allowPriorityChannels() { in allowPriorityChannels() method in NotificationManager.Policy2737 public static int policyState(boolean hasPriorityChannels, boolean allowPriorityChannels) { in policyState() argument2742 if (!allowPriorityChannels) { in policyState()
605 mNewPolicy.allowPriorityChannels() in getDNDPolicyProto()
157 return inPriorityChannel && policy.allowPriorityChannels(); in canRecordBypassDnd()
2053 .allowPriorityChannels(false) in applyCustomPolicy()2060 .allowPriorityChannels(false) in applyCustomPolicy()
4570 return mZenModeHelper.getConsolidatedNotificationPolicy().allowPriorityChannels()
404 method @FlaggedApi("android.app.modes_api") public boolean allowPriorityChannels();
41363 …pi") @NonNull public android.service.notification.ZenPolicy.Builder allowPriorityChannels(boolean);