Searched refs:countMatchingIpRules (Results 1 – 3 of 3) sorted by relevance
/system/hardware/interfaces/net/netd/1.1/vts/functional/ |
D | VtsHalNetNetdV1_1TargetTest.cpp | 285 EXPECT_EQ(0, countMatchingIpRules(regex1)); in TEST_P() 286 EXPECT_EQ(0, countMatchingIpRules(regex2)); in TEST_P() 290 EXPECT_EQ(2, countMatchingIpRules(regex1)); in TEST_P() 291 EXPECT_EQ(0, countMatchingIpRules(regex2)); in TEST_P() 296 EXPECT_EQ(4, countMatchingIpRules(regex1)); in TEST_P() 300 EXPECT_EQ(2, countMatchingIpRules(regex1)); in TEST_P() 304 EXPECT_EQ(2, countMatchingIpRules(regex1)); in TEST_P() 305 EXPECT_EQ(2, countMatchingIpRules(regex2)); in TEST_P() 309 EXPECT_EQ(0, countMatchingIpRules(regex1)); in TEST_P() 310 EXPECT_EQ(2, countMatchingIpRules(regex2)); in TEST_P() [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);
|