Searched refs:allowEvents (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 85 .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()
|
D | ZenModeHelperTest.java | 553 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()
|
D | ZenPolicyTest.java | 245 builder.allowEvents(true); in testAllowEvents() 252 builder.allowEvents(false); in testAllowEvents()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 178 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 …]
|
D | ZenPolicy.java | 534 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/ |
D | ZenModeFiltering.java | 161 if (!policy.allowEvents()) { in shouldIntercept()
|
D | ZenModeHelper.java | 688 config.allowEvents, config.allowReminders); in dump()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 2181 public boolean allowEvents() { in allowEvents() method in NotificationManager.Policy
|
/frameworks/base/api/ |
D | current.txt | 43962 method @NonNull public android.service.notification.ZenPolicy.Builder allowEvents(boolean);
|