Searched refs:ApplyMarkForUserTraffic (Results 1 – 4 of 4) sorted by relevance
/system/firewalld/ |
D | iptables_unittest.cc | 199 EXPECT_CALL(mock_iptables, ApplyMarkForUserTraffic(usernames[0], add)) in TEST_F() 201 EXPECT_CALL(mock_iptables, ApplyMarkForUserTraffic(usernames[1], add)) in TEST_F() 223 ApplyMarkForUserTraffic(usernames[0], add)) in TEST_F() 227 ApplyMarkForUserTraffic(usernames[1], add)) in TEST_F() 240 ApplyMarkForUserTraffic(usernames[0], remove)) in TEST_F() 244 ApplyMarkForUserTraffic(usernames[1], remove)) in TEST_F() 266 EXPECT_CALL(mock_iptables, ApplyMarkForUserTraffic(_, _)).Times(0); in TEST_F() 292 EXPECT_CALL(mock_iptables, ApplyMarkForUserTraffic(_, _)).Times(0); in TEST_F() 312 EXPECT_CALL(mock_iptables, ApplyMarkForUserTraffic(_, remove)) in TEST_F() 320 EXPECT_CALL(mock_iptables, ApplyMarkForUserTraffic(_, add)).Times(0); in TEST_F() [all …]
|
D | mock_iptables.h | 41 MOCK_METHOD2(ApplyMarkForUserTraffic, bool(const std::string&, bool));
|
D | iptables.h | 98 virtual bool ApplyMarkForUserTraffic(const std::string& username, bool add);
|
D | iptables.cc | 286 if (!ApplyMarkForUserTraffic(username, add)) { in ApplyVpnSetup() 311 bool IpTables::ApplyMarkForUserTraffic(const std::string& username, bool add) { in ApplyMarkForUserTraffic() function in firewalld::IpTables
|