Searched refs:alertBytes (Results 1 – 2 of 2) sorted by relevance
/system/netd/ |
D | BandwidthController.cpp | 934 int BandwidthController::setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes) { in setCostlyAlert() argument 945 if (*alertBytes) { in setCostlyAlert() 946 res = updateQuota(alertName, *alertBytes); in setCostlyAlert() 954 *alertBytes = bytes; in setCostlyAlert() 959 int BandwidthController::removeCostlyAlert(const char *costName, int64_t *alertBytes) { in removeCostlyAlert() argument 966 if (!*alertBytes) { in removeCostlyAlert() 972 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "", "-D", chainName, *alertBytes, alertName); in removeCostlyAlert() 977 *alertBytes = 0; in removeCostlyAlert()
|
D | BandwidthController.h | 135 int setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes); 136 int removeCostlyAlert(const char *costName, int64_t *alertBytes);
|