Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenAdapters.java53 .allowSystem(policy.allowSystem()); in notificationPolicyToZenPolicy()
DZenModeConfig.java311 public boolean allowSystem = DEFAULT_ALLOW_SYSTEM; field in ZenModeConfig
365 allowSystem = source.readInt() == 1; in ZenModeConfig()
382 .allowSystem(false) in getDefaultZenPolicy()
478 dest.writeInt(allowSystem ? 1 : 0); in writeToParcel()
515 .append(",allowSystem=").append(allowSystem) in toString()
708 return allowSystem; in isAllowSystem()
711 public void setAllowSystem(boolean allowSystem) { in setAllowSystem() argument
715 this.allowSystem = allowSystem; in setAllowSystem()
835 && other.allowSystem == allowSystem in equals()
863 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
[all …]
DZenModeDiff.java262 if (from.allowSystem != to.allowSystem) { in ConfigDiff()
263 addField(FIELD_ALLOW_SYSTEM, new FieldDiff<>(from.allowSystem, to.allowSystem)); in ConfigDiff()
DZenPolicy.java871 public @NonNull Builder allowSystem(boolean allow) { in allowSystem() method in ZenPolicy.Builder
890 allowSystem(allow); in allowCategory()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractor.kt52 val isSystemAllowed: Flow<Boolean?> = notificationPolicy.map { it?.allowSystem() } in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java570 builder.allowSystem(true); in testAllowSystem()
577 builder.allowSystem(false); in testAllowSystem()
DZenModeHelperTest.java1545 .allowSystem(true) in testReadXmlRestoreWithZenPolicy_forSystemUser()
3829 assertFalse(mZenModeHelper.mConsolidatedPolicy.allowSystem()); in testUpdateConsolidatedPolicy_preModesApiDefaultRulesOnly_takesGlobalDefault()
3902 assertFalse(mZenModeHelper.mConsolidatedPolicy.allowSystem()); // default in testUpdateConsolidatedPolicy_preModesApiCustomPolicyOnly_fillInWithGlobal()
3921 .allowSystem(true) // more lenient than default in testUpdateConsolidatedPolicy_modesApiCustomPolicyOnly_fillInWithDefault()
3949 assertThat(mZenModeHelper.mConsolidatedPolicy.allowSystem()).isTrue(); // custom in testUpdateConsolidatedPolicy_modesApiCustomPolicyOnly_fillInWithDefault()
4010 assertFalse(mZenModeHelper.mConsolidatedPolicy.allowSystem()); // default, unset in custom in testUpdateConsolidatedPolicy_preModesApiDefaultAndCustomActive_mergesWithGlobal()
4046 .allowSystem(true) // more lenient than default in testUpdateConsolidatedPolicy_modesApiDefaultAndCustomActive_mergesWithDefault()
4072 assertThat(mZenModeHelper.mConsolidatedPolicy.allowSystem()).isFalse(); // default stricter in testUpdateConsolidatedPolicy_modesApiDefaultAndCustomActive_mergesWithDefault()
4151 .allowSystem(true) in testUpdateConsolidatedPolicy_ignoresActiveRulesWithInterruptionFilterAll()
4177 assertThat(mZenModeHelper.mConsolidatedPolicy.allowSystem()).isTrue(); // priority rule in testUpdateConsolidatedPolicy_ignoresActiveRulesWithInterruptionFilterAll()
[all …]
DZenModeConfigTest.java789 .allowSystem(true) in testZenPolicyXml_classic()
838 .allowSystem(true) in testZenPolicyXml()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java579 proto.write(DNDPolicyProto.SYSTEM, toState(mNewPolicy.allowSystem())); in getDNDPolicyProto()
DZenModeFiltering.java236 if (!policy.allowSystem()) { in shouldIntercept()
DZenModeHelper.java2192 final boolean allowSystem = mConsolidatedPolicy.allowSystem(); in applyRestrictions()
2208 final boolean muteSystem = zenAlarmsOnly || (zenPriorityOnly && !allowSystem); in applyRestrictions()
/frameworks/base/core/java/android/app/
DNotificationManager.java2632 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41366 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49265 Landroid/service/notification/ZenModeConfig;->allowSystem:Z