Home
last modified time | relevance | path

Searched refs:restartDelay (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActiveServicesTest.java360 r.restartDelay = nextRestartDelays[i]; in setNextRestarts()
361 r.nextRestartTime = now + r.restartDelay; in setNextRestarts()
375 r.restartDelay = delay; in createRestartingService()
383 Math.max(0, delays[i]), r.restartDelay); in verifyDelays()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java5318 if (r.restartDelay == 0) { in scheduleServiceRestartLocked()
5320 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
5322 r.restartDelay = mAm.mConstants.BOUND_SERVICE_CRASH_RESTART_DURATION in scheduleServiceRestartLocked()
5332 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
5334 r.restartDelay *= mAm.mConstants.SERVICE_RESTART_DURATION_FACTOR; in scheduleServiceRestartLocked()
5335 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
5336 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
5342 r.nextRestartTime = r.mEarliestRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
5353 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
5370 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
[all …]
DServiceRecord.java180 long restartDelay; // delay until next restart attempt. field in ServiceRecord
1532 restartDelay = 0; in resetRestartCounter()