Searched refs:InterfaceQuota (Results 1 – 1 of 1) sorted by relevance
119 private static class InterfaceQuota { class in OffloadController123 public static InterfaceQuota MAX_VALUE = new InterfaceQuota(Long.MAX_VALUE, Long.MAX_VALUE);125 InterfaceQuota(long warningBytes, long limitBytes) { in InterfaceQuota() method in OffloadController.InterfaceQuota133 if (!(o instanceof InterfaceQuota)) return false; in equals()134 InterfaceQuota that = (InterfaceQuota) o; in equals()154 private HashMap<String, InterfaceQuota> mInterfaceQuotas = new HashMap<>();380 final InterfaceQuota curIfaceQuota = mInterfaceQuotas.get(iface); in onSetWarningAndLimit()381 final InterfaceQuota newIfaceQuota = new InterfaceQuota( in onSetWarningAndLimit()390 if (null == curIfaceQuota && InterfaceQuota.MAX_VALUE.equals(newIfaceQuota)) { in onSetWarningAndLimit()394 if (InterfaceQuota.MAX_VALUE.equals(newIfaceQuota)) { in onSetWarningAndLimit()[all …]