Searched refs:allowCalls (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 218 mZenModeHelperSpy.mConfig.allowCalls = true; in testAlarmsOnly_callsMuteApplied() 219 assertTrue(mZenModeHelperSpy.mConfig.allowCalls); in testAlarmsOnly_callsMuteApplied() 237 mZenModeHelperSpy.mConfig.allowCalls = false; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 244 assertFalse(mZenModeHelperSpy.mConfig.allowCalls); in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 263 mZenModeHelperSpy.mConfig.allowCalls = false; in testZenAllCannotBypass() 270 assertFalse(mZenModeHelperSpy.mConfig.allowCalls); in testZenAllCannotBypass() 330 mZenModeHelperSpy.mConfig.allowCalls = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 387 mZenModeHelperSpy.mConfig.allowCalls = false; in testRingerAffectedStreamsPriorityOnly() 571 mZenModeHelperSpy.mConfig.allowCalls = true; in testParcelConfig() 593 mZenModeHelperSpy.mConfig.allowCalls = true; in testWriteXml() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 151 public boolean allowCalls = DEFAULT_ALLOW_CALLS; field in ZenModeConfig 169 allowCalls = source.readInt() == 1; in ZenModeConfig() 197 dest.writeInt(allowCalls ? 1 : 0); in writeToParcel() 236 .append(",allowCalls=").append(allowCalls) in toString() 265 if (allowCalls != to.allowCalls) { in diff() 266 d.addLine("allowCalls", allowCalls, to.allowCalls); in diff() 388 && other.allowCalls == allowCalls in equals() 404 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode() 469 rt.allowCalls = safeBoolean(parser, ALLOW_ATT_CALLS, in readXml() 551 out.attribute(null, ALLOW_ATT_CALLS, Boolean.toString(allowCalls)); in writeXml() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 100 if (!config.allowCalls) return false; // no other calls get through in matchesCallFilter() 162 if (!config.allowCalls) { in shouldIntercept()
|
D | ZenModeHelper.java | 587 config.allowCalls, ZenModeConfig.sourceToString(config.allowCallsFrom), in dump() 855 || (zenPriorityOnly && !mConfig.allowCalls && !mConfig.allowRepeatCallers) in applyRestrictions()
|