Home
last modified time | relevance | path

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

/system/netd/server/
DNetdNativeService.cpp259 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 …]
DControllers.cpp260 bandwidthCtrl.setupIptablesHooks(); in initIptablesRules()
290 bandwidthCtrl.setBpfEnabled(trafficCtrl.getBpfLevel() != android::bpf::BpfLevel::NONE); in init()
291 bandwidthCtrl.enableBandwidthControl(); in init()
DControllers.h47 BandwidthController bandwidthCtrl; variable