Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp536 nsecs_t minDuration = INT64_MAX; in updateModelLocked() local
543 minDuration = min(minDuration, duration); in updateModelLocked()
548 durationSum -= minDuration + maxDuration; in updateModelLocked()
/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/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java374 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument
376 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2129 long minDuration = mAm.mConstants.SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local
2146 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()