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.java113 long restartDelay; // delay until next restart attempt. field in ServiceRecord
275 || restartDelay != 0 || nextRestartTime != 0) { in dump()
278 TimeUtils.formatDuration(restartDelay, now, pw); in dump()
417 restartDelay = 0; in resetRestartCounter()
DActiveServices.java1926 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()
1928 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
1937 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
1939 r.restartDelay *= mAm.mConstants.SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()
1940 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
1941 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
1946 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
1959 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
1971 r.restartDelay = 0; in scheduleServiceRestartLocked()
1985 r.nextRestartTime = SystemClock.uptimeMillis() + r.restartDelay; in scheduleServiceRestartLocked()
[all …]