Searched refs:restartDelay (Results 1 – 2 of 2) sorted by relevance
116 long restartDelay; // delay until next restart attempt. field in ServiceRecord301 if (crashCount != 0 || restartCount != 0 || restartDelay != 0 || nextRestartTime != 0) { in writeToProto()304 ProtoUtils.toDuration(proto, ServiceRecordProto.Crash.RESTART_DELAY, restartDelay, now); in writeToProto()407 || restartDelay != 0 || nextRestartTime != 0) { in dump()410 TimeUtils.formatDuration(restartDelay, now, pw); in dump()549 restartDelay = 0; in resetRestartCounter()
2158 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()2160 r.restartDelay = minDuration; in scheduleServiceRestartLocked()2162 r.restartDelay = mAm.mConstants.BOUND_SERVICE_CRASH_RESTART_DURATION in scheduleServiceRestartLocked()2172 r.restartDelay = minDuration; in scheduleServiceRestartLocked()2174 r.restartDelay *= mAm.mConstants.SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()2175 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()2176 r.restartDelay = minDuration; in scheduleServiceRestartLocked()2181 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()2194 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()2206 r.restartDelay = 0; in scheduleServiceRestartLocked()[all …]