Searched refs:currentTimeStamp (Results 1 – 3 of 3) sorted by relevance
153 long currentTimeStamp = 1 + DEFAULT_CACHE_UPDATE_INTERVAL_MIN_MS; in verifyTwoReadChanStatsWithLargeTimeGap() local154 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() local182 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() local210 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in verifyThreeReadChanStatsRefWithSecondLast()[all …]
547 long currentTimeStamp = 0; in connectionAttemptRateLimitedWhenScreenOff() local549 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() local588 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptNotRateLimitedWhenScreenOff()589 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptNotRateLimitedWhenScreenOff()598 currentTimeStamp + connectionAttemptIntervals * 2); in connectionAttemptNotRateLimitedWhenScreenOff()627 long currentTimeStamp = 0; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan() local629 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()[all …]
1101 long currentTimeStamp = mClock.getElapsedSinceBootMillis(); in startPeriodicSingleScan() local1104 long msSinceLastScan = currentTimeStamp - mLastPeriodicSingleScanTimeStamp; in startPeriodicSingleScan()1118 ((currentTimeStamp - mLastNetworkSelectionTimeStamp) in startPeriodicSingleScan()1149 mLastPeriodicSingleScanTimeStamp = currentTimeStamp; in startPeriodicSingleScan()