Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenAdapters.java44 .allowEvents(policy.allowEvents()) in notificationPolicyToZenPolicy()
DZenModeConfig.java316 public boolean allowEvents = DEFAULT_ALLOW_EVENTS; field in ZenModeConfig
352 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() argument
663 this.allowEvents = allowEvents; in setAllowEvents()
842 && other.allowEvents == allowEvents in equals()
865 allowCallsFrom, allowMessagesFrom, allowReminders, allowEvents, in hashCode()
[all …]
DZenModeDiff.java272 if (from.allowEvents != to.allowEvents) { in ConfigDiff()
273 addField(FIELD_ALLOW_EVENTS, new FieldDiff<>(from.allowEvents, to.allowEvents)); in ConfigDiff()
DZenPolicy.java755 public @NonNull Builder allowEvents(boolean allow) { in allowEvents() method in ZenPolicy.Builder
896 allowEvents(allow); in allowCategory()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java189 .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()
DZenPolicyTest.java280 builder.allowEvents(true); in testZenPolicyOverwrite_allUnsetPolicies()
408 builder.allowEvents(true); in testAllowEvents()
415 builder.allowEvents(false); in testAllowEvents()
DZenModeHelperTest.java724 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()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java576 proto.write(DNDPolicyProto.EVENTS, toState(mNewPolicy.allowEvents())); in getDNDPolicyProto()
DZenModeFiltering.java212 if (!policy.allowEvents()) { in shouldIntercept()
/frameworks/base/core/java/android/app/
DNotificationManager.java2657 public boolean allowEvents() { in allowEvents() method in NotificationManager.Policy
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41360 method @NonNull public android.service.notification.ZenPolicy.Builder allowEvents(boolean);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49259 Landroid/service/notification/ZenModeConfig;->allowEvents:Z