Home
last modified time | relevance | path

Searched refs:setInterfaceRule (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DFirewallControllerTest.cpp272 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()
DFirewallController.h68 int setInterfaceRule(const char*, FirewallRule);
DFirewallController.cpp180 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { in setInterfaceRule() function in android::net::FirewallController
DNetdNativeService.cpp1165 int res = gCtls->firewallCtrl.setInterfaceRule(ifName.c_str(), rule); in firewallSetInterfaceRule()