Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java136 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 …]
DZenModeConfigTest.java211 config.allowCalls = false; in getMutedNotificationsConfig()
229 config.allowCalls = true; in getCustomConfig()
248 config.allowCalls = false; in getMutedAllConfig()
DZenModeHelperTest.java452 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/
DZenModeConfig.java166 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 …]
DZenPolicy.java511 public @NonNull Builder allowCalls(@PeopleType int audienceType) { in allowCalls() method in ZenPolicy.Builder
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java98 if (!consolidatedPolicy.allowCalls()) return false; // no other calls get through in matchesCallFilter()
165 if (!policy.allowCalls()) { in shouldIntercept()
DZenModeHelper.java658 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/
DNotificationManager.java1898 public boolean allowCalls() { in allowCalls() method in NotificationManager.Policy
/frameworks/base/config/
Dboot-image-profile.txt1955 HSPLandroid/app/NotificationManager$Policy;->allowCalls()Z
Dhiddenapi-greylist-max-o.txt68383 Landroid/service/notification/ZenModeConfig;->allowCalls:Z
/frameworks/base/api/
Dcurrent.txt41638 method @NonNull public android.service.notification.ZenPolicy.Builder allowCalls(int);