Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameScheduler2.cpp131 nsecs_t minDuration = LONG_MAX; in updateModelLocked() local
139 if (minDuration > duration) { minDuration = duration; } in updateModelLocked()
143 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/native/services/surfaceflinger/Scheduler/
DDispSync.cpp663 nsecs_t minDuration = INT64_MAX; in updateModelLocked() local
670 minDuration = min(minDuration, duration); in updateModelLocked()
675 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.java2351 long minDuration = mAm.mConstants.SERVICE_RESTART_DURATION; in scheduleServiceRestartLocked() local
2368 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked()
2382 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2394 r.restartDelay = minDuration; in scheduleServiceRestartLocked()
2397 if (r.restartDelay < minDuration) { in scheduleServiceRestartLocked()
2398 r.restartDelay = minDuration; in scheduleServiceRestartLocked()