Lines Matching refs:range
235 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range,
243 range.getStart(), range.getStop(), action.c_str());
253 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range,
255 bool existsIp4 = ipRuleExistsForRange(priority, range, action, IP_RULE_V4);
256 bool existsIp6 = ipRuleExistsForRange(priority, range, action, IP_RULE_V6);
277 for (auto const& range : uidRanges) {
278 EXPECT_TRUE(ipRuleExistsForRange(RULE_PRIORITY, range, "prohibit"));
285 for (auto const& range : uidRanges) {
286 EXPECT_FALSE(ipRuleExistsForRange(RULE_PRIORITY, range, "prohibit"));
344 // Pick a random UID in the system UID range.