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.java105 long restartDelay; // delay until next restart attempt. field in ServiceRecord
262 || restartDelay != 0 || nextRestartTime != 0) { in dump()
265 TimeUtils.formatDuration(restartDelay, now, pw); in dump()
391 restartDelay = 0; in resetRestartCounter()
DActiveServices.java1210 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()
1212 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
1221 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
1223 r.restartDelay *= SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()
1224 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
1225 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
1230 r.nextRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
1244 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
1256 r.restartDelay = 0; in scheduleServiceRestartLocked()
1270 r.nextRestartTime = SystemClock.uptimeMillis() + r.restartDelay; in scheduleServiceRestartLocked()
[all …]