Searched refs:STATS_PER_IFACE (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 31 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_IFACE; 419 return new Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, SET_DEFAULT, in buildTestEntry() 457 final NetworkStats ifaceStats = mTetherStatsProvider.getTetherStats(STATS_PER_IFACE); in testGetForwardedStats() 460 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 461 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 12345, 54321)); in testGetForwardedStats() 488 final NetworkStats ifaceStatsAccu = mTetherStatsProvider.getTetherStats(STATS_PER_IFACE); in testGetForwardedStats() 491 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 492 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 112345, 154321)); in testGetForwardedStats() 504 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 0, 0)) in testGetForwardedStats() 505 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 100000, 100000)); in testGetForwardedStats()
|
D | BpfCoordinatorTest.java | 59 import static com.android.networkstack.tethering.BpfCoordinator.StatsType.STATS_PER_IFACE; 690 return new NetworkStats.Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, in buildTestEntry() 1069 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 1000, 100, 2000, 200)); in checkTetherOffloadGetStats() 1115 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 1000, 100, 2000, 200)) in testGetForwardedStats() 1116 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 3000, 300, 4000, 400)); in testGetForwardedStats() 1136 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 0, 0, 0, 0)) in testGetForwardedStats() 1137 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 10, 20, 30, 40)); in testGetForwardedStats() 1523 .addEntry(buildTestEntry(STATS_PER_IFACE, ethIface, 10, 20, 30, 40)) in testTetherOffloadRuleUpdateAndClear() 1524 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 50, 60, 70, 80)), in testTetherOffloadRuleUpdateAndClear()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 88 STATS_PER_IFACE, enumConstant 399 getTetherStats(StatsType.STATS_PER_IFACE).subtract(mIfaceStats); in pushTetherStats()
|
D | BpfCoordinator.java | 164 STATS_PER_IFACE, enumConstant 2242 buildNetworkStats(StatsType.STATS_PER_IFACE, ifIndex, diff), in updateQuotaAndStatsFromSnapshot()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 43 import static android.net.NetworkStats.STATS_PER_IFACE; 2210 final NetworkStats providerSnapshot = getNetworkStatsFromProviders(STATS_PER_IFACE); 2540 final NetworkStats providersnapshot = getNetworkStatsFromProviders(STATS_PER_IFACE); 3035 pw.print(cb.getCachedStats(STATS_PER_IFACE).toString()); 3436 case STATS_PER_IFACE:
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStats.java | 187 public static final int STATS_PER_IFACE = 0; field in NetworkStats 197 STATS_PER_IFACE,
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1017 Landroid/net/NetworkStats;->STATS_PER_IFACE:I
|