Home
last modified time | relevance | path

Searched refs:fpsRange (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java412 Range<Integer> fpsRange = getHighestHighSpeedFixedFpsRangeForSize(config, size); in testAbandonedHighSpeedRequest() local
414 "size " + size, fpsRange); in testAbandonedHighSpeedRequest()
415 if (fpsRange == null) { in testAbandonedHighSpeedRequest()
419 int captureRate = fpsRange.getLower(); in testAbandonedHighSpeedRequest()
422 if (fpsRange.getUpper() > getFpsFromHighSpeedProfileForSize(size)) { in testAbandonedHighSpeedRequest()
445 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
477 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
650 Range<Integer> fpsRange = new Range( in doRecordingWithDifferentPreviewSizes() local
669 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + in doRecordingWithDifferentPreviewSizes()
671 fpsRanges.contains(fpsRange)); in doRecordingWithDifferentPreviewSizes()
[all …]
DSurfaceViewPreviewTest.java672 Range<Integer> fpsRange; in previewFpsRangeTestByCamera() local
678 fpsRange = fpsRanges[i]; in previewFpsRangeTestByCamera()
684 maxPreviewSz = getMaxPreviewSizeForFpsRange(fpsRange); in previewFpsRangeTestByCamera()
687 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera()
707 verifyPreviewTargetFpsRange(resultListener, NUM_FRAMES_VERIFIED, fpsRange, in previewFpsRangeTestByCamera()
715 int numFramesVerified, Range<Integer> fpsRange, Size previewSz) { in verifyPreviewTargetFpsRange() argument
722 … new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in verifyPreviewTargetFpsRange()
DCaptureRequestTest.java3314 Range<Integer> fpsRange;
3318 fpsRange = fpsRanges.get(i);
3319 Size previewSz = getMaxPreviewSizeForFpsRange(fpsRange);
3326 fpsRange));
3333 fpsRange, previewSz.toString()));
3335 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange);
3356 (long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())};
DCameraDeviceTest.java1927 Range<Integer> fpsRange; in checkFpsRange() local
1928 if ((fpsRange = mCollector.expectKeyValueNotNull(request, fpsRangeKey)) == null) { in checkFpsRange()
1932 int minFps = fpsRange.getLower(); in checkFpsRange()
1933 int maxFps = fpsRange.getUpper(); in checkFpsRange()
DExtendedCameraCharacteristicsTest.java546 for (Range<Integer> fpsRange : highSpeedFpsRanges) { in verifyRecommendedVideoConfiguration()
549 fpsRange.getLower().intValue(), fpsRange.getUpper().intValue(), in verifyRecommendedVideoConfiguration()
550 cameraId), availableHighSpeedFpsRanges, fpsRange); in verifyRecommendedVideoConfiguration()
DStillCaptureTest.java1545 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE); in getMaxExposureValue() local
1546 long maxFrameDurationUs = Math.round(1000000.0 / fpsRange.getLower()); in getMaxExposureValue()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java811 protected Size getMaxPreviewSizeForFpsRange(Range<Integer> fpsRange) { in getMaxPreviewSizeForFpsRange() argument
812 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) { in getMaxPreviewSizeForFpsRange()
821 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in getMaxPreviewSizeForFpsRange()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2658 for (Range<Integer> fpsRange : fpsRanges) { in getTargetFpsRangesUpTo30()
2659 if (fpsRange.getUpper() <= 30) { in getTargetFpsRangesUpTo30()
2660 fpsRangesUpTo30.add(fpsRange); in getTargetFpsRangesUpTo30()
2675 for (Range<Integer> fpsRange : fpsRanges) { in getTargetFpsRangesGreaterThan30()
2676 if (fpsRange.getUpper() > 30) { in getTargetFpsRangesGreaterThan30()
2677 fpsRangesGreaterThan30.add(fpsRange); in getTargetFpsRangesGreaterThan30()
3693 for (Range<Integer> fpsRange : fpsRanges) { in getSuitableFpsRangeForDuration()
3694 if (fpsRange.getLower() == minBurstFps && fpsRange.getUpper() == minBurstFps) { in getSuitableFpsRangeForDuration()
3696 targetRange = fpsRange; in getSuitableFpsRangeForDuration()
3697 } else if (isExternalCamera && fpsRange.getUpper() == minBurstFps) { in getSuitableFpsRangeForDuration()
[all …]