Home
last modified time | relevance | path

Searched refs:getElapsedTime (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java303 appUsageHistory.lastUsedElapsedTime = getElapsedTime(elapsedRealtime); in getPackageHistory()
305 appUsageHistory.lastPredictedTime = getElapsedTime(0); in getPackageHistory()
354 final long elapsed = getElapsedTime(elapsedRealtime); in setAppStandbyBucket()
392 appUsageHistory.lastJobRunTime = getElapsedTime(elapsedRealtime); in setLastJobRunTime()
410 return getElapsedTime(elapsedRealtime) - appUsageHistory.lastJobRunTime; in getTimeSinceLastJobRun()
438 public long getElapsedTime(long elapsedRealtime) { in getElapsedTime() method in AppIdleHistory
494 long elapsedDelta = getElapsedTime(elapsedRealtime) - appUsageHistory.lastUsedElapsedTime; in getThresholdIndex()
648 final long totalElapsedTime = getElapsedTime(elapsedRealtime); in dump()
682 TimeUtils.formatDuration(getElapsedTime(elapsedRealtime), idpw); in dump()
DAppStandbyController.java674 final long elapsedTimeAdjusted = mAppIdleHistory.getElapsedTime(elapsedRealtime); in checkAndUpdateStandbyState()
710 && mAppIdleHistory.getElapsedTime(elapsedRealtime) in predictionTimedOut()
1185 final long elapsedTimeAdjusted = mAppIdleHistory.getElapsedTime(elapsedRealtime); in setAppStandbyBucket()