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.java130 long restartDelay; // delay until next restart attempt. field in ServiceRecord
376 if (crashCount != 0 || restartCount != 0 || restartDelay != 0 || nextRestartTime != 0) { in dumpDebug()
379 ProtoUtils.toDuration(proto, ServiceRecordProto.Crash.RESTART_DELAY, restartDelay, now); in dumpDebug()
507 || restartDelay != 0 || nextRestartTime != 0) { in dump()
510 TimeUtils.formatDuration(restartDelay, now, pw); in dump()
900 restartDelay = 0; in resetRestartCounter()
DActiveServices.java3533 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()
3535 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
3537 r.restartDelay = mAm.mConstants.BOUND_SERVICE_CRASH_RESTART_DURATION in scheduleServiceRestartLocked()
3547 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
3549 r.restartDelay *= mAm.mConstants.SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()
3550 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
3551 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
3557 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
3571 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
3579 r.restartDelay = mAm.mConstants.SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked()
[all …]