Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java116 private OffloadController.OffloadTetheringStatsProvider mTetherStatsProvider; field in OffloadControllerTest
176 mTetherStatsProvider = tetherStatsProviderCaptor.getValue(); in makeOffloadController()
177 assertNotNull(mTetherStatsProvider); in makeOffloadController()
179 mTetherStatsProvider.setProviderCallbackBinder(mTetherStatsProviderCb); in makeOffloadController()
449 final NetworkStats ifaceStats = mTetherStatsProvider.getTetherStats(STATS_PER_IFACE); in testGetForwardedStats()
450 final NetworkStats uidStats = mTetherStatsProvider.getTetherStats(STATS_PER_UID); in testGetForwardedStats()
463 mTetherStatsProvider.pushTetherStats(); in testGetForwardedStats()
480 final NetworkStats ifaceStatsAccu = mTetherStatsProvider.getTetherStats(STATS_PER_IFACE); in testGetForwardedStats()
481 final NetworkStats uidStatsAccu = mTetherStatsProvider.getTetherStats(STATS_PER_UID); in testGetForwardedStats()
494 mTetherStatsProvider.pushTetherStats(); in testGetForwardedStats()
[all …]
DBpfCoordinatorTest.java224 private BpfCoordinator.BpfTetherStatsProvider mTetherStatsProvider; field in BpfCoordinatorTest
335 mTetherStatsProvider = tetherStatsProviderCaptor.getValue(); in makeBpfCoordinator()
336 assertNotNull(mTetherStatsProvider); in makeBpfCoordinator()
338 mTetherStatsProvider.setProviderCallbackBinder(mTetherStatsProviderCb); in makeBpfCoordinator()
621 mTetherStatsProvider.pushTetherStats(); in checkTetherOffloadGetStats()
672 mTetherStatsProvider.pushTetherStats(); in testGetForwardedStats()
691 mTetherStatsProvider.pushTetherStats(); in testGetForwardedStats()
719 mTetherStatsProvider.onSetAlert(0); in testOnSetAlert()
725 mTetherStatsProvider.onSetAlert(100); in testOnSetAlert()
737 mTetherStatsProvider.onSetAlert(QUOTA_UNLIMITED); in testOnSetAlert()
[all …]