Home
last modified time | relevance | path

Searched refs:allowEvents (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java85 .allowEvents(true) in testZenPolicyToNotificationPolicy()
112 .allowEvents(true) in testZenConfigToZenPolicy()
121 config.allowEvents = true; in testZenConfigToZenPolicy()
245 config.allowEvents = false; in getMutedRingerConfig()
263 config.allowEvents = false; in getCustomConfig()
284 config.allowEvents = false; in getMutedAllConfig()
DZenModeHelperTest.java553 mZenModeHelperSpy.mConfig.allowEvents = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
613 mZenModeHelperSpy.mConfig.allowEvents = false; in testRingerAffectedStreamsPriorityOnly()
800 mZenModeHelperSpy.mConfig.allowEvents = true; in testParcelConfig()
824 mZenModeHelperSpy.mConfig.allowEvents = true; in testWriteXml()
1038 .allowEvents(true) in testWriteXmlWithZenPolicy()
1377 .allowEvents(true) in testReadXmlDefaultRulesExist()
1567 mZenModeHelperSpy.mConfig.allowEvents = true; in setupZenConfig()
1581 assertTrue(mZenModeHelperSpy.mConfig.allowEvents); in setupZenConfigMaintained()
DZenPolicyTest.java245 builder.allowEvents(true); in testAllowEvents()
252 builder.allowEvents(false); in testAllowEvents()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java178 public boolean allowEvents = DEFAULT_ALLOW_EVENTS; field in ZenModeConfig
200 allowEvents = source.readInt() == 1; in ZenModeConfig()
230 dest.writeInt(allowEvents ? 1 : 0); in writeToParcel()
266 .append(",allowEvents=").append(allowEvents) in toString()
323 if (allowEvents != to.allowEvents) { in diff()
324 d.addLine("allowEvents", allowEvents, to.allowEvents); in diff()
446 && other.allowEvents == allowEvents in equals()
460 allowCallsFrom, allowMessagesFrom, allowReminders, allowEvents, in hashCode()
542 rt.allowEvents = safeBoolean(parser, ALLOW_ATT_EVENTS, DEFAULT_ALLOW_EVENTS); in readXml()
622 out.attribute(null, ALLOW_ATT_EVENTS, Boolean.toString(allowEvents)); in writeXml()
[all …]
DZenPolicy.java534 public @NonNull Builder allowEvents(boolean allow) { in allowEvents() method in ZenPolicy.Builder
675 allowEvents(allow); in allowCategory()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java161 if (!policy.allowEvents()) { in shouldIntercept()
DZenModeHelper.java688 config.allowEvents, config.allowReminders); in dump()
/frameworks/base/core/java/android/app/
DNotificationManager.java2181 public boolean allowEvents() { in allowEvents() method in NotificationManager.Policy
/frameworks/base/api/
Dcurrent.txt43962 method @NonNull public android.service.notification.ZenPolicy.Builder allowEvents(boolean);