Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp700 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert() argument
704 if (!isIfaceName(costName)) { in setCostlyAlert()
705 ALOGE("setCostlyAlert: Invalid costName \"%s\"", costName.c_str()); in setCostlyAlert()
714 std::string alertName = costName + "Alert"; in setCostlyAlert()
715 std::string chainName = "bw_costly_" + costName; in setCostlyAlert()
726 ALOGE("Failed to set costly alert for %s", costName.c_str()); in setCostlyAlert()
735 int BandwidthController::removeCostlyAlert(const std::string& costName, int64_t* alertBytes) { in removeCostlyAlert() argument
736 if (!isIfaceName(costName)) { in removeCostlyAlert()
737 ALOGE("removeCostlyAlert: Invalid costName \"%s\"", costName.c_str()); in removeCostlyAlert()
742 ALOGE("No prior alert set for %s alert", costName.c_str()); in removeCostlyAlert()
[all …]
DBandwidthController.h146 int setCostlyAlert(const std::string& costName, int64_t bytes, int64_t* alertBytes);
147 int removeCostlyAlert(const std::string& costName, int64_t* alertBytes);