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

/system/netd/
H A DBandwidthController.h152 int setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes);
153 int removeCostlyAlert(const char *costName, int64_t *alertBytes);
H A DBandwidthController.cpp1033 int BandwidthController::setCostlyAlert(const char *costName, int64_t bytes, int64_t *alertBytes) { argument
1044 if (*alertBytes) {
1045 res = updateQuota(alertName, *alertBytes);
1053 *alertBytes = bytes;
1058 int BandwidthController::removeCostlyAlert(const char *costName, int64_t *alertBytes) { argument
1065 if (!*alertBytes) {
1071 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-D", chainName, *alertBytes, alertName);
1076 *alertBytes = 0;

Completed in 47 milliseconds