Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java124 long restartDelay; // delay until next restart attempt. field in ServiceRecord
320 if (crashCount != 0 || restartCount != 0 || restartDelay != 0 || nextRestartTime != 0) { in writeToProto()
323 ProtoUtils.toDuration(proto, ServiceRecordProto.Crash.RESTART_DELAY, restartDelay, now); in writeToProto()
439 || restartDelay != 0 || nextRestartTime != 0) { in dump()
442 TimeUtils.formatDuration(restartDelay, now, pw); in dump()
763 restartDelay = 0; in resetRestartCounter()
DActiveServices.java2404 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()
2406 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2408 r.restartDelay = mAm.mConstants.BOUND_SERVICE_CRASH_RESTART_DURATION in scheduleServiceRestartLocked()
2418 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2420 r.restartDelay *= mAm.mConstants.SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()
2421 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
2422 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2427 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
2440 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
2452 r.restartDelay = 0; in scheduleServiceRestartLocked()
[all …]