Home
last modified time | relevance | path

Searched refs:allowCalls (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java159 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 …]
DZenModeConfigTest.java277 .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()
DZenModeHelperTest.java721 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 …]
/frameworks/base/core/java/android/service/notification/
DZenAdapters.java34 .allowCalls( in notificationPolicyToZenPolicy()
35 policy.allowCalls() in notificationPolicyToZenPolicy()
DZenModeConfig.java312 public boolean allowCalls = DEFAULT_ALLOW_CALLS; field in ZenModeConfig
348 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() argument
648 this.allowCalls = allowCalls; in setAllowCalls()
753 return allowCalls; in isAllowCalls()
836 && other.allowCalls == allowCalls in equals()
[all …]
DZenModeDiff.java265 if (from.allowCalls != to.allowCalls) { in ConfigDiff()
266 addField(FIELD_ALLOW_CALLS, new FieldDiff<>(from.allowCalls, to.allowCalls)); in ConfigDiff()
DZenPolicy.java816 public @NonNull Builder allowCalls(@PeopleType int audienceType) { in allowCalls() method in ZenPolicy.Builder
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java121 if (!consolidatedPolicy.allowCalls()) { in matchesCallFilter()
265 if (!policy.allowCalls()) { in shouldIntercept()
DZenModeEventLogger.java570 proto.write(DNDPolicyProto.CALLS, toState(mNewPolicy.allowCalls())); in getDNDPolicyProto()
DZenModeHelper.java2189 final boolean allowCalls = mConsolidatedPolicy.allowCalls() in applyRestrictions()
2201 || (zenPriorityOnly && !(allowCalls || allowRepeatCallers)) in applyRestrictions()
/frameworks/base/core/java/android/app/
DNotificationManager.java2642 public boolean allowCalls() { in allowCalls() method in NotificationManager.Policy
/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.txt41358 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49257 Landroid/service/notification/ZenModeConfig;->allowCalls:Z