Searched refs:bandwidthCtrl (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | NetdNativeService.cpp | 259 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_CONNECTIVITY_INTERNAL, in bandwidthEnableDataSaver() 261 int err = gCtls->bandwidthCtrl.enableDataSaver(enable); in bandwidthEnableDataSaver() 268 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthSetInterfaceQuota() 269 int res = gCtls->bandwidthCtrl.setInterfaceQuota(ifName, bytes); in bandwidthSetInterfaceQuota() 274 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthRemoveInterfaceQuota() 275 int res = gCtls->bandwidthCtrl.removeInterfaceQuota(ifName); in bandwidthRemoveInterfaceQuota() 281 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthSetInterfaceAlert() 282 int res = gCtls->bandwidthCtrl.setInterfaceAlert(ifName, bytes); in bandwidthSetInterfaceAlert() 287 NETD_LOCKING_RPC(gCtls->bandwidthCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in bandwidthRemoveInterfaceAlert() 288 int res = gCtls->bandwidthCtrl.removeInterfaceAlert(ifName); in bandwidthRemoveInterfaceAlert() [all …]
|
D | Controllers.cpp | 260 bandwidthCtrl.setupIptablesHooks(); in initIptablesRules() 290 bandwidthCtrl.setBpfEnabled(trafficCtrl.getBpfLevel() != android::bpf::BpfLevel::NONE); in init() 291 bandwidthCtrl.enableBandwidthControl(); in init()
|
D | Controllers.h | 47 BandwidthController bandwidthCtrl; variable
|