/aosp14/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 184 public boolean allowSystem = DEFAULT_ALLOW_SYSTEM; field in ZenModeConfig 228 allowSystem = source.readInt() == 1; in ZenModeConfig() 262 dest.writeInt(allowSystem ? 1 : 0); in writeToParcel() 275 .append(",allowSystem=").append(allowSystem) in toString() 370 && other.allowSystem == allowSystem in equals() 389 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode() 564 out.attributeBoolean(null, ALLOW_ATT_SYSTEM, allowSystem); in writeXml() 731 builder.allowSystem(system == ZenPolicy.STATE_ALLOW); in readZenPolicyXml() 928 .allowSystem(allowSystem) in toZenPolicy() 1155 if (allowSystem) { in toNotificationPolicy() [all …]
|
H A D | ZenModeDiff.java | 255 if (from.allowSystem != to.allowSystem) { in ConfigDiff() 256 addField(FIELD_ALLOW_SYSTEM, new FieldDiff<>(from.allowSystem, to.allowSystem)); in ConfigDiff()
|
H A D | ZenPolicy.java | 663 public @NonNull Builder allowSystem(boolean allow) { in allowSystem() method in ZenPolicy.Builder 682 allowSystem(allow); in allowCategory()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ZenModeConfigTest.java | 319 .allowSystem(true) in testZenPolicyXml() 366 config.allowSystem = false; in getMutedRingerConfig() 384 config.allowSystem = false; in getCustomConfig() 405 config.allowSystem = false; in getMutedAllConfig()
|
H A D | ZenModeHelperTest.java | 655 mZenModeHelper.mConfig.allowSystem = false; in testRingerAffectedStreamsPriorityOnly() 862 mZenModeHelper.mConfig.allowSystem = false; in testParcelConfig() 886 mZenModeHelper.mConfig.allowSystem = false; in testWriteXml() 1190 .allowSystem(true) in testReadXmlRestoreWithZenPolicy_forSystemUser() 2465 assertFalse(mZenModeHelper.mConsolidatedPolicy.allowSystem()); in testUpdateConsolidatedPolicy_defaultRulesOnly() 2509 assertFalse(mZenModeHelper.mConsolidatedPolicy.allowSystem()); // default in testUpdateConsolidatedPolicy_customPolicyOnly() 2569 assertFalse(mZenModeHelper.mConsolidatedPolicy.allowSystem()); // default, unset in custom in testUpdateConsolidatedPolicy_defaultAndCustomActive() 2583 mZenModeHelper.mConfig.allowSystem = false; in setupZenConfig() 2599 assertFalse(mZenModeHelper.mConfig.allowSystem); in setupZenConfigMaintained()
|
H A D | ZenPolicyTest.java | 412 builder.allowSystem(true); in testAllowSystem() 419 builder.allowSystem(false); in testAllowSystem()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenModeHelper.java | 775 config.allowAlarms, config.allowMedia, config.allowSystem, in dump() 1158 final boolean allowSystem = mConsolidatedPolicy.allowSystem(); in applyRestrictions() 1174 final boolean muteSystem = zenAlarmsOnly || (zenPriorityOnly && !allowSystem); in applyRestrictions()
|
H A D | ZenModeEventLogger.java | 484 proto.write(DNDPolicyProto.SYSTEM, toState(mNewPolicy.allowSystem())); in getDNDPolicyProto()
|
H A D | ZenModeFiltering.java | 221 if (!policy.allowSystem()) { in shouldIntercept()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 2404 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 41086 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 49908 Landroid/service/notification/ZenModeConfig;->allowSystem:Z
|