Lines Matching defs:rule
129 Rule rule = matchingRules.get(i);
130 if (rule.matches(this, intent, callerApp, callerUid, callerPid, resolvedType,
132 block |= rule.getBlock();
133 log |= rule.getLog();
266 Rule rule = new Rule();
270 // if we get an error while parsing a particular rule, we'll just ignore
271 // that rule and continue on with the next rule
273 rule.readFromXml(parser);
275 Slog.e(TAG, "Error reading intent firewall rule", ex);
281 for (int i=0; i<rule.getIntentFilterCount(); i++) {
282 resolver.addFilter(rule.getIntentFilter(i));
296 // if there was an error outside of a specific rule, then there are probably
388 private final Rule rule;
390 public FirewallIntentFilter(Rule rule) {
391 this.rule = rule;
399 return !dest.contains(filter.rule);
414 return filter.rule;
442 * Monitors for the creation/deletion/modification of the rule file