Searched refs:allowCalls (Results 1 – 12 of 12) 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() 999 final boolean allowCalls = mConsolidatedPolicy.allowCalls(); in applyRestrictions() 1010 || (zenPriorityOnly && !allowCalls && !allowRepeatCallers) in applyRestrictions()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1917 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 | 63812 Landroid/service/notification/ZenModeConfig;->allowCalls:Z
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 42078 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);
|
/frameworks/base/api/ |
D | current.txt | 42222 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);
|