Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java1204 final int pollingInterval = 100_000; in testTetheringConfigSetPollingInterval() local
1205 when(mTetherConfig.getOffloadPollInterval()).thenReturn(pollingInterval); in testTetheringConfigSetPollingInterval()
1209 assertEquals(pollingInterval, coordinator.getPollingInterval()); in testTetheringConfigSetPollingInterval()
1212 mTestLooper.moveTimeForward(pollingInterval); in testTetheringConfigSetPollingInterval()
1218 mTestLooper.moveTimeForward((long) (pollingInterval * 0.9)); in testTetheringConfigSetPollingInterval()
1224 mTestLooper.moveTimeForward((long) (pollingInterval * 0.1)); in testTetheringConfigSetPollingInterval()