Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java184 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 DZenModeDiff.java255 if (from.allowSystem != to.allowSystem) { in ConfigDiff()
256 addField(FIELD_ALLOW_SYSTEM, new FieldDiff<>(from.allowSystem, to.allowSystem)); in ConfigDiff()
H A DZenPolicy.java663 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 DZenModeConfigTest.java319 .allowSystem(true) in testZenPolicyXml()
366 config.allowSystem = false; in getMutedRingerConfig()
384 config.allowSystem = false; in getCustomConfig()
405 config.allowSystem = false; in getMutedAllConfig()
H A DZenModeHelperTest.java655 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 DZenPolicyTest.java412 builder.allowSystem(true); in testAllowSystem()
419 builder.allowSystem(false); in testAllowSystem()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java775 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 DZenModeEventLogger.java484 proto.write(DNDPolicyProto.SYSTEM, toState(mNewPolicy.allowSystem())); in getDNDPolicyProto()
H A DZenModeFiltering.java221 if (!policy.allowSystem()) { in shouldIntercept()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationManager.java2404 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt41086 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt49908 Landroid/service/notification/ZenModeConfig;->allowSystem:Z