Searched refs:newRule (Results 1 – 3 of 3) sorted by relevance
225 final ZenRule newRule = config != null ? config.manualRule : null; in updateZenModeConfig() local226 if (Objects.equals(oldRule, newRule)) return; in updateZenModeConfig()227 fireManualRuleChanged(newRule); in updateZenModeConfig()
3992 int newRule = RULE_NONE; in updateRulesForDataUsageRestrictionsULInner() local3996 newRule = RULE_REJECT_METERED; in updateRulesForDataUsageRestrictionsULInner()3999 newRule = RULE_TEMPORARY_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()4001 newRule = RULE_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()4005 newRule = RULE_REJECT_METERED; in updateRulesForDataUsageRestrictionsULInner()4007 newRule = RULE_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()4010 final int newUidRules = newRule | (oldUidRules & MASK_ALL_NETWORKS); in updateRulesForDataUsageRestrictionsULInner()4019 + ", newRule=" + uidRulesToString(newRule) in updateRulesForDataUsageRestrictionsULInner()4031 if (newRule != oldRule) { in updateRulesForDataUsageRestrictionsULInner()4032 if (hasRule(newRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()[all …]
533 final ZenRule newRule = new ZenRule(); in setManualZenMode() local534 newRule.enabled = true; in setManualZenMode()535 newRule.zenMode = zenMode; in setManualZenMode()536 newRule.conditionId = conditionId; in setManualZenMode()537 newRule.enabler = caller; in setManualZenMode()538 newConfig.manualRule = newRule; in setManualZenMode()