Searched refs:allowRepeatCallers (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 152 public boolean allowRepeatCallers = DEFAULT_ALLOW_REPEAT_CALLERS; field in ZenModeConfig 170 allowRepeatCallers = source.readInt() == 1; in ZenModeConfig() 198 dest.writeInt(allowRepeatCallers ? 1 : 0); in writeToParcel() 237 .append(",allowRepeatCallers=").append(allowRepeatCallers) in toString() 274 if (allowRepeatCallers != to.allowRepeatCallers) { in diff() 275 d.addLine("allowRepeatCallers", allowRepeatCallers, to.allowRepeatCallers); in diff() 389 && other.allowRepeatCallers == allowRepeatCallers in equals() 405 allowRepeatCallers, allowMessages, in hashCode() 471 rt.allowRepeatCallers = safeBoolean(parser, ALLOW_ATT_REPEAT_CALLERS, in readXml() 552 out.attribute(null, ALLOW_ATT_REPEAT_CALLERS, Boolean.toString(allowRepeatCallers)); in writeXml() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 240 mZenModeHelperSpy.mConfig.allowRepeatCallers= false; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 247 assertFalse(mZenModeHelperSpy.mConfig.allowRepeatCallers); in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 266 mZenModeHelperSpy.mConfig.allowRepeatCallers= false; in testZenAllCannotBypass() 273 assertFalse(mZenModeHelperSpy.mConfig.allowRepeatCallers); in testZenAllCannotBypass() 333 mZenModeHelperSpy.mConfig.allowRepeatCallers= false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 390 mZenModeHelperSpy.mConfig.allowRepeatCallers= false; in testRingerAffectedStreamsPriorityOnly() 574 mZenModeHelperSpy.mConfig.allowRepeatCallers= true; in testParcelConfig() 596 mZenModeHelperSpy.mConfig.allowRepeatCallers= true; in testWriteXml() 825 mZenModeHelperSpy.mConfig.allowRepeatCallers= true; in setupZenConfig() 844 assertTrue(mZenModeHelperSpy.mConfig.allowRepeatCallers); in setupZenConfigMaintained()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 97 if (config.allowRepeatCallers && REPEAT_CALLERS.isRepeat(context, extras)) { in matchesCallFilter() 157 if (config.allowRepeatCallers in shouldIntercept()
|
D | ZenModeHelper.java | 588 config.allowRepeatCallers, config.allowMessages, in dump() 855 || (zenPriorityOnly && !mConfig.allowCalls && !mConfig.allowRepeatCallers) in applyRestrictions()
|