Home
last modified time | relevance | path

Searched refs:allowRepeatCallers (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenAdapters.java52 .allowRepeatCallers(policy.allowRepeatCallers()) in notificationPolicyToZenPolicy()
DZenModeConfig.java313 public boolean allowRepeatCallers = DEFAULT_ALLOW_REPEAT_CALLERS; field in ZenModeConfig
349 allowRepeatCallers = source.readInt() == 1; in ZenModeConfig()
387 .allowRepeatCallers(true) in getDefaultZenPolicy()
462 dest.writeInt(allowRepeatCallers ? 1 : 0); in writeToParcel()
519 .append(",allowRepeatCallers=").append(allowRepeatCallers) in toString()
693 return allowRepeatCallers; in isAllowRepeatCallers()
696 public void setAllowRepeatCallers(boolean allowRepeatCallers) { in setAllowRepeatCallers() argument
700 this.allowRepeatCallers = allowRepeatCallers; in setAllowRepeatCallers()
837 && other.allowRepeatCallers == allowRepeatCallers in equals()
864 allowRepeatCallers, allowMessages, in hashCode()
[all …]
DZenModeDiff.java275 if (from.allowRepeatCallers != to.allowRepeatCallers) { in ConfigDiff()
277 new FieldDiff<>(from.allowRepeatCallers, to.allowRepeatCallers)); in ConfigDiff()
DZenPolicy.java839 public @NonNull Builder allowRepeatCallers(boolean allow) { in allowRepeatCallers() method in ZenPolicy.Builder
899 allowRepeatCallers(allow); in allowCategory()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java305 .allowRepeatCallers(false) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()
513 builder.allowRepeatCallers(true); in testAllowRepeatCallers()
520 builder.allowRepeatCallers(false); in testAllowRepeatCallers()
722 ZenPolicy policy = builder.allowRepeatCallers(true).allowAlarms(false) in testPolicyBuilder_constructFromPolicy()
DZenModeHelperTest.java726 assertThat(policy.allowRepeatCallers()).isFalse(); in testTotalSilence_consolidatedPolicyDisallowsAll()
760 assertThat(policy.allowRepeatCallers()).isFalse(); in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia()
1216 .allowRepeatCallers(false) in testProtoWithAutoRuleCustomPolicy_classic()
1255 .allowRepeatCallers(false) in testProtoWithAutoRuleCustomPolicy()
1496 .allowRepeatCallers(false) in testWriteXmlWithZenPolicy()
1886 .allowRepeatCallers(false) in testReadXmlDefaultRulesExist()
1937 .allowRepeatCallers(false) in testReadXml_onModesApi_noUpgrade()
2035 .allowRepeatCallers(false) in testReadXml_upgradeToModesApi_fillsInCustomPolicies()
3835 assertTrue(mZenModeHelper.mConsolidatedPolicy.allowRepeatCallers()); in testUpdateConsolidatedPolicy_preModesApiDefaultRulesOnly_takesGlobalDefault()
3877 .allowRepeatCallers(false) // more restrictive than default in testUpdateConsolidatedPolicy_preModesApiCustomPolicyOnly_fillInWithGlobal()
[all …]
DZenModeConfigTest.java786 .allowRepeatCallers(true) in testZenPolicyXml_classic()
835 .allowRepeatCallers(true) in testZenPolicyXml()
997 .allowRepeatCallers(true) in getCustomConfig()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java116 if (consolidatedPolicy.allowRepeatCallers() in matchesCallFilter()
259 if (policy.allowRepeatCallers() in shouldIntercept()
DZenModeEventLogger.java572 toState(mNewPolicy.allowRepeatCallers())); in getDNDPolicyProto()
DZenModeHelper.java2191 final boolean allowRepeatCallers = mConsolidatedPolicy.allowRepeatCallers(); in applyRestrictions()
2201 || (zenPriorityOnly && !(allowCalls || allowRepeatCallers)) in applyRestrictions()
/frameworks/base/core/java/android/app/
DNotificationManager.java2637 public boolean allowRepeatCallers() { in allowRepeatCallers() method in NotificationManager.Policy
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41365 … method @NonNull public android.service.notification.ZenPolicy.Builder allowRepeatCallers(boolean);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49264 Landroid/service/notification/ZenModeConfig;->allowRepeatCallers:Z