Searched refs:ipRuleExistsForRange (Results 1 – 1 of 1) sorted by relevance
/system/netd/tests/ |
D | binder_test.cpp | 566 static bool ipRuleExistsForRange(const uint32_t priority, const UidRangeParcel& range, in ipRuleExistsForRange() function 592 static bool ipRuleExistsForRange(const uint32_t priority, const UidRangeParcel& range, in ipRuleExistsForRange() function 594 bool existsIp4 = ipRuleExistsForRange(priority, range, action, IP_RULE_V4, oif); in ipRuleExistsForRange() 595 bool existsIp6 = ipRuleExistsForRange(priority, range, action, IP_RULE_V6, oif); in ipRuleExistsForRange() 600 static bool ipRuleExistsForRange(const uint32_t priority, const UidRangeParcel& range, in ipRuleExistsForRange() function 602 return ipRuleExistsForRange(priority, range, action, nullptr); in ipRuleExistsForRange() 665 EXPECT_TRUE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, uidRanges[0], action)); in TEST_F() 666 EXPECT_FALSE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, otherRange, action)); in TEST_F() 668 EXPECT_FALSE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, uidRanges[0], action)); in TEST_F() 671 EXPECT_TRUE(ipRuleExistsForRange(RULE_PRIORITY_SECURE_VPN, uidRanges[1], action)); in TEST_F() [all …]
|