Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java208 config.allowSystem = true; in getMutedNotificationsConfig()
228 config.allowSystem = false; in getCustomConfig()
247 config.allowSystem = false; in getMutedAllConfig()
DZenPolicyTest.java380 builder.allowSystem(true); in testAllowSystem()
386 builder.allowSystem(false); in testAllowSystem()
DZenModeHelperTest.java692 mZenModeHelperSpy.mConfig.allowSystem = false; in testParcelConfig()
714 mZenModeHelperSpy.mConfig.allowSystem = false; in testWriteXml()
874 .allowSystem(true) in testReadXmlRestoreWithZenPolicy_forSystemUser()
1353 mZenModeHelperSpy.mConfig.allowSystem = false; in setupZenConfig()
1367 assertFalse(mZenModeHelperSpy.mConfig.allowSystem); in setupZenConfigMaintained()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java165 public boolean allowSystem = DEFAULT_ALLOW_SYSTEM; field in ZenModeConfig
207 allowSystem = source.readInt() == 1; in ZenModeConfig()
239 dest.writeInt(allowSystem ? 1 : 0); in writeToParcel()
250 .append(",allowSystem=").append(allowSystem) in toString()
297 if (allowSystem != to.allowSystem) { in diff()
298 d.addLine("allowSystem", allowSystem, to.allowSystem); in diff()
422 && other.allowSystem == allowSystem in equals()
439 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
539 rt.allowSystem = safeBoolean(parser, ALLOW_ATT_SYSTEM, DEFAULT_ALLOW_SYSTEM); in readXml()
604 out.attribute(null, ALLOW_ATT_SYSTEM, Boolean.toString(allowSystem)); in writeXml()
[all …]
DZenPolicy.java567 public @NonNull Builder allowSystem(boolean allow) { in allowSystem() method in ZenPolicy.Builder
586 allowSystem(allow); in allowCategory()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java657 config.allowAlarms, config.allowMedia, config.allowSystem, in dump()
1002 final boolean allowSystem = mConsolidatedPolicy.allowSystem(); in applyRestrictions()
1018 final boolean muteSystem = zenAlarmsOnly || (zenPriorityOnly && !allowSystem); in applyRestrictions()
DZenModeFiltering.java200 if (!policy.allowSystem()) { in shouldIntercept()
/frameworks/base/core/java/android/app/
DNotificationManager.java1888 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
/frameworks/base/config/
Dboot-image-profile.txt1959 HSPLandroid/app/NotificationManager$Policy;->allowSystem()Z
Dhiddenapi-greylist-max-o.txt68391 Landroid/service/notification/ZenModeConfig;->allowSystem:Z
/frameworks/base/api/
Dcurrent.txt41644 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);