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.java153 private HashMap<String, InterfaceQuota> mInterfaceQuotas = new HashMap<>(); field in OffloadController
369 final InterfaceQuota curIfaceQuota = mInterfaceQuotas.get(iface); in onSetWarningAndLimit()
384 mInterfaceQuotas.remove(iface); in onSetWarningAndLimit()
386 mInterfaceQuotas.put(iface, newIfaceQuota); in onSetWarningAndLimit()
530 final InterfaceQuota quota = mInterfaceQuotas.getOrDefault(iface, InterfaceQuota.MAX_VALUE); in maybeUpdateDataWarningAndLimit()
DBpfCoordinator.java215 private final HashMap<String, Long> mInterfaceQuotas = new HashMap<>(); field in BpfCoordinator
1142 pw.println("Upstream quota: " + mInterfaceQuotas.toString()); in dump()
1826 final Long curIfaceQuota = mInterfaceQuotas.get(iface); in onSetLimit()
1831 mInterfaceQuotas.remove(iface); in onSetLimit()
1833 mInterfaceQuotas.put(iface, quotaBytes); in onSetLimit()
2059 final Long limit = mInterfaceQuotas.get(iface); in getQuotaBytes()