Searched refs:StatsType (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_net_NetworkStatsService.cpp | 47 enum StatsType { enum 56 static uint64_t getStatsType(Stats* stats, StatsType type) { in getStatsType() 156 return getStatsType(&stats, (StatsType) type); in getTotalStat() 163 return getStatsType(&stats, (StatsType) type); in getTotalStat() 180 return getStatsType(&stats, (StatsType) type); in getIfaceStat() 187 return getStatsType(&stats, (StatsType) type); in getIfaceStat() 198 return getStatsType(&stats, (StatsType) type); in getUidStat() 205 return getStatsType(&stats, (StatsType) type); in getUidStat()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 84 enum StatsType { enum in OffloadController 307 NetworkStats getTetherStats(@NonNull StatsType how) { in getTetherStats() 309 final int uid = (how == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in getTetherStats() 351 getTetherStats(StatsType.STATS_PER_IFACE).subtract(mIfaceStats); in pushTetherStats() 353 getTetherStats(StatsType.STATS_PER_UID).subtract(mUidStats); in pushTetherStats()
|
D | BpfCoordinator.java | 76 enum StatsType { enum in BpfCoordinator 661 private NetworkStats buildNetworkStats(@NonNull StatsType type, int ifIndex, in buildNetworkStats() 671 final int uid = (type == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in buildNetworkStats() 710 buildNetworkStats(StatsType.STATS_PER_IFACE, ifIndex, diff), in updateQuotaAndStatsFromSnapshot() 711 buildNetworkStats(StatsType.STATS_PER_UID, ifIndex, diff)); in updateQuotaAndStatsFromSnapshot()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 28 import static com.android.networkstack.tethering.BpfCoordinator.StatsType; 29 import static com.android.networkstack.tethering.BpfCoordinator.StatsType.STATS_PER_IFACE; 30 import static com.android.networkstack.tethering.BpfCoordinator.StatsType.STATS_PER_UID; 161 private static NetworkStats.Entry buildTestEntry(@NonNull StatsType how, in buildTestEntry()
|
D | OffloadControllerTest.java | 29 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_IFACE; 30 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_UID; 419 private static @NonNull Entry buildTestEntry(@NonNull OffloadController.StatsType how, in buildTestEntry()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 207 public @interface StatsType { annotation in NetworkStats
|