Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/android/net/util/
DTetheringUtils.java93 public ForwardedStats(@NonNull TetherStatsParcel tetherStats) { in ForwardedStats() argument
94 rxBytes = tetherStats.rxBytes; in ForwardedStats()
95 rxPackets = tetherStats.rxPackets; in ForwardedStats()
96 txBytes = tetherStats.txBytes; in ForwardedStats()
97 txPackets = tetherStats.txPackets; in ForwardedStats()
100 public ForwardedStats(@NonNull TetherStatsValue tetherStats) { in ForwardedStats() argument
101 rxBytes = tetherStats.rxBytes; in ForwardedStats()
102 rxPackets = tetherStats.rxPackets; in ForwardedStats()
103 txBytes = tetherStats.txBytes; in ForwardedStats()
104 txPackets = tetherStats.txPackets; in ForwardedStats()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1810 final TetherStatsValue tetherStats = tetherStatsList.valueAt(i); in updateQuotaAndStatsFromSnapshot() local
1811 final ForwardedStats curr = new ForwardedStats(tetherStats); in updateQuotaAndStatsFromSnapshot()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java1675 private void expectNetworkStatsUidDetail(NetworkStats detail, NetworkStats tetherStats)
1681 when(mNetManager.getNetworkStatsTethering(STATS_PER_UID)).thenReturn(tetherStats);