Searched refs:allowCalls (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 140 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 …]
|
D | ZenModeConfigTest.java | 320 config.allowCalls = false; in getMutedRingerConfig() 338 config.allowCalls = true; in getCustomConfig() 359 config.allowCalls = false; in getMutedAllConfig()
|
D | ZenModeHelperTest.java | 580 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/ |
D | ZenModeConfig.java | 179 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 …]
|
D | ZenPolicy.java | 596 public @NonNull Builder allowCalls(@PeopleType int audienceType) { in allowCalls() method in ZenPolicy.Builder
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 99 if (!consolidatedPolicy.allowCalls()) return false; // no other calls get through in matchesCallFilter() 209 if (!policy.allowCalls()) { in shouldIntercept()
|
D | ZenModeHelper.java | 707 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/ |
D | NotificationManager.java | 2388 public boolean allowCalls() { in allowCalls() method in NotificationManager.Policy
|
/frameworks/base/core/api/ |
D | current.txt | 38757 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 53223 Landroid/service/notification/ZenModeConfig;->allowCalls:Z
|