Home
last modified time | relevance | path

Searched refs:buildTestEntry (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java409 private static @NonNull Entry buildTestEntry(@NonNull OffloadController.StatsType how, in buildTestEntry() method in OffloadControllerTest
452 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats()
453 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 12345, 54321)); in testGetForwardedStats()
456 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 999, 99999)) in testGetForwardedStats()
457 .addEntry(buildTestEntry(STATS_PER_UID, ethernetIface, 12345, 54321)); in testGetForwardedStats()
483 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 999, 99999)) in testGetForwardedStats()
484 .addEntry(buildTestEntry(STATS_PER_IFACE, ethernetIface, 112345, 154321)); in testGetForwardedStats()
487 .addEntry(buildTestEntry(STATS_PER_UID, mobileIface, 999, 99999)) in testGetForwardedStats()
488 .addEntry(buildTestEntry(STATS_PER_UID, ethernetIface, 112345, 154321)); in testGetForwardedStats()
496 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 0, 0)) in testGetForwardedStats()
[all …]
DBpfCoordinatorTest.java344 private static NetworkStats.Entry buildTestEntry(@NonNull StatsType how, in buildTestEntry() method in BpfCoordinatorTest
616 .addEntry(buildTestEntry(STATS_PER_IFACE, mobileIface, 1000, 100, 2000, 200)); in checkTetherOffloadGetStats()
619 .addEntry(buildTestEntry(STATS_PER_UID, 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()
666 .addEntry(buildTestEntry(STATS_PER_UID, wlanIface, 1000, 100, 2000, 200)) in testGetForwardedStats()
667 .addEntry(buildTestEntry(STATS_PER_UID, 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()
687 .addEntry(buildTestEntry(STATS_PER_UID, wlanIface, 0, 0, 0, 0)) in testGetForwardedStats()
[all …]