Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.h156 int setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes);
157 int removeCostlyAlert(const char *costName, int64_t *alertBytes);
DBandwidthController.cpp1027 int BandwidthController::setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes) { in setCostlyAlert() argument
1043 if (*alertBytes) { in setCostlyAlert()
1044 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
1052 *alertBytes = bytes; in setCostlyAlert()
1057 int BandwidthController::removeCostlyAlert(const char *costName, int64_t *alertBytes) { in removeCostlyAlert() argument
1068 if (!*alertBytes) { in removeCostlyAlert()
1075 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-D", chainName, *alertBytes, alertName); in removeCostlyAlert()
1080 *alertBytes = 0; in removeCostlyAlert()