Searched refs:matchingRules (Results 1 – 1 of 1) sorted by relevance
920 List<ZenRule> matchingRules = findMatchingRules(newConfig, ruleDefinition, condition); in setAutomaticZenRuleState() local922 for (int i = matchingRules.size() - 1; i >= 0; i--) { in setAutomaticZenRuleState()923 if (!canManageAutomaticZenRule(matchingRules.get(i))) { in setAutomaticZenRuleState()924 matchingRules.remove(i); in setAutomaticZenRuleState()928 setAutomaticZenRuleStateLocked(newConfig, matchingRules, condition, origin, callingUid); in setAutomaticZenRuleState()950 List<ZenRule> matchingRules = new ArrayList<>(); in findMatchingRules() local952 matchingRules.add(config.manualRule); in findMatchingRules()956 matchingRules.add(automaticRule); in findMatchingRules()960 return matchingRules; in findMatchingRules()