Searched refs:minDuration (Results 1 – 2 of 2) sorted by relevance
374 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument376 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
1215 long minDuration = SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local1232 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()1246 r.restartDelay = minDuration; in scheduleServiceRestartLocked()1255 r.restartDelay = minDuration; in scheduleServiceRestartLocked()1258 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()1259 r.restartDelay = minDuration; in scheduleServiceRestartLocked()