Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java182 long nextRestartTime; // time when restartDelay will expire. field in ServiceRecord
862 if (crashCount != 0 || restartCount != 0 || (nextRestartTime - mRestartSchedulingTime) != 0 in dumpDebug()
863 || nextRestartTime != 0) { in dumpDebug()
867 (nextRestartTime - mRestartSchedulingTime), now); in dumpDebug()
869 ServiceRecordProto.Crash.NEXT_RESTART_TIME, nextRestartTime, now); in dumpDebug()
1067 || (nextRestartTime - mRestartSchedulingTime) != 0 || nextRestartTime != 0) { in dump()
1070 TimeUtils.formatDuration(nextRestartTime - mRestartSchedulingTime, now, pw); in dump()
1072 TimeUtils.formatDuration(nextRestartTime, now, pw); in dump()
DActiveServices.java5342 r.nextRestartTime = r.mEarliestRestartTime = now + r.restartDelay; in scheduleServiceRestartLocked()
5352 r.nextRestartTime = Math.max(now + extraDelay, r.nextRestartTime); in scheduleServiceRestartLocked()
5353 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
5362 final long nextRestartTime = r.nextRestartTime; in scheduleServiceRestartLocked() local
5366 final long nextRestartTime2 = r2.nextRestartTime; in scheduleServiceRestartLocked()
5367 if (nextRestartTime >= (nextRestartTime2 - restartTimeBetween) in scheduleServiceRestartLocked()
5368 && nextRestartTime < (nextRestartTime2 + restartTimeBetween)) { in scheduleServiceRestartLocked()
5369 r.nextRestartTime = nextRestartTime2 + restartTimeBetween; in scheduleServiceRestartLocked()
5370 r.restartDelay = r.nextRestartTime - now; in scheduleServiceRestartLocked()
5373 } else if (nextRestartTime >= nextRestartTime2 + restartTimeBetween) { in scheduleServiceRestartLocked()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActiveServicesTest.java361 r.nextRestartTime = now + r.restartDelay; in setNextRestarts()
373 r.nextRestartTime = r.mEarliestRestartTime = now + delay; in createRestartingService()
385 now + delays[i], r.nextRestartTime); in verifyDelays()