Lines Matching refs:FirewallController
65 auto FirewallController::execIptablesRestore = ::execIptablesRestore;
67 const char* FirewallController::TABLE = "filter";
69 const char* FirewallController::LOCAL_INPUT = "fw_INPUT";
70 const char* FirewallController::LOCAL_OUTPUT = "fw_OUTPUT";
71 const char* FirewallController::LOCAL_FORWARD = "fw_FORWARD";
73 const char* FirewallController::LOCAL_DOZABLE = "fw_dozable";
74 const char* FirewallController::LOCAL_STANDBY = "fw_standby";
75 const char* FirewallController::LOCAL_POWERSAVE = "fw_powersave";
80 const char* FirewallController::ICMPV6_TYPES[] = {
89 FirewallController::FirewallController(void) : mMaxUid(discoverMaximumValidUid(kUidMapProcFile)) { in FirewallController() function in android::net::FirewallController
95 int FirewallController::setupIptablesHooks(void) { in setupIptablesHooks()
107 int FirewallController::setFirewallType(FirewallType ftype) { in setFirewallType()
130 int FirewallController::resetFirewall(void) { in resetFirewall()
145 int FirewallController::enableChildChains(ChildChain chain, bool enable) { in enableChildChains()
175 int FirewallController::isFirewallEnabled(void) { in isFirewallEnabled()
180 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { in setInterfaceRule()
214 FirewallType FirewallController::getFirewallType(ChildChain chain) { in getFirewallType()
229 int FirewallController::setUidRule(ChildChain chain, int uid, FirewallRule rule) { in setUidRule()
275 int FirewallController::createChain(const char* chain, FirewallType type) { in createChain()
281 std::string FirewallController::makeCriticalCommands(IptablesTarget target, const char* chainName) { in makeCriticalCommands()
293 std::string FirewallController::makeUidRules(IptablesTarget target, const char* name, in makeUidRules()
347 int FirewallController::replaceUidChain(const std::string& name, bool isAllowlist, in replaceUidChain()
358 uid_t FirewallController::discoverMaximumValidUid(const std::string& fileName) { in discoverMaximumValidUid()