Searched refs:STATS_PER_IFACE (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 29 import static com.android.networkstack.tethering.OffloadController.StatsType.STATS_PER_IFACE; 411 return new Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, SET_DEFAULT, in buildTestEntry() 449 final NetworkStats ifaceStats = mTetherStatsProvider.getTetherStats(STATS_PER_IFACE); in testGetForwardedStats() 452 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 453 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 12345, 54321)); in testGetForwardedStats() 480 final NetworkStats ifaceStatsAccu = mTetherStatsProvider.getTetherStats(STATS_PER_IFACE); in testGetForwardedStats() 483 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats() 484 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 112345, 154321)); in testGetForwardedStats() 496 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 0, 0)) in testGetForwardedStats() 497 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 100000, 100000)); in testGetForwardedStats()
|
D | BpfCoordinatorTest.java | 47 import static com.android.networkstack.tethering.BpfCoordinator.StatsType.STATS_PER_IFACE; 346 return new NetworkStats.Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, in buildTestEntry() 616 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 1000, 100, 2000, 200)); in checkTetherOffloadGetStats() 662 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 1000, 100, 2000, 200)) in testGetForwardedStats() 663 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 3000, 300, 4000, 400)); in testGetForwardedStats() 683 .addEntry(buildTestEntry(STATS_PER_IFACE, wlanIface, 0, 0, 0, 0)) in testGetForwardedStats() 684 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 10, 20, 30, 40)); in testGetForwardedStats() 979 .addEntry(buildTestEntry(STATS_PER_IFACE, ethIface, 10, 20, 30, 40)) in testTetherOffloadRuleUpdateAndClear() 980 .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 410 getTetherStats(StatsType.STATS_PER_IFACE).subtract(mIfaceStats); in pushTetherStats()
|
D | BpfCoordinator.java | 136 STATS_PER_IFACE, enumConstant 1824 buildNetworkStats(StatsType.STATS_PER_IFACE, ifIndex, diff), in updateQuotaAndStatsFromSnapshot()
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1017 Landroid/net/NetworkStats;->STATS_PER_IFACE:I
|