Searched refs:costName (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 754 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert() argument 758 if (!isIfaceName(costName)) { in setCostlyAlert() 759 ALOGE("setCostlyAlert: Invalid costName \"%s\"", costName.c_str()); in setCostlyAlert() 768 std::string alertName = costName + "Alert"; in setCostlyAlert() 769 std::string chainName = "bw_costly_" + costName; in setCostlyAlert() 780 ALOGE("Failed to set costly alert for %s", costName.c_str()); in setCostlyAlert() 790 int BandwidthController::removeCostlyAlert(const std::string& costName, int64_t* alertBytes) { in removeCostlyAlert() argument 791 if (!isIfaceName(costName)) { in removeCostlyAlert() 792 ALOGE("removeCostlyAlert: Invalid costName \"%s\"", costName.c_str()); in removeCostlyAlert() 797 ALOGE("No prior alert set for %s alert", costName.c_str()); in removeCostlyAlert() [all …]
|
D | BandwidthController.h | 107 int setCostlyAlert(const std::string& costName, int64_t bytes, int64_t* alertBytes); 108 int removeCostlyAlert(const std::string& costName, int64_t* alertBytes);
|