Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/android/net/util/
DTetheringUtils.java65 public ForwardedStats(@NonNull TetherStatsParcel tetherStats) { in ForwardedStats() argument
66 rxBytes = tetherStats.rxBytes; in ForwardedStats()
67 rxPackets = tetherStats.rxPackets; in ForwardedStats()
68 txBytes = tetherStats.txBytes; in ForwardedStats()
69 txPackets = tetherStats.txPackets; in ForwardedStats()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java695 for (TetherStatsParcel tetherStats : tetherStatsList) { in updateQuotaAndStatsFromSnapshot()
696 final Integer ifIndex = tetherStats.ifIndex; in updateQuotaAndStatsFromSnapshot()
697 final ForwardedStats curr = new ForwardedStats(tetherStats); in updateQuotaAndStatsFromSnapshot()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1018 final NetworkStats tetherStats = new NetworkStats(getElapsedRealtime(), 1)
1023 expectNetworkStatsUidDetail(uidStats, tetherStats);
1368 private void expectNetworkStatsSummary(NetworkStats summary, NetworkStats tetherStats)
1370 expectNetworkStatsTethering(STATS_PER_IFACE, tetherStats);
1392 private void expectNetworkStatsUidDetail(NetworkStats detail, NetworkStats tetherStats)
1398 when(mNetManager.getNetworkStatsTethering(STATS_PER_UID)).thenReturn(tetherStats);
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1509 for (TetherStatsParcel tetherStats : tetherStatsVec) { in getTetherStats()
1511 entry.iface = tetherStats.iface; in getTetherStats()
1515 entry.rxBytes = tetherStats.rxBytes; in getTetherStats()
1516 entry.rxPackets = tetherStats.rxPackets; in getTetherStats()
1517 entry.txBytes = tetherStats.txBytes; in getTetherStats()
1518 entry.txPackets = tetherStats.txPackets; in getTetherStats()