Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java118 long nextRestartTime; // time when restartDelay will expire. field in ServiceRecord
301 if (crashCount != 0 || restartCount != 0 || restartDelay != 0 || nextRestartTime != 0) { in writeToProto()
306 ServiceRecordProto.Crash.NEXT_RESTART_TIME, nextRestartTime, now); in writeToProto()
407 || restartDelay != 0 || nextRestartTime != 0) { in dump()
412 TimeUtils.formatDuration(nextRestartTime, now, pw); in dump()
DActiveServices.java2181 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
2191 if (r2 != r && r.nextRestartTime >= (r2.nextRestartTime-restartTimeBetween) in scheduleServiceRestartLocked()
2192 && r.nextRestartTime < (r2.nextRestartTime+restartTimeBetween)) { in scheduleServiceRestartLocked()
2193 r.nextRestartTime = r2.nextRestartTime + restartTimeBetween; in scheduleServiceRestartLocked()
2194 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
2207 r.nextRestartTime = now; in scheduleServiceRestartLocked()
2219 mAm.mHandler.postAtTime(r.restarter, r.nextRestartTime); in scheduleServiceRestartLocked()
2220 r.nextRestartTime = SystemClock.uptimeMillis() + r.restartDelay; in scheduleServiceRestartLocked()
3518 info.restarting = r.nextRestartTime; in getRunningServiceInfoLocked()
3538 info.restarting = r.nextRestartTime; in getRunningServiceInfoLocked()