Home
last modified time | relevance | path

Searched refs:minDuration (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java742 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
743 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
744 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
752 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp669 nsecs_t minDuration = INT64_MAX; in updateModelLocked() local
682 minDuration = min(minDuration, duration); in updateModelLocked()
687 durationSum -= minDuration + maxDuration; in updateModelLocked()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java375 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument
377 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2375 long minDuration = mAm.mConstants.SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local
2392 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()