Home
last modified time | relevance | path

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

/system/netd/server/
DCommandListener.cpp114 registerLockingCmd(new BandwidthControlCmd(), gCtls->bandwidthCtrl.lock); in CommandListener()
552 rc = gCtls->bandwidthCtrl.setGlobalAlertInForwardChain(); in runCommand()
556 rc = gCtls->bandwidthCtrl.removeGlobalAlertInForwardChain(); in runCommand()
723 int rc = gCtls->bandwidthCtrl.enableBandwidthControl(true); in runCommand()
729 int rc = gCtls->bandwidthCtrl.disableBandwidthControl(); in runCommand()
739 int rc = gCtls->bandwidthCtrl.removeInterfaceSharedQuota(argv[2]); in runCommand()
750 int rc = gCtls->bandwidthCtrl.getInterfaceSharedQuota(&bytes); in runCommand()
770 int rc = gCtls->bandwidthCtrl.getInterfaceQuota(argv[2], &bytes); in runCommand()
787 int rc = gCtls->bandwidthCtrl.setInterfaceSharedQuota(argv[2], atoll(argv[3])); in runCommand()
799 rc = gCtls->bandwidthCtrl.setInterfaceSharedQuota(argv[q], atoll(argv[2])); in runCommand()
[all …]
DControllers.h49 BandwidthController bandwidthCtrl; variable
DControllers.cpp250 bandwidthCtrl.setupIptablesHooks(); in initIptablesRules()
265 bandwidthCtrl.enableBandwidthControl(false); in init()
DNetdNativeService.cpp157 NETD_LOCKING_RPC(CONNECTIVITY_INTERNAL, gCtls->bandwidthCtrl.lock); in bandwidthEnableDataSaver()
159 int err = gCtls->bandwidthCtrl.enableDataSaver(enable); in bandwidthEnableDataSaver()