Home
last modified time | relevance | path

Searched refs:listIpRules (Results 1 – 2 of 2) sorted by relevance

/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp68 static std::vector<std::string> listIpRules(const char* ipVersion) { in listIpRules() function
78 std::vector<std::string> rules = listIpRules(version); in countMatchingIpRules()
/system/netd/tests/
Dbinder_test.cpp173 static std::vector<std::string> listIpRules(const char *ipVersion) { in listIpRules() function
437 std::vector<std::string> rules = listIpRules(ipVersion); in ipRuleExistsForRange()
510 const std::vector<std::string> initialRulesV4 = listIpRules(IP_RULE_V4); in TEST_F()
511 const std::vector<std::string> initialRulesV6 = listIpRules(IP_RULE_V6); in TEST_F()
515 EXPECT_EQ(initialRulesV4.size() + 2, listIpRules(IP_RULE_V4).size()); in TEST_F()
516 EXPECT_EQ(initialRulesV6.size() + 2, listIpRules(IP_RULE_V6).size()); in TEST_F()
523 EXPECT_EQ(initialRulesV4.size(), listIpRules(IP_RULE_V4).size()); in TEST_F()
524 EXPECT_EQ(initialRulesV6.size(), listIpRules(IP_RULE_V6).size()); in TEST_F()
535 EXPECT_EQ(initialRulesV4, listIpRules(IP_RULE_V4)); in TEST_F()
536 EXPECT_EQ(initialRulesV6, listIpRules(IP_RULE_V6)); in TEST_F()