Searched refs:InterfaceQuota (Results 1 – 1 of 1) sorted by relevance
118 private static class InterfaceQuota { class in OffloadController122 public static InterfaceQuota MAX_VALUE = new InterfaceQuota(Long.MAX_VALUE, Long.MAX_VALUE);124 InterfaceQuota(long warningBytes, long limitBytes) { in InterfaceQuota() method in OffloadController.InterfaceQuota132 if (!(o instanceof InterfaceQuota)) return false; in equals()133 InterfaceQuota that = (InterfaceQuota) o; in equals()153 private HashMap<String, InterfaceQuota> mInterfaceQuotas = new HashMap<>();369 final InterfaceQuota curIfaceQuota = mInterfaceQuotas.get(iface); in onSetWarningAndLimit()370 final InterfaceQuota newIfaceQuota = new InterfaceQuota( in onSetWarningAndLimit()379 if (null == curIfaceQuota && InterfaceQuota.MAX_VALUE.equals(newIfaceQuota)) { in onSetWarningAndLimit()383 if (InterfaceQuota.MAX_VALUE.equals(newIfaceQuota)) { in onSetWarningAndLimit()[all …]