Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java112 private ConcurrentHashMap<String, ForwardedStats> mForwardedStats = field in OffloadController
311 for (final Map.Entry<String, ForwardedStats> kv : mForwardedStats.entrySet()) { in getTetherStats()
403 ForwardedStats base = mForwardedStats.get(iface); in maybeUpdateStats()
415 mForwardedStats.put(iface, diff); in maybeUpdateStats()
489 for (Map.Entry<String, ForwardedStats> kv : mForwardedStats.entrySet()) { in updateStatsForAllUpstreams()
503 if (!TextUtils.isEmpty(iface)) mForwardedStats.putIfAbsent(iface, EMPTY_STATS); in setUpstreamLinkProperties()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java191 @Mock private OffloadHardwareInterface.ForwardedStats mForwardedStats; field in TetheringTest
526 when(mOffloadHardwareInterface.getForwardedStats(any())).thenReturn(mForwardedStats); in setUp()