Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java173 public boolean allowSystem = DEFAULT_ALLOW_SYSTEM; field in ZenModeConfig
217 allowSystem = source.readInt() == 1; in ZenModeConfig()
251 dest.writeInt(allowSystem ? 1 : 0); in writeToParcel()
264 .append(",allowSystem=").append(allowSystem) in toString()
314 if (allowSystem != to.allowSystem) { in diff()
315 d.addLine("allowSystem", allowSystem, to.allowSystem); in diff()
439 && other.allowSystem == allowSystem in equals()
458 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
562 rt.allowSystem = safeBoolean(parser, ALLOW_ATT_SYSTEM, DEFAULT_ALLOW_SYSTEM); in readXml()
627 out.attribute(null, ALLOW_ATT_SYSTEM, Boolean.toString(allowSystem)); in writeXml()
[all …]
DZenPolicy.java650 public @NonNull Builder allowSystem(boolean allow) { in allowSystem() method in ZenPolicy.Builder
669 allowSystem(allow); in allowCategory()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java240 config.allowSystem = false; in getMutedRingerConfig()
258 config.allowSystem = false; in getCustomConfig()
279 config.allowSystem = false; in getMutedAllConfig()
DZenModeHelperTest.java609 mZenModeHelperSpy.mConfig.allowSystem = false; in testRingerAffectedStreamsPriorityOnly()
796 mZenModeHelperSpy.mConfig.allowSystem = false; in testParcelConfig()
820 mZenModeHelperSpy.mConfig.allowSystem = false; in testWriteXml()
1078 .allowSystem(true) in testReadXmlRestoreWithZenPolicy_forSystemUser()
1563 mZenModeHelperSpy.mConfig.allowSystem = false; in setupZenConfig()
1577 assertFalse(mZenModeHelperSpy.mConfig.allowSystem); in setupZenConfigMaintained()
DZenPolicyTest.java407 builder.allowSystem(true); in testAllowSystem()
414 builder.allowSystem(false); in testAllowSystem()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java682 config.allowAlarms, config.allowMedia, config.allowSystem, in dump()
1028 final boolean allowSystem = mConsolidatedPolicy.allowSystem(); in applyRestrictions()
1044 final boolean muteSystem = zenAlarmsOnly || (zenPriorityOnly && !allowSystem); in applyRestrictions()
DZenModeFiltering.java182 if (!policy.allowSystem()) { in shouldIntercept()
/frameworks/base/core/java/android/app/
DNotificationManager.java2156 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
/frameworks/base/config/
Dboot-image-profile.txt2836 HSPLandroid/app/NotificationManager$Policy;->allowSystem()Z
/frameworks/base/api/
Dcurrent.txt43967 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);