Searched refs:allowEvents (Results 1 – 13 of 13) sorted by relevance
44 .allowEvents(policy.allowEvents()) in notificationPolicyToZenPolicy()
316 public boolean allowEvents = DEFAULT_ALLOW_EVENTS; field in ZenModeConfig352 allowEvents = source.readInt() == 1; in ZenModeConfig()386 .allowEvents(false) in getDefaultZenPolicy()465 dest.writeInt(allowEvents ? 1 : 0); in writeToParcel()517 .append(",allowEvents=").append(allowEvents) in toString()656 return allowEvents; in isAllowEvents()659 public void setAllowEvents(boolean allowEvents) { in setAllowEvents() argument663 this.allowEvents = allowEvents; in setAllowEvents()842 && other.allowEvents == allowEvents in equals()865 allowCallsFrom, allowMessagesFrom, allowReminders, allowEvents, in hashCode()[all …]
272 if (from.allowEvents != to.allowEvents) { in ConfigDiff()273 addField(FIELD_ALLOW_EVENTS, new FieldDiff<>(from.allowEvents, to.allowEvents)); in ConfigDiff()
755 public @NonNull Builder allowEvents(boolean allow) { in allowEvents() method in ZenPolicy.Builder896 allowEvents(allow); in allowCategory()
189 .allowEvents(true) in testZenPolicyToNotificationPolicy_classic()225 .allowEvents(true) in testZenPolicyToNotificationPolicy()273 .allowEvents(true) in testZenConfigToZenPolicy_classic()318 .allowEvents(true) in testZenConfigToZenPolicy()791 .allowEvents(true) in testZenPolicyXml_classic()840 .allowEvents(true) in testZenPolicyXml()
280 builder.allowEvents(true); in testZenPolicyOverwrite_allUnsetPolicies()408 builder.allowEvents(true); in testAllowEvents()415 builder.allowEvents(false); in testAllowEvents()
724 assertThat(policy.allowEvents()).isFalse(); in testTotalSilence_consolidatedPolicyDisallowsAll()758 assertThat(policy.allowEvents()).isFalse(); in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia()1499 .allowEvents(true) in testWriteXmlWithZenPolicy()1870 .allowEvents(true) in testReadXmlDefaultRulesExist()4607 .allowEvents(true) // Differs from the default in automaticZenRuleToZenRule_nullToNonNullPolicyUpdate()
576 proto.write(DNDPolicyProto.EVENTS, toState(mNewPolicy.allowEvents())); in getDNDPolicyProto()
212 if (!policy.allowEvents()) { in shouldIntercept()
2657 public boolean allowEvents() { in allowEvents() method in NotificationManager.Policy
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41360 method @NonNull public android.service.notification.ZenPolicy.Builder allowEvents(boolean);
49259 Landroid/service/notification/ZenModeConfig;->allowEvents:Z