Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java1020 final long duration = ts.endTimeElapsed - ts.startTimeElapsed; in getRemainingEJExecutionTimeLocked()
1024 } else if (ts.startTimeElapsed < windowStartTimeElapsed) { in getRemainingEJExecutionTimeLocked()
1025 remainingMs += windowStartTimeElapsed - ts.startTimeElapsed; in getRemainingEJExecutionTimeLocked()
1147 } else if (session.startTimeElapsed <= windowStartElapsed) { in calculateTimeUntilQuotaConsumedLocked()
1154 long diff = session.startTimeElapsed - start; in calculateTimeUntilQuotaConsumedLocked()
1159 + (session.endTimeElapsed - session.startTimeElapsed); in calculateTimeUntilQuotaConsumedLocked()
1203 remainingDeadSpaceMs += session.endTimeElapsed - session.startTimeElapsed; in getTimeUntilEJQuotaConsumedLocked()
1206 } else if (session.startTimeElapsed < startWindowElapsed) { in getTimeUntilEJQuotaConsumedLocked()
1211 final long timeBetweenSessions = session.startTimeElapsed in getTimeUntilEJQuotaConsumedLocked()
1216 phasedOutSessionTimeMs += session.endTimeElapsed - session.startTimeElapsed; in getTimeUntilEJQuotaConsumedLocked()
[all …]
DFlexibilityController.java225 public long startTimeElapsed; field in FlexibilityController.JobScoreTracker.JobScoreBucket
229 startTimeElapsed = 0; in reset()
245 bucket.startTimeElapsed = nowElapsed; in addScore()
251 } else if (bucket.startTimeElapsed < nowElapsed - MAX_TIME_WINDOW_MS) { in addScore()
254 bucket.startTimeElapsed = nowElapsed; in addScore()
258 } else if (bucket.startTimeElapsed in addScore()
278 if (bucket != null && bucket.startTimeElapsed >= earliestElapsed) { in getScore()
280 if (earliestValidBucketTimeElapsed > bucket.startTimeElapsed) { in getScore()
281 earliestValidBucketTimeElapsed = bucket.startTimeElapsed; in getScore()
297 if (jsb == null || jsb.startTimeElapsed == 0) { in dump()
[all …]