Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiChannelUtilizationTest.java153 long currentTimeStamp = 1 + DEFAULT_CACHE_UPDATE_INTERVAL_MIN_MS; in verifyTwoReadChanStatsWithLargeTimeGap() local
154 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in verifyTwoReadChanStatsWithLargeTimeGap()
163 currentTimeStamp = 1 + DEFAULT_CACHE_UPDATE_INTERVAL_MIN_MS * 2; in verifyTwoReadChanStatsWithLargeTimeGap()
164 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in verifyTwoReadChanStatsWithLargeTimeGap()
181 long currentTimeStamp = DEFAULT_CACHE_UPDATE_INTERVAL_MIN_MS / 2; in verifyTwoReadChanStatsWithSmallTimeGap() local
182 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in verifyTwoReadChanStatsWithSmallTimeGap()
191 currentTimeStamp = 1 + DEFAULT_CACHE_UPDATE_INTERVAL_MIN_MS; in verifyTwoReadChanStatsWithSmallTimeGap()
192 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in verifyTwoReadChanStatsWithSmallTimeGap()
209 long currentTimeStamp = 1 + DEFAULT_CACHE_UPDATE_INTERVAL_MIN_MS; in verifyThreeReadChanStatsRefWithSecondLast() local
210 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in verifyThreeReadChanStatsRefWithSecondLast()
[all …]
DWifiConnectivityManagerTest.java547 long currentTimeStamp = 0; in connectionAttemptRateLimitedWhenScreenOff() local
549 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptRateLimitedWhenScreenOff()
550 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptRateLimitedWhenScreenOff()
558 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptRateLimitedWhenScreenOff()
586 long currentTimeStamp = 0; in connectionAttemptNotRateLimitedWhenScreenOff() local
588 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptNotRateLimitedWhenScreenOff()
589 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptNotRateLimitedWhenScreenOff()
598 currentTimeStamp + connectionAttemptIntervals * 2); in connectionAttemptNotRateLimitedWhenScreenOff()
627 long currentTimeStamp = 0; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan() local
629 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java1101 long currentTimeStamp = mClock.getElapsedSinceBootMillis(); in startPeriodicSingleScan() local
1104 long msSinceLastScan = currentTimeStamp - mLastPeriodicSingleScanTimeStamp; in startPeriodicSingleScan()
1118 ((currentTimeStamp - mLastNetworkSelectionTimeStamp) in startPeriodicSingleScan()
1149 mLastPeriodicSingleScanTimeStamp = currentTimeStamp; in startPeriodicSingleScan()