Searched refs:timeNow (Results 1 – 5 of 5) sorted by relevance
141 public LifetimeStats getAndResetLifetimeStats(long timeNow) { in getAndResetLifetimeStats() argument142 updateLifetimeStatsAndSetActive(timeNow, mKeepaliveActive); in getAndResetLifetimeStats()146 resetLifetimeStats(timeNow); in getAndResetLifetimeStats()161 long timeNow) { in KeepaliveStats() argument167 mLastUpdateLifetimeTimestamp = timeNow; in KeepaliveStats()176 public void updateLifetimeStatsAndSetActive(long timeNow, boolean keepaliveActive) { in updateLifetimeStatsAndSetActive() argument177 final int durationIncrease = (int) (timeNow - mLastUpdateLifetimeTimestamp); in updateLifetimeStatsAndSetActive()181 mLastUpdateLifetimeTimestamp = timeNow; in updateLifetimeStatsAndSetActive()191 public void resetLifetimeStats(long timeNow) { in resetLifetimeStats() argument194 mLastUpdateLifetimeTimestamp = timeNow; in resetLifetimeStats()[all …]
92 public long timeNow() { in timeNow() method in TetheringMetrics126 mDownstreamStartTime.put(downstreamType, timeNow()); in createBuilder()152 final long newTime = timeNow(); in maybeUpdateUpstreamType()209 final long stopTime = timeNow(); in noteDownstreamStopped()
243 long timeNow = System.currentTimeMillis(); in createFiles() local247 createFile(IMAGE_1_FILE, timeNow + 30000); in createFiles()248 createFile(IMAGE_2_FILE, timeNow + 20000); in createFiles()249 createFile(VIDEO_FILE, timeNow + 10000); in createFiles()
228 long timeNow = System.currentTimeMillis(); in determineScreenUnpin() local240 if ((timeNow - mLastScreenPinLongPress) > SCREEN_PIN_LONG_PRESS_THRESHOLD) { in determineScreenUnpin()
89 public long timeNow() { in timeNow() method in TetheringMetricsTest.MockTetheringMetrics100 mTetheringMetrics.timeNow(); in incrementCurrentTime()