Searched refs:ruleType (Results 1 – 5 of 5) sorted by relevance
342 int ruleType = -1; in readRules() local346 ruleType = TYPE_ACTIVITY; in readRules()348 ruleType = TYPE_BROADCAST; in readRules()350 ruleType = TYPE_SERVICE; in readRules()353 if (ruleType != -1) { in readRules()356 List<Rule> rules = rulesByType.get(ruleType); in readRules()386 for (int ruleType=0; ruleType<rulesByType.size(); ruleType++) { in readRules()387 List<Rule> rules = rulesByType.get(ruleType); in readRules()388 FirewallIntentResolver resolver = resolvers[ruleType]; in readRules()
154 std::string ruleType, ruleValue; in dump() local155 bool unknownRule = !RuleTypeConverter::toString(criterion.mRule, ruleType); in dump()177 dst->appendFormat("%s %s\n", ruleType.c_str(), ruleValue.c_str()); in dump()
2391 int ruleType = rule.type; in ruleToProtoLocked() local2394 ruleType = ZenModeEventLogger.ACTIVE_RULE_TYPE_MANUAL; in ruleToProtoLocked()2414 /* optional ActiveRuleType rule_type = 11 */ ruleType)); in ruleToProtoLocked()
9826 @AutomaticZenRule.Type int ruleType) throws Exception { in addAutomaticZenRule_restrictedRuleTypeCanBeUsedBySystem()9831 .setType(ruleType) in addAutomaticZenRule_restrictedRuleTypeCanBeUsedBySystem()9842 @AutomaticZenRule.Type int ruleType) { in addAutomaticZenRule_restrictedRuleTypeCannotBeUsedByRegularApps()9849 .setType(ruleType) in addAutomaticZenRule_restrictedRuleTypeCannotBeUsedByRegularApps()
7082 …ublic static final String META_DATA_AUTOMATIC_RULE_TYPE = "android.service.zen.automatic.ruleType";41146 …precated public static final String META_DATA_RULE_TYPE = "android.service.zen.automatic.ruleType";