Searched refs:minDuration (Results 1 – 4 of 4) sorted by relevance
742 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local743 if (minDuration == null || in getMaxPreviewSizeForFpsRange()744 minDuration == 0) { in getMaxPreviewSizeForFpsRange()752 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
669 nsecs_t minDuration = INT64_MAX; in updateModelLocked() local682 minDuration = min(minDuration, duration); in updateModelLocked()687 durationSum -= minDuration + maxDuration; in updateModelLocked()
375 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument377 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
2375 long minDuration = mAm.mConstants.SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local2392 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()2406 r.restartDelay = minDuration; in scheduleServiceRestartLocked()2418 r.restartDelay = minDuration; in scheduleServiceRestartLocked()2421 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()2422 r.restartDelay = minDuration; in scheduleServiceRestartLocked()