Searched refs:ipRuleExistsForRange (Results 1 – 1 of 1) sorted by relevance
/system/netd/tests/ |
D | binder_test.cpp | 509 static bool ipRuleExistsForRange(const uint32_t priority, const UidRangeParcel& range, in ipRuleExistsForRange() function 526 static bool ipRuleExistsForRange(const uint32_t priority, const UidRangeParcel& range, in ipRuleExistsForRange() function 528 bool existsIp4 = ipRuleExistsForRange(priority, range, action, IP_RULE_V4); in ipRuleExistsForRange() 529 bool existsIp6 = ipRuleExistsForRange(priority, range, action, IP_RULE_V6); in ipRuleExistsForRange() 577 EXPECT_TRUE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, uidRanges[0], suffix)); in TEST_F() 578 EXPECT_FALSE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, otherRange, suffix)); in TEST_F() 580 EXPECT_FALSE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, uidRanges[0], suffix)); in TEST_F() 583 EXPECT_TRUE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, uidRanges[1], suffix)); in TEST_F() 585 EXPECT_FALSE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, uidRanges[1], suffix)); in TEST_F() 597 EXPECT_FALSE(ipRuleExistsForRange(RULE_PRIORITY, range, "prohibit")); in TEST_F() [all …]
|