Searched refs:currentTimeStamp (Results 1 – 6 of 6) 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 …]
1802 long currentTimeStamp = 0; in connectionAttemptRateLimitedWhenScreenOff() local1804 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptRateLimitedWhenScreenOff()1805 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptRateLimitedWhenScreenOff()1815 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptRateLimitedWhenScreenOff()1844 long currentTimeStamp = 0; in connectionAttemptNotRateLimitedWhenScreenOff() local1846 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptNotRateLimitedWhenScreenOff()1847 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptNotRateLimitedWhenScreenOff()1858 currentTimeStamp + connectionAttemptIntervals * 2); in connectionAttemptNotRateLimitedWhenScreenOff()1889 long currentTimeStamp = 0; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan() local1891 currentTimeStamp += connectionAttemptIntervals; in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan()[all …]
397 long currentTimeStamp = 1000; in testStartConnectivityScan() local398 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in testStartConnectivityScan()405 currentTimeStamp += SCAN_INTERVAL; in testStartConnectivityScan()406 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in testStartConnectivityScan()
382 long currentTimeStamp = mClock.currentTimeMillis(); in getCurrentEpochId() local387 origin = currentTimeStamp; in getCurrentEpochId()395 return (long) Math.floor((currentTimeStamp - origin) / (double) epochJobPeriodsMs); in getCurrentEpochId()
906 final String currentTimeStamp = Long.toString(System.currentTimeMillis()); in getLooseMatches() local943 new String[] {currentTimeStamp}); in getLooseMatches()
2116 long currentTimeStamp = mClock.getElapsedSinceBootMillis(); in startPeriodicSingleScan() local2119 long msSinceLastScan = currentTimeStamp - mLastPeriodicSingleScanTimeStamp; in startPeriodicSingleScan()2133 ((currentTimeStamp - mLastNetworkSelectionTimeStamp) in startPeriodicSingleScan()2168 mLastPeriodicSingleScanTimeStamp = currentTimeStamp; in startPeriodicSingleScan()