Home
last modified time | relevance | path

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

/system/netd/server/
DControllers.h45 BandwidthController bandwidthCtrl; variable
DNetdNativeService.cpp217 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthEnableDataSaver()
218 int err = gCtls->bandwidthCtrl.enableDataSaver(enable); in bandwidthEnableDataSaver()
225 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthSetInterfaceQuota()
226 int res = gCtls->bandwidthCtrl.setInterfaceQuota(ifName, bytes); in bandwidthSetInterfaceQuota()
231 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthRemoveInterfaceQuota()
232 int res = gCtls->bandwidthCtrl.removeInterfaceQuota(ifName); in bandwidthRemoveInterfaceQuota()
238 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthSetInterfaceAlert()
239 int res = gCtls->bandwidthCtrl.setInterfaceAlert(ifName, bytes); in bandwidthSetInterfaceAlert()
244 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthRemoveInterfaceAlert()
245 int res = gCtls->bandwidthCtrl.removeInterfaceAlert(ifName); in bandwidthRemoveInterfaceAlert()
[all …]
DControllers.cpp294 bandwidthCtrl.setupIptablesHooks(); in initIptablesRules()
321 if (int ret = bandwidthCtrl.enableBandwidthControl()) { in init()