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.java121 long restartDelay; // delay until next restart attempt. field in ServiceRecord
326 if (crashCount != 0 || restartCount != 0 || restartDelay != 0 || nextRestartTime != 0) { in dumpDebug()
329 ProtoUtils.toDuration(proto, ServiceRecordProto.Crash.RESTART_DELAY, restartDelay, now); in dumpDebug()
449 || restartDelay != 0 || nextRestartTime != 0) { in dump()
452 TimeUtils.formatDuration(restartDelay, now, pw); in dump()
781 restartDelay = 0; in resetRestartCounter()
DActiveServices.java2718 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()
2720 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2722 r.restartDelay = mAm.mConstants.BOUND_SERVICE_CRASH_RESTART_DURATION in scheduleServiceRestartLocked()
2732 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2734 r.restartDelay *= mAm.mConstants.SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()
2735 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
2736 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2741 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
2754 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
2766 r.restartDelay = 0; in scheduleServiceRestartLocked()
[all …]