Searched refs:countMatchingIpRules (Results 1 – 3 of 3) sorted by relevance
/system/hardware/interfaces/net/netd/1.1/vts/functional/ |
D | VtsHalNetNetdV1_1TargetTest.cpp | 299 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/ |
D | VtsHalNetNetdTestUtils.cpp | 73 int countMatchingIpRules(const std::string& regexString) { in countMatchingIpRules() function 93 return countMatchingIpRules(regex); in countRulesForFwmark()
|
D | VtsHalNetNetdTestUtils.h | 39 int countMatchingIpRules(const std::string& regexString);
|