Searched refs:setInterfaceRule (Results 1 – 4 of 4) sorted by relevance
/system/netd/server/ |
D | FirewallControllerTest.cpp | 272 EXPECT_EQ(0, mFw.setInterfaceRule("rmnet_data0", ALLOW)); in TEST_F() 275 EXPECT_EQ(0, mFw.setInterfaceRule("rmnet_data0", ALLOW)); in TEST_F() 284 EXPECT_EQ(0, mFw.setInterfaceRule("rmnet_data0", DENY)); in TEST_F() 287 EXPECT_EQ(0, mFw.setInterfaceRule("rmnet_data0", DENY)); in TEST_F()
|
D | FirewallController.h | 69 int setInterfaceRule(const char*, FirewallRule);
|
D | FirewallController.cpp | 182 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { in setInterfaceRule() function in android::net::FirewallController
|
D | NetdNativeService.cpp | 1203 int res = gCtls->firewallCtrl.setInterfaceRule(ifName.c_str(), rule); in firewallSetInterfaceRule()
|