Home
last modified time | relevance | path

Searched refs:sTetherCtrl (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DCommandListener.cpp85 TetherController *CommandListener::sTetherCtrl = NULL; member in CommandListener
191 if (!sTetherCtrl) in CommandListener()
192 sTetherCtrl = new TetherController(); in CommandListener()
521 ((sTetherCtrl->forwardingRequestCount() > 0) ? "enabled" : "disabled")); in runCommand()
532 success = sTetherCtrl->enableForwarding(argv[2]); in runCommand()
535 success = sTetherCtrl->disableForwarding(argv[2]); in runCommand()
580 rc = sTetherCtrl->stopTethering(); in runCommand()
585 (sTetherCtrl->isTetheringStarted() ? "started" : "stopped")); in runCommand()
591 InterfaceCollection *ilist = sTetherCtrl->getTetheredInterfaceList(); in runCommand()
598 snprintf(netIdStr, sizeof(netIdStr), "%u", sTetherCtrl->getDnsNetId()); in runCommand()
[all …]
DCommandListener.h37 static TetherController *sTetherCtrl; variable