Searched refs:StatsType (Results 1 – 4 of 4) sorted by relevance
87 enum StatsType { enum in OffloadController355 NetworkStats getTetherStats(@NonNull StatsType how) { in getTetherStats()357 final int uid = (how == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in getTetherStats()410 getTetherStats(StatsType.STATS_PER_IFACE).subtract(mIfaceStats); in pushTetherStats()412 getTetherStats(StatsType.STATS_PER_UID).subtract(mUidStats); in pushTetherStats()
135 enum StatsType { enum in BpfCoordinator1774 private NetworkStats buildNetworkStats(@NonNull StatsType type, int ifIndex, in buildNetworkStats()1784 final int uid = (type == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in buildNetworkStats()1824 buildNetworkStats(StatsType.STATS_PER_IFACE, ifIndex, diff), in updateQuotaAndStatsFromSnapshot()1825 buildNetworkStats(StatsType.STATS_PER_UID, ifIndex, diff)); in updateQuotaAndStatsFromSnapshot()
29 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_IFACE;30 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_UID;409 private static @NonNull Entry buildTestEntry(@NonNull OffloadController.StatsType how, in buildTestEntry()
46 import static com.android.networkstack.tethering.BpfCoordinator.StatsType;47 import static com.android.networkstack.tethering.BpfCoordinator.StatsType.STATS_PER_IFACE;48 import static com.android.networkstack.tethering.BpfCoordinator.StatsType.STATS_PER_UID;344 private static NetworkStats.Entry buildTestEntry(@NonNull StatsType how, in buildTestEntry()