Searched refs:restartDelay (Results 1 – 2 of 2) sorted by relevance
124 long restartDelay; // delay until next restart attempt. field in ServiceRecord320 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()
2380 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 …]