Lines Matching refs:iface
84 * . adding a new iface to this, E.g.:
106 * Should normally include costly_<iface>, but we rely on the way they are setup
426 * Flush the costly_<iface> is allowed to fail in case it didn't exist.
501 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) {
516 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
569 int BandwidthController::removeInterfaceSharedQuota(const char *iface) {
576 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
587 ALOGE("No such iface %s to delete", ifn);
607 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) {
621 return removeInterfaceQuota(iface);
624 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
629 costName = iface;
651 ALOGE("Failed update quota for %s", iface);
691 int BandwidthController::removeInterfaceQuota(const char *iface) {
699 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
704 costName = iface;
712 ALOGE("No such iface %s to delete", ifn);
898 int BandwidthController::setInterfaceAlert(const char *iface, int64_t bytes) {
906 if (it->ifaceName == iface)
915 return setCostlyAlert(iface, bytes, &it->alert);
918 int BandwidthController::removeInterfaceAlert(const char *iface) {
922 if (it->ifaceName == iface)
927 ALOGE("No prior alert set for interface %s", iface);
931 return removeCostlyAlert(iface, &it->alert);