Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp63 const char BandwidthController::LOCAL_INPUT[] = "bw_INPUT";
64 const char BandwidthController::LOCAL_FORWARD[] = "bw_FORWARD";
65 const char BandwidthController::LOCAL_OUTPUT[] = "bw_OUTPUT";
66 const char BandwidthController::LOCAL_RAW_PREROUTING[] = "bw_raw_PREROUTING";
67 const char BandwidthController::LOCAL_MANGLE_POSTROUTING[] = "bw_mangle_POSTROUTING";
68 const char BandwidthController::LOCAL_GLOBAL_ALERT[] = "bw_global_alert";
70 auto BandwidthController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
269 BandwidthController::BandwidthController() { in BandwidthController() function in BandwidthController
272 void BandwidthController::flushCleanTables(bool doClean) { in flushCleanTables()
280 int BandwidthController::setupIptablesHooks() { in setupIptablesHooks()
[all …]
DControllers.cpp58 BandwidthController::LOCAL_INPUT,
65 BandwidthController::LOCAL_FORWARD,
73 BandwidthController::LOCAL_OUTPUT,
78 BandwidthController::LOCAL_RAW_PREROUTING,
85 BandwidthController::LOCAL_MANGLE_POSTROUTING,
DBandwidthController.h29 class BandwidthController {
33 BandwidthController();
DTrafficControllerTest.cpp621 mTc.updateUidOwnerMap(appUids, PENALTY_BOX_MATCH, BandwidthController::IptOpInsert))); in TEST_F()
624 mTc.updateUidOwnerMap(appUids, PENALTY_BOX_MATCH, BandwidthController::IptOpDelete))); in TEST_F()
631 mTc.updateUidOwnerMap(appUids, HAPPY_BOX_MATCH, BandwidthController::IptOpInsert))); in TEST_F()
634 mTc.updateUidOwnerMap(appUids, HAPPY_BOX_MATCH, BandwidthController::IptOpDelete))); in TEST_F()
642 mTc.updateUidOwnerMap(appUids, PENALTY_BOX_MATCH, BandwidthController::IptOpInsert))); in TEST_F()
648 mTc.updateUidOwnerMap(appUids, HAPPY_BOX_MATCH, BandwidthController::IptOpInsert))); in TEST_F()
653 mTc.updateUidOwnerMap(appUids, HAPPY_BOX_MATCH, BandwidthController::IptOpDelete))); in TEST_F()
658 mTc.updateUidOwnerMap(appUids, PENALTY_BOX_MATCH, BandwidthController::IptOpDelete))); in TEST_F()
666 mTc.updateUidOwnerMap(appUids, HAPPY_BOX_MATCH, BandwidthController::IptOpDelete))); in TEST_F()
671 mTc.updateUidOwnerMap(appUids, HAPPY_BOX_MATCH, BandwidthController::IptOpInsert))); in TEST_F()
[all …]
DControllers.h47 BandwidthController bandwidthCtrl;
DTrafficController.h110 UidOwnerMatchType matchType, BandwidthController::IptOp op)
240 UidOwnerMatchType jumpOpToMatch(BandwidthController::IptJumpOp jumpHandling);
DBandwidthControllerTest.cpp56 BandwidthController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in BandwidthControllerTest()
58 BandwidthController mBw;
106 using IptOp = BandwidthController::IptOp;
DTrafficController.cpp555 BandwidthController::IptOp op) { in updateUidOwnerMap()
558 if (op == BandwidthController::IptOpDelete) { in updateUidOwnerMap()
560 } else if (op == BandwidthController::IptOpInsert) { in updateUidOwnerMap()
DAndroid.bp191 "BandwidthController.cpp",
DTetherController.cpp618 StringPrintf("-I %s -j %s\n", LOCAL_FORWARD, BandwidthController::LOCAL_GLOBAL_ALERT) + in setTetherGlobalAlertRule()