Searched refs:allowCalls (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 136 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyMoreSevereCallSenders() 140 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_STARRED); in testZenPolicyApplyMoreSevereCallSenders() 154 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyLessSevereCallSenders() 158 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testZenPolicyApplyLessSevereCallSenders() 199 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testZenPolicyCallsInvalid() 200 builder.allowCalls(20); // invalid #, won't change policy in testZenPolicyCallsInvalid() 291 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE); in testAllowCalls() 298 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testAllowCalls() 305 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_STARRED); in testAllowCalls() 312 builder.allowCalls(ZenPolicy.PEOPLE_TYPE_NONE); in testAllowCalls() [all …]
|
D | ZenModeConfigTest.java | 211 config.allowCalls = false; in getMutedNotificationsConfig() 229 config.allowCalls = true; in getCustomConfig() 248 config.allowCalls = false; in getMutedAllConfig()
|
D | ZenModeHelperTest.java | 452 mZenModeHelperSpy.mConfig.allowCalls = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 509 mZenModeHelperSpy.mConfig.allowCalls = false; in testRingerAffectedStreamsPriorityOnly() 694 mZenModeHelperSpy.mConfig.allowCalls = true; in testParcelConfig() 716 mZenModeHelperSpy.mConfig.allowCalls = true; in testWriteXml() 832 .allowCalls(ZenPolicy.PEOPLE_TYPE_NONE) in testWriteXmlWithZenPolicy() 875 .allowCalls(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlRestoreWithZenPolicy_forSystemUser() 1355 mZenModeHelperSpy.mConfig.allowCalls = true; in setupZenConfig() 1369 assertTrue(mZenModeHelperSpy.mConfig.allowCalls); in setupZenConfigMaintained()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 166 public boolean allowCalls = DEFAULT_ALLOW_CALLS; field in ZenModeConfig 186 allowCalls = source.readInt() == 1; in ZenModeConfig() 214 dest.writeInt(allowCalls ? 1 : 0); in writeToParcel() 253 .append(",allowCalls=").append(allowCalls) in toString() 300 if (allowCalls != to.allowCalls) { in diff() 301 d.addLine("allowCalls", allowCalls, to.allowCalls); in diff() 423 && other.allowCalls == allowCalls in equals() 439 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode() 513 rt.allowCalls = safeBoolean(parser, ALLOW_ATT_CALLS, in readXml() 595 out.attribute(null, ALLOW_ATT_CALLS, Boolean.toString(allowCalls)); in writeXml() [all …]
|
D | ZenPolicy.java | 511 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 | 98 if (!consolidatedPolicy.allowCalls()) return false; // no other calls get through in matchesCallFilter() 165 if (!policy.allowCalls()) { in shouldIntercept()
|
D | ZenModeHelper.java | 658 config.allowCalls, ZenModeConfig.sourceToString(config.allowCallsFrom), in dump() 1000 final boolean allowCalls = mConsolidatedPolicy.allowCalls(); in applyRestrictions() 1011 || (zenPriorityOnly && !allowCalls && !allowRepeatCallers) in applyRestrictions()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1898 public boolean allowCalls() { in allowCalls() method in NotificationManager.Policy
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 1955 HSPLandroid/app/NotificationManager$Policy;->allowCalls()Z
|
D | hiddenapi-greylist-max-o.txt | 68383 Landroid/service/notification/ZenModeConfig;->allowCalls:Z
|
/frameworks/base/api/ |
D | current.txt | 41638 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);
|