Searched refs:tetherStats (Results 1 – 4 of 4) sorted by relevance
65 public ForwardedStats(@NonNull TetherStatsParcel tetherStats) { in ForwardedStats() argument66 rxBytes = tetherStats.rxBytes; in ForwardedStats()67 rxPackets = tetherStats.rxPackets; in ForwardedStats()68 txBytes = tetherStats.txBytes; in ForwardedStats()69 txPackets = tetherStats.txPackets; in ForwardedStats()
695 for (TetherStatsParcel tetherStats : tetherStatsList) { in updateQuotaAndStatsFromSnapshot()696 final Integer ifIndex = tetherStats.ifIndex; in updateQuotaAndStatsFromSnapshot()697 final ForwardedStats curr = new ForwardedStats(tetherStats); in updateQuotaAndStatsFromSnapshot()
1018 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);
1509 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()