Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp691 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert() argument
695 if (!isIfaceName(costName)) { in setCostlyAlert()
696 ALOGE("setCostlyAlert: Invalid costName \"%s\"", costName.c_str()); in setCostlyAlert()
705 std::string alertName = costName + "Alert"; in setCostlyAlert()
706 std::string chainName = "bw_costly_" + costName; in setCostlyAlert()
717 ALOGE("Failed to set costly alert for %s", costName.c_str()); in setCostlyAlert()
727 int BandwidthController::removeCostlyAlert(const std::string& costName, int64_t* alertBytes) { in removeCostlyAlert() argument
728 if (!isIfaceName(costName)) { in removeCostlyAlert()
729 ALOGE("removeCostlyAlert: Invalid costName \"%s\"", costName.c_str()); in removeCostlyAlert()
734 ALOGE("No prior alert set for %s alert", costName.c_str()); in removeCostlyAlert()
[all …]
DBandwidthController.h101 int setCostlyAlert(const std::string& costName, int64_t bytes, int64_t* alertBytes);
102 int removeCostlyAlert(const std::string& costName, int64_t* alertBytes);