Home
last modified time | relevance | path

Searched refs:timeNow (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveStatsTracker.java141 public LifetimeStats getAndResetLifetimeStats(long timeNow) { in getAndResetLifetimeStats() argument
142 updateLifetimeStatsAndSetActive(timeNow, mKeepaliveActive); in getAndResetLifetimeStats()
146 resetLifetimeStats(timeNow); in getAndResetLifetimeStats()
161 long timeNow) { in KeepaliveStats() argument
167 mLastUpdateLifetimeTimestamp = timeNow; in KeepaliveStats()
176 public void updateLifetimeStatsAndSetActive(long timeNow, boolean keepaliveActive) { in updateLifetimeStatsAndSetActive() argument
177 final int durationIncrease = (int) (timeNow - mLastUpdateLifetimeTimestamp); in updateLifetimeStatsAndSetActive()
181 mLastUpdateLifetimeTimestamp = timeNow; in updateLifetimeStatsAndSetActive()
191 public void resetLifetimeStats(long timeNow) { in resetLifetimeStats() argument
194 mLastUpdateLifetimeTimestamp = timeNow; in resetLifetimeStats()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
DTetheringMetrics.java92 public long timeNow() { in timeNow() method in TetheringMetrics
126 mDownstreamStartTime.put(downstreamType, timeNow()); in createBuilder()
152 final long newTime = timeNow(); in maybeUpdateUpstreamType()
209 final long stopTime = timeNow(); in noteDownstreamStopped()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DPhotoPickerBaseTest.java243 long timeNow = System.currentTimeMillis(); in createFiles() local
247 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()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarNavButtonController.java228 long timeNow = System.currentTimeMillis(); in determineScreenUnpin() local
240 if ((timeNow - mLastScreenPinLongPress) > SCREEN_PIN_LONG_PRESS_THRESHOLD) { in determineScreenUnpin()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/
DTetheringMetricsTest.java89 public long timeNow() { in timeNow() method in TetheringMetricsTest.MockTetheringMetrics
100 mTetheringMetrics.timeNow(); in incrementCurrentTime()