Searched refs:minDuration (Results 1 – 4 of 4) sorted by relevance
536 nsecs_t minDuration = INT64_MAX; in updateModelLocked() local543 minDuration = min(minDuration, duration); in updateModelLocked()548 durationSum -= minDuration + maxDuration; in updateModelLocked()
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()
374 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument376 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
2129 long minDuration = mAm.mConstants.SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local2146 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()2160 r.restartDelay = minDuration; in scheduleServiceRestartLocked()2172 r.restartDelay = minDuration; in scheduleServiceRestartLocked()2175 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()2176 r.restartDelay = minDuration; in scheduleServiceRestartLocked()