Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java140 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyMoreSevereCallSenders()
144 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_STARRED); in testZenPolicyApplyMoreSevereCallSenders()
158 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyLessSevereCallSenders()
162 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testZenPolicyApplyLessSevereCallSenders()
204 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testZenPolicyCallsInvalid()
205 builder.allowCalls(20); // invalid #, won't change policy in testZenPolicyCallsInvalid()
307 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testAllowCalls()
315 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testAllowCalls()
323 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_STARRED); in testAllowCalls()
331 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_NONE); in testAllowCalls()
[all …]
DZenModeConfigTest.java320 config.allowCalls = false; in getMutedRingerConfig()
338 config.allowCalls = true; in getCustomConfig()
359 config.allowCalls = false; in getMutedAllConfig()
DZenModeHelperTest.java580 mZenModeHelperSpy.mConfig.allowCalls = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
640 mZenModeHelperSpy.mConfig.allowCalls = false; in testRingerAffectedStreamsPriorityOnly()
827 mZenModeHelperSpy.mConfig.allowCalls = true; in testParcelConfig()
851 mZenModeHelperSpy.mConfig.allowCalls = true; in testWriteXml()
1105 .allowCalls(ZenPolicy.PEOPLE_TYPE_NONE) in testWriteXmlWithZenPolicy()
1148 .allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlRestoreWithZenPolicy_forSystemUser()
1780 mZenModeHelperSpy.mConfig.allowCalls = true; in setupZenConfig()
1794 assertTrue(mZenModeHelperSpy.mConfig.allowCalls); in setupZenConfigMaintained()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java179 public boolean allowCalls = DEFAULT_ALLOW_CALLS; field in ZenModeConfig
201 allowCalls = source.readInt() == 1; in ZenModeConfig()
231 dest.writeInt(allowCalls ? 1 : 0); in writeToParcel()
272 .append(",allowCalls=").append(allowCalls) in toString()
322 if (allowCalls != to.allowCalls) { in diff()
323 d.addLine("allowCalls", allowCalls, to.allowCalls); in diff()
445 && other.allowCalls == allowCalls in equals()
463 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
538 rt.allowCalls = safeBoolean(parser, ALLOW_ATT_CALLS, in readXml()
623 out.attributeBoolean(null, ALLOW_ATT_CALLS, allowCalls); in writeXml()
[all …]
DZenPolicy.java596 public @NonNull Builder allowCalls(@PeopleType int audienceType) { in allowCalls() method in ZenPolicy.Builder
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java99 if (!consolidatedPolicy.allowCalls()) return false; // no other calls get through in matchesCallFilter()
209 if (!policy.allowCalls()) { in shouldIntercept()
DZenModeHelper.java707 config.allowCalls, ZenModeConfig.sourceToString(config.allowCallsFrom), in dump()
1049 final boolean allowCalls = mConsolidatedPolicy.allowCalls() in applyRestrictions()
1061 || (zenPriorityOnly && !(allowCalls || allowRepeatCallers)) in applyRestrictions()
/frameworks/base/core/java/android/app/
DNotificationManager.java2388 public boolean allowCalls() { in allowCalls() method in NotificationManager.Policy
/frameworks/base/core/api/
Dcurrent.txt38757 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt53223 Landroid/service/notification/ZenModeConfig;->allowCalls:Z