Searched refs:allowCalls (Results 1 – 14 of 14) sorted by relevance
159 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyMoreSevereCallSenders()163 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_STARRED); in testZenPolicyApplyMoreSevereCallSenders()177 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyLessSevereCallSenders()181 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testZenPolicyApplyLessSevereCallSenders()278 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyOverwrite_allUnsetPolicies()298 .allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()358 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testZenPolicyCallsInvalid()359 builder.allowCalls(20); // invalid #, won't change policy in testZenPolicyCallsInvalid()470 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testAllowCalls()478 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testAllowCalls()[all …]
277 .allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS) in testZenConfigToZenPolicy_classic()322 .allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS) in testZenConfigToZenPolicy()783 .allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS) in testZenPolicyXml_classic()832 .allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS) in testZenPolicyXml()996 .allowCalls(PEOPLE_TYPE_ANYONE) in getCustomConfig()
721 assertThat(policy.allowCalls()).isFalse(); in testTotalSilence_consolidatedPolicyDisallowsAll()755 assertThat(policy.allowCalls()).isFalse(); in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia()1217 .allowCalls(PEOPLE_TYPE_STARRED) in testProtoWithAutoRuleCustomPolicy_classic()1256 .allowCalls(PEOPLE_TYPE_STARRED) in testProtoWithAutoRuleCustomPolicy()1497 .allowCalls(ZenPolicy.PEOPLE_TYPE_NONE) in testWriteXmlWithZenPolicy()1546 .allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlRestoreWithZenPolicy_forSystemUser()1935 .allowCalls(PEOPLE_TYPE_CONTACTS) in testReadXml_onModesApi_noUpgrade()2417 .allowCalls(PEOPLE_TYPE_NONE) in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()2788 .allowCalls(ZenPolicy.PEOPLE_TYPE_NONE) // default is stars in updateAutomaticZenRule_nullPolicy_doesNothing()2814 .allowCalls(ZenPolicy.PEOPLE_TYPE_NONE) // default is stars in updateAutomaticZenRule_overwritesExistingPolicy()[all …]
34 .allowCalls( in notificationPolicyToZenPolicy()35 policy.allowCalls() in notificationPolicyToZenPolicy()
312 public boolean allowCalls = DEFAULT_ALLOW_CALLS; field in ZenModeConfig348 allowCalls = source.readInt() == 1; in ZenModeConfig()383 .allowCalls(PEOPLE_TYPE_STARRED) in getDefaultZenPolicy()461 dest.writeInt(allowCalls ? 1 : 0); in writeToParcel()518 .append(",allowCalls=").append(allowCalls) in toString()637 .allowCalls(prioritySendersToPeopleType(allowCallsFrom)) in setAllowCallsFrom()644 public void setAllowCalls(boolean allowCalls) { in setAllowCalls() argument648 this.allowCalls = allowCalls; in setAllowCalls()753 return allowCalls; in isAllowCalls()836 && other.allowCalls == allowCalls in equals()[all …]
265 if (from.allowCalls != to.allowCalls) { in ConfigDiff()266 addField(FIELD_ALLOW_CALLS, new FieldDiff<>(from.allowCalls, to.allowCalls)); in ConfigDiff()
816 public @NonNull Builder allowCalls(@PeopleType int audienceType) { in allowCalls() method in ZenPolicy.Builder
121 if (!consolidatedPolicy.allowCalls()) { in matchesCallFilter()265 if (!policy.allowCalls()) { in shouldIntercept()
570 proto.write(DNDPolicyProto.CALLS, toState(mNewPolicy.allowCalls())); in getDNDPolicyProto()
2189 final boolean allowCalls = mConsolidatedPolicy.allowCalls() in applyRestrictions()2201 || (zenPriorityOnly && !(allowCalls || allowRepeatCallers)) in applyRestrictions()
2642 public boolean allowCalls() { in allowCalls() method in NotificationManager.Policy
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41358 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);
49257 Landroid/service/notification/ZenModeConfig;->allowCalls:Z