Home
last modified time | relevance | path

Searched refs:BandwidthController (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DBandwidthController.cpp61 const char* BandwidthController::LOCAL_INPUT = "bw_INPUT";
62 const char* BandwidthController::LOCAL_FORWARD = "bw_FORWARD";
63 const char* BandwidthController::LOCAL_OUTPUT = "bw_OUTPUT";
64 const char* BandwidthController::LOCAL_RAW_PREROUTING = "bw_raw_PREROUTING";
65 const char* BandwidthController::LOCAL_MANGLE_POSTROUTING = "bw_mangle_POSTROUTING";
67 auto BandwidthController::execFunction = android_fork_execvp;
68 auto BandwidthController::popenFunction = popen;
69 auto BandwidthController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
200 BandwidthController::BandwidthController(void) { in BandwidthController() function in BandwidthController
203 int BandwidthController::runIpxtablesCmd(const char *cmd, IptJumpOp jumpHandling, in runIpxtablesCmd()
[all …]
DControllers.cpp40 BandwidthController::LOCAL_INPUT,
48 BandwidthController::LOCAL_FORWARD,
57 BandwidthController::LOCAL_OUTPUT,
62 BandwidthController::LOCAL_RAW_PREROUTING,
70 BandwidthController::LOCAL_MANGLE_POSTROUTING,
DBandwidthControllerTest.cpp43 BandwidthController::execFunction = fake_android_fork_exec; in BandwidthControllerTest()
44 BandwidthController::popenFunction = fake_popen; in BandwidthControllerTest()
45 BandwidthController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in BandwidthControllerTest()
47 BandwidthController mBw;
106 using IptOp = BandwidthController::IptOp;
249 BandwidthController::TetherStats filter; in TEST_F()
263 filter = BandwidthController::TetherStats(); in TEST_F()
275 filter = BandwidthController::TetherStats("bt-pan", "rmnet0", -1, -1, -1, -1); in TEST_F()
283 filter = BandwidthController::TetherStats("wlan0", "rmnet0", -1, -1, -1, -1); in TEST_F()
291 filter = BandwidthController::TetherStats("rmnet0", "foo0", -1, -1, -1, -1); in TEST_F()
[all …]
DControllers.h48 BandwidthController bandwidthCtrl;
DAndroid.mk81 BandwidthController.cpp \
161 BandwidthController.cpp BandwidthControllerTest.cpp \
DBandwidthController.h28 class BandwidthController {
68 BandwidthController();
DCommandListener.cpp970 BandwidthController::TetherStats tetherStats; in runCommand()