Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java147 static final int CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS = 60_000; field in BpfCoordinator
2349 if ((now - v.lastUsed) / 1_000_000 < CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS) { in refreshAllConntrackTimeouts()
2360 if ((now - v.lastUsed) / 1_000_000 < CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS) { in refreshAllConntrackTimeouts()
2386 CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS); in maybeScheduleConntrackTimeoutUpdate()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java53 …port static com.android.networkstack.tethering.BpfCoordinator.CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS;
2081 final long validTime = (CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS - 1) * 1_000_000L; in checkRefreshConntrackTimeout()
2082 final long expiredTime = (CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS + 1) * 1_000_000L; in checkRefreshConntrackTimeout()
2096 mTestLooper.moveTimeForward(CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS); in checkRefreshConntrackTimeout()
2103 mTestLooper.moveTimeForward(CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS); in checkRefreshConntrackTimeout()
2120 mTestLooper.moveTimeForward(CONNTRACK_TIMEOUT_UPDATE_INTERVAL_MS); in checkRefreshConntrackTimeout()