Lines Matching refs:iface

563 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) {  in setInterfaceSharedQuota()  argument
577 if (!isIfaceName(iface)) in setInterfaceSharedQuota()
579 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { in setInterfaceSharedQuota()
632 int BandwidthController::removeInterfaceSharedQuota(const char *iface) { in removeInterfaceSharedQuota() argument
639 if (!isIfaceName(iface)) in removeInterfaceSharedQuota()
641 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { in removeInterfaceSharedQuota()
672 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { in setInterfaceQuota() argument
680 if (!isIfaceName(iface)) in setInterfaceQuota()
689 return removeInterfaceQuota(iface); in setInterfaceQuota()
692 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { in setInterfaceQuota()
697 costName = iface; in setInterfaceQuota()
725 ALOGE("Failed update quota for %s", iface); in setInterfaceQuota()
768 int BandwidthController::removeInterfaceQuota(const char *iface) { in removeInterfaceQuota() argument
775 if (!isIfaceName(iface)) in removeInterfaceQuota()
777 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) { in removeInterfaceQuota()
981 int BandwidthController::setInterfaceAlert(const char *iface, int64_t bytes) { in setInterfaceAlert() argument
984 if (!isIfaceName(iface)) { in setInterfaceAlert()
985 ALOGE("setInterfaceAlert: Invalid iface \"%s\"", iface); in setInterfaceAlert()
994 if (it->ifaceName == iface) in setInterfaceAlert()
1003 return setCostlyAlert(iface, bytes, &it->alert); in setInterfaceAlert()
1006 int BandwidthController::removeInterfaceAlert(const char *iface) { in removeInterfaceAlert() argument
1009 if (!isIfaceName(iface)) { in removeInterfaceAlert()
1010 ALOGE("removeInterfaceAlert: Invalid iface \"%s\"", iface); in removeInterfaceAlert()
1015 if (it->ifaceName == iface) in removeInterfaceAlert()
1020 ALOGE("No prior alert set for interface %s", iface); in removeInterfaceAlert()
1024 return removeCostlyAlert(iface, &it->alert); in removeInterfaceAlert()