Home
last modified time | relevance | path

Searched refs:mInterfaceQuotas (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java154 private HashMap<String, InterfaceQuota> mInterfaceQuotas = new HashMap<>(); field in OffloadController
380 final InterfaceQuota curIfaceQuota = mInterfaceQuotas.get(iface); in onSetWarningAndLimit()
395 mInterfaceQuotas.remove(iface); in onSetWarningAndLimit()
397 mInterfaceQuotas.put(iface, newIfaceQuota); in onSetWarningAndLimit()
541 final InterfaceQuota quota = mInterfaceQuotas.getOrDefault(iface, InterfaceQuota.MAX_VALUE); in maybeUpdateDataWarningAndLimit()
DBpfCoordinator.java187 private final HashMap<String, Long> mInterfaceQuotas = new HashMap<>(); field in BpfCoordinator
930 pw.println("Upstream quota: " + mInterfaceQuotas.toString()); in dump()
1392 final Long curIfaceQuota = mInterfaceQuotas.get(iface); in onSetLimit()
1397 mInterfaceQuotas.remove(iface); in onSetLimit()
1399 mInterfaceQuotas.put(iface, quotaBytes); in onSetLimit()
1634 final Long limit = mInterfaceQuotas.get(iface); in getQuotaBytes()