Lines Matching defs:resolvers
268 FirewallIntentResolver[] resolvers = new FirewallIntentResolver[3];
269 for (int i=0; i<resolvers.length; i++) {
270 resolvers[i] = new FirewallIntentResolver();
279 readRules(file, resolvers);
284 Slog.i(TAG, "Read new rules (A:" + resolvers[TYPE_ACTIVITY].filterSet().size() +
285 " B:" + resolvers[TYPE_BROADCAST].filterSet().size() +
286 " S:" + resolvers[TYPE_SERVICE].filterSet().size() + ")");
289 mActivityResolver = resolvers[TYPE_ACTIVITY];
290 mBroadcastResolver = resolvers[TYPE_BROADCAST];
291 mServiceResolver = resolvers[TYPE_SERVICE];
296 * Reads rules from the given file and add them to the given resolvers
298 private void readRules(File rulesFile, FirewallIntentResolver[] resolvers) {
370 FirewallIntentResolver resolver = resolvers[ruleType];