Home
last modified time | relevance | path

Searched refs:alertBytes (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DBandwidthController.h153 int setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes);
154 int removeCostlyAlert(const char *costName, int64_t *alertBytes);
DBandwidthController.cpp1062 int BandwidthController::setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes) { in setCostlyAlert() argument
1078 if (*alertBytes) { in setCostlyAlert()
1079 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
1087 *alertBytes = bytes; in setCostlyAlert()
1092 int BandwidthController::removeCostlyAlert(const char *costName, int64_t *alertBytes) { in removeCostlyAlert() argument
1103 if (!*alertBytes) { in removeCostlyAlert()
1110 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-D", chainName, *alertBytes, alertName); in removeCostlyAlert()
1115 *alertBytes = 0; in removeCostlyAlert()