Home
last modified time | relevance | path

Searched refs:countMatchingIpRules (Results 1 – 3 of 3) sorted by relevance

/system/hardware/interfaces/net/netd/1.1/vts/functional/
DVtsHalNetNetdV1_1TargetTest.cpp299 EXPECT_EQ(0, countMatchingIpRules(regex1)); in TEST_F()
300 EXPECT_EQ(0, countMatchingIpRules(regex2)); in TEST_F()
304 EXPECT_EQ(2, countMatchingIpRules(regex1)); in TEST_F()
305 EXPECT_EQ(0, countMatchingIpRules(regex2)); in TEST_F()
310 EXPECT_EQ(4, countMatchingIpRules(regex1)); in TEST_F()
314 EXPECT_EQ(2, countMatchingIpRules(regex1)); in TEST_F()
318 EXPECT_EQ(2, countMatchingIpRules(regex1)); in TEST_F()
319 EXPECT_EQ(2, countMatchingIpRules(regex2)); in TEST_F()
323 EXPECT_EQ(0, countMatchingIpRules(regex1)); in TEST_F()
324 EXPECT_EQ(2, countMatchingIpRules(regex2)); in TEST_F()
[all …]
/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp73 int countMatchingIpRules(const std::string& regexString) { in countMatchingIpRules() function
93 return countMatchingIpRules(regex); in countRulesForFwmark()
DVtsHalNetNetdTestUtils.h39 int countMatchingIpRules(const std::string& regexString);