Searched refs:allowSystem (Results 1 – 15 of 15) sorted by relevance
53 .allowSystem(policy.allowSystem()); in notificationPolicyToZenPolicy()
311 public boolean allowSystem = DEFAULT_ALLOW_SYSTEM; field in ZenModeConfig365 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() argument715 this.allowSystem = allowSystem; in setAllowSystem()835 && other.allowSystem == allowSystem in equals()863 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()[all …]
262 if (from.allowSystem != to.allowSystem) { in ConfigDiff()263 addField(FIELD_ALLOW_SYSTEM, new FieldDiff<>(from.allowSystem, to.allowSystem)); in ConfigDiff()
871 public @NonNull Builder allowSystem(boolean allow) { in allowSystem() method in ZenPolicy.Builder890 allowSystem(allow); in allowCategory()
52 val isSystemAllowed: Flow<Boolean?> = notificationPolicy.map { it?.allowSystem() } in <lambda>()
570 builder.allowSystem(true); in testAllowSystem()577 builder.allowSystem(false); in testAllowSystem()
1545 .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 …]
789 .allowSystem(true) in testZenPolicyXml_classic()838 .allowSystem(true) in testZenPolicyXml()
579 proto.write(DNDPolicyProto.SYSTEM, toState(mNewPolicy.allowSystem())); in getDNDPolicyProto()
236 if (!policy.allowSystem()) { in shouldIntercept()
2192 final boolean allowSystem = mConsolidatedPolicy.allowSystem(); in applyRestrictions()2208 final boolean muteSystem = zenAlarmsOnly || (zenPriorityOnly && !allowSystem); in applyRestrictions()
2632 public boolean allowSystem() { in allowSystem() method in NotificationManager.Policy
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41366 method @NonNull public android.service.notification.ZenPolicy.Builder allowSystem(boolean);
49265 Landroid/service/notification/ZenModeConfig;->allowSystem:Z