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()
848 long minDuration = SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local865 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()879 r.restartDelay = minDuration; in scheduleServiceRestartLocked()888 r.restartDelay = minDuration; in scheduleServiceRestartLocked()894 r.restartDelay += minDuration/2; in scheduleServiceRestartLocked()897 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()898 r.restartDelay = minDuration; in scheduleServiceRestartLocked()