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.java2380 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()
2382 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2384 r.restartDelay = mAm.mConstants.BOUND_SERVICE_CRASH_RESTART_DURATION in scheduleServiceRestartLocked()
2394 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2396 r.restartDelay *= mAm.mConstants.SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()
2397 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
2398 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2403 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
2416 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
2428 r.restartDelay = 0; in scheduleServiceRestartLocked()
[all …]