Home
last modified time | relevance | path

Searched refs:ForwardedStats (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadHardwareInterface.java70 public static class ForwardedStats { class in OffloadHardwareInterface
74 public ForwardedStats() { in ForwardedStats() method in OffloadHardwareInterface.ForwardedStats
79 public void add(ForwardedStats other) { in add()
157 public ForwardedStats getForwardedStats(String upstream) { in getForwardedStats()
160 final ForwardedStats stats = new ForwardedStats(); in getForwardedStats()
DOffloadController.java49 import com.android.server.connectivity.tethering.OffloadHardwareInterface.ForwardedStats;
75 private static final ForwardedStats EMPTY_STATS = new ForwardedStats();
100 private ConcurrentHashMap<String, ForwardedStats> mForwardedStats =
274 for (Map.Entry<String, ForwardedStats> kv : mForwardedStats.entrySet()) { in getTetherStats()
275 ForwardedStats value = kv.getValue(); in getTetherStats()
315 ForwardedStats diff = mHwInterface.getForwardedStats(iface); in maybeUpdateStats()
316 ForwardedStats base = mForwardedStats.get(iface); in maybeUpdateStats()
348 for (Map.Entry<String, ForwardedStats> kv : mForwardedStats.entrySet()) { in updateStatsForAllUpstreams()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java27 import static com.android.server.connectivity.tethering.OffloadHardwareInterface.ForwardedStats;
125 when(mHardware.getForwardedStats(any())).thenReturn(new ForwardedStats()); in setupFunctioningHardwareInterface()
388 private void assertNetworkStats(String iface, ForwardedStats stats, NetworkStats.Entry entry) { in assertNetworkStats()
407 ForwardedStats ethernetStats = new ForwardedStats(); in testGetForwardedStats()
411 ForwardedStats mobileStats = new ForwardedStats(); in testGetForwardedStats()
436 ethernetStats = new ForwardedStats(); in testGetForwardedStats()
/frameworks/base/services/
Dart-profile5681 HSPLcom/android/server/connectivity/tethering/OffloadHardwareInterface$ForwardedStats;-><init>()V
18944 Lcom/android/server/connectivity/tethering/OffloadHardwareInterface$ForwardedStats;