Home
last modified time | relevance | path

Searched refs:DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java31 … com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS;
184 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in setTetherOffloadStatsList()
253 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testGetForwardedStats()
278 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
285 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
291 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
511 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testTetheringConfigDisable()
567 assertEquals(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS, coordinator.getPollingInterval()); in testTetheringConfigSetPollingInterval()
573 : new int[] {0, 100, DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS - 1}) { in testTetheringConfigSetPollingInterval()
576 assertEquals(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS, coordinator.getPollingInterval()); in testTetheringConfigSetPollingInterval()
DOffloadControllerTest.java32 … com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS;
785 setOffloadPollInterval(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
807 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
814 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
822 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
DTetheringConfigurationTest.java120 TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in setUp()
369 assertEquals(TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS, in testOffloadIntervalByResource()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java91 public static final int DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS = 5000; field in TetheringConfiguration
157 DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in TetheringConfiguration()
DOffloadController.java29 … com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS;
463 >= DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS; in isPollingStatsNeeded()
DBpfCoordinator.java28 … com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS;
749 return Math.max(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS, configInterval); in getPollingInterval()