Searched refs:newRule (Results 1 – 3 of 3) sorted by relevance
272 final ZenRule newRule = config != null ? config.manualRule : null; in updateZenModeConfig() local273 if (!Objects.equals(oldRule, newRule)) { in updateZenModeConfig()274 fireManualRuleChanged(newRule); in updateZenModeConfig()
4256 int newRule = RULE_NONE; in updateRulesForDataUsageRestrictionsULInner() local4260 newRule = RULE_REJECT_METERED; in updateRulesForDataUsageRestrictionsULInner()4263 newRule = RULE_TEMPORARY_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()4265 newRule = RULE_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()4269 newRule = RULE_REJECT_METERED; in updateRulesForDataUsageRestrictionsULInner()4271 newRule = RULE_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()4274 final int newUidRules = newRule | (oldUidRules & MASK_ALL_NETWORKS); in updateRulesForDataUsageRestrictionsULInner()4283 + ", newRule=" + uidRulesToString(newRule) in updateRulesForDataUsageRestrictionsULInner()4295 if (newRule != oldRule) { in updateRulesForDataUsageRestrictionsULInner()4296 if (hasRule(newRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()[all …]
603 final ZenRule newRule = new ZenRule(); in setManualZenMode() local604 newRule.enabled = true; in setManualZenMode()605 newRule.zenMode = zenMode; in setManualZenMode()606 newRule.conditionId = conditionId; in setManualZenMode()607 newRule.enabler = caller; in setManualZenMode()608 newConfig.manualRule = newRule; in setManualZenMode()