/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/ |
H A D | ZenModeSystemPreferenceController.java | 72 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 D | ZenModeBackend.java | 408 .allowSystem(mPolicy.allowSystem()) in setDefaultZenPolicy()
|
H A D | ZenModeSettingsFooterPreferenceController.java | 261 allowSystemText.setText(getAllowRes(mPolicy.allowSystem())); in onCreateDialog()
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 178 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 D | ZenPolicy.java | 651 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 D | DndConditionalCardControllerTest.java | 98 config.allowSystem = false; in getCustomConfig() 116 config.allowSystem = false; in getMutedAllConfig()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ZenModeConfigTest.java | 319 config.allowSystem = false; in getMutedRingerConfig() 337 config.allowSystem = false; in getCustomConfig() 358 config.allowSystem = false; in getMutedAllConfig()
|
H A D | ZenPolicyTest.java | 407 builder.allowSystem(true); in testAllowSystem() 414 builder.allowSystem(false); in testAllowSystem()
|
H A D | ZenModeHelperTest.java | 639 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 D | ZenModeHelper.java | 707 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 D | ZenModeFiltering.java | 182 if (!policy.allowSystem()) { in shouldIntercept()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 2378 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
|
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 38828 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 53231 Landroid/service/notification/ZenModeConfig;->allowSystem:Z
|