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.cpp285 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/
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);