Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModeSystemPreferenceController.java72 final boolean allowSystem = (Boolean) newValue; in onPreferenceChange()
74 Log.d(TAG, "onPrefChange allowSystem=" + allowSystem); in onPreferenceChange()
78 allowSystem); in onPreferenceChange()
79 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_SYSTEM, allowSystem); in onPreferenceChange()
H A DZenModeBackend.java408 .allowSystem(mPolicy.allowSystem()) in setDefaultZenPolicy()
H A DZenModeSettingsFooterPreferenceController.java261 allowSystemText.setText(getAllowRes(mPolicy.allowSystem())); in onCreateDialog()
/aosp12/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java178 public boolean allowSystem = DEFAULT_ALLOW_SYSTEM; field in ZenModeConfig
222 allowSystem = source.readInt() == 1; in ZenModeConfig()
256 dest.writeInt(allowSystem ? 1 : 0); in writeToParcel()
269 .append(",allowSystem=").append(allowSystem) in toString()
319 if (allowSystem != to.allowSystem) { in diff()
320 d.addLine("allowSystem", allowSystem, to.allowSystem); in diff()
444 && other.allowSystem == allowSystem in equals()
632 out.attributeBoolean(null, ALLOW_ATT_SYSTEM, allowSystem); in writeXml()
793 builder.allowSystem(system == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()
985 .allowSystem(allowSystem) in toZenPolicy()
[all …]
H A DZenPolicy.java651 public @NonNull Builder allowSystem(boolean allow) { in allowSystem() method in ZenPolicy.Builder
670 allowSystem(allow); in allowCategory()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
H A DDndConditionalCardControllerTest.java98 config.allowSystem = false; in getCustomConfig()
116 config.allowSystem = false; in getMutedAllConfig()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenModeConfigTest.java319 config.allowSystem = false; in getMutedRingerConfig()
337 config.allowSystem = false; in getCustomConfig()
358 config.allowSystem = false; in getMutedAllConfig()
H A DZenPolicyTest.java407 builder.allowSystem(true); in testAllowSystem()
414 builder.allowSystem(false); in testAllowSystem()
H A DZenModeHelperTest.java639 mZenModeHelperSpy.mConfig.allowSystem = false; in testRingerAffectedStreamsPriorityOnly()
826 mZenModeHelperSpy.mConfig.allowSystem = false; in testParcelConfig()
850 mZenModeHelperSpy.mConfig.allowSystem = false; in testWriteXml()
1148 .allowSystem(true) in testReadXmlRestoreWithZenPolicy_forSystemUser()
1808 mZenModeHelperSpy.mConfig.allowSystem = false; in setupZenConfig()
1822 assertFalse(mZenModeHelperSpy.mConfig.allowSystem); in setupZenConfigMaintained()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java707 config.allowAlarms, config.allowMedia, config.allowSystem, in dump()
1053 final boolean allowSystem = mConsolidatedPolicy.allowSystem(); in applyRestrictions()
1069 final boolean muteSystem = zenAlarmsOnly || (zenPriorityOnly && !allowSystem); in applyRestrictions()
H A DZenModeFiltering.java182 if (!policy.allowSystem()) { in shouldIntercept()
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationManager.java2378 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt38828 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt53231 Landroid/service/notification/ZenModeConfig;->allowSystem:Z