/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | FeatureCombinationTest.java | 178 for (Range<Integer> fpsRange : fpsRanges) { in testIsSessionConfigurationSupported() 179 if ((fpsRange.getUpper() != 60) && (fpsRange.getUpper() != 30)) { in testIsSessionConfigurationSupported() 183 if (minFrameDuration > 1e9 * 1.01 / fpsRange.getUpper()) { in testIsSessionConfigurationSupported() 192 + ", fpsRange " + fpsRange.toString(); in testIsSessionConfigurationSupported() 200 builder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testIsSessionConfigurationSupported() 223 stabilizationMode, fpsRange, combinationStr, in testIsSessionConfigurationSupported() 273 int stabilizationMode, @Nullable Range<Integer> fpsRange, in verifyCombinationStreaming() argument 316 if (fpsRange != null) { in verifyCombinationStreaming() 318 fpsRange); in verifyCombinationStreaming() 364 if (fpsRange != null && fpsRange.getUpper().equals(fpsRange.getLower())) { in verifyCombinationStreaming() [all …]
|
D | RecordingTest.java | 740 Range<Integer> fpsRange = getHighestHighSpeedFixedFpsRangeForSize(config, size); in testAbandonedHighSpeedRequest() local 742 "size " + size, fpsRange); in testAbandonedHighSpeedRequest() 743 if (fpsRange == null) { in testAbandonedHighSpeedRequest() 747 int captureRate = fpsRange.getLower(); in testAbandonedHighSpeedRequest() 750 if (fpsRange.getUpper() > getFpsFromHighSpeedProfileForSize(size)) { in testAbandonedHighSpeedRequest() 773 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest() 805 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest() 986 Range<Integer> fpsRange = new Range( in doRecordingWithDifferentPreviewSizes() local 1005 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + in doRecordingWithDifferentPreviewSizes() 1007 fpsRanges.contains(fpsRange)); in doRecordingWithDifferentPreviewSizes() [all …]
|
D | CameraDeviceSetupTest.java | 517 for (Range<Integer> fpsRange : fpsRanges) { in testFeatureCombinationQueryConsistencyByCamera() 518 if ((fpsRange.getUpper() != 60) && (fpsRange.getUpper() != 30)) { in testFeatureCombinationQueryConsistencyByCamera() 522 if (minFrameDuration > 1e9 * 1.01 / fpsRange.getUpper()) { in testFeatureCombinationQueryConsistencyByCamera() 530 + ", fpsRange " + fpsRange.toString(); in testFeatureCombinationQueryConsistencyByCamera() 594 new CameraFeatureWrapper(c, fpsRange, dynamicProfile), in testFeatureCombinationQueryConsistencyByCamera() 649 Range<Integer> fpsRange, long dynamicProfile) { in CameraFeatureWrapper() argument 650 mFpsRange = fpsRange; in CameraFeatureWrapper()
|
D | SurfaceViewPreviewTest.java | 660 Range<Integer> fpsRange; in previewFpsRangeTestByCamera() local 666 fpsRange = fpsRanges[i]; in previewFpsRangeTestByCamera() 672 maxPreviewSz = getMaxPreviewSizeForFpsRange(fpsRange); in previewFpsRangeTestByCamera() 675 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera() 695 verifyPreviewTargetFpsRange(resultListener, NUM_FRAMES_VERIFIED, fpsRange, in previewFpsRangeTestByCamera() 703 int numFramesVerified, Range<Integer> fpsRange, Size previewSz) { in verifyPreviewTargetFpsRange() argument 710 … new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in verifyPreviewTargetFpsRange()
|
D | PerformanceTest.java | 1227 for (Range<Integer> fpsRange : aeFpsRanges) { 1228 if (Objects.equals(fpsRange.getLower(), fpsRange.getUpper())) { 1231 /*reduceJitter*/false, fpsRange); 1235 /*reduceJitter*/true, fpsRange); 1268 for (Range<Integer> fpsRange : aeFpsRanges) { 1269 if (Objects.equals(fpsRange.getLower(), fpsRange.getUpper())) { 1272 /*reduceJitter*/false, fpsRange); 1275 /*reduceJitter*/true, fpsRange); 1284 boolean reduceJitter, Range<Integer> fpsRange) throws Exception { 1301 float numRefreshesPerDuration = refreshRate / fpsRange.getLower(); [all …]
|
D | CaptureRequestTest.java | 3776 Range<Integer> fpsRange; 3780 fpsRange = fpsRanges.get(i); 3781 Size previewSz = getMaxPreviewSizeForFpsRange(fpsRange); 3788 fpsRange)); 3795 fpsRange, previewSz.toString())); 3797 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); 3818 (long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())};
|
D | CameraDeviceTest.java | 1938 Range<Integer> fpsRange; in checkFpsRange() local 1939 if ((fpsRange = mCollector.expectKeyValueNotNull(request, fpsRangeKey)) == null) { in checkFpsRange() 1943 int minFps = fpsRange.getLower(); in checkFpsRange() 1944 int maxFps = fpsRange.getUpper(); in checkFpsRange()
|
D | ExtendedCameraCharacteristicsTest.java | 757 for (Range<Integer> fpsRange : highSpeedFpsRanges) { in verifyRecommendedVideoConfiguration() 760 fpsRange.getLower().intValue(), fpsRange.getUpper().intValue(), in verifyRecommendedVideoConfiguration() 761 cameraId), availableHighSpeedFpsRanges, fpsRange); in verifyRecommendedVideoConfiguration() 3611 for (Range<Integer> fpsRange : availableFpsRanges) { 3612 if (fpsRange.getUpper() == 240) {
|
D | StillCaptureTest.java | 1675 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE); in getMaxExposureValue() local 1676 long maxFrameDurationUs = Math.round(1000000.0 / fpsRange.getLower()); in getMaxExposureValue()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 812 protected Size getMaxPreviewSizeForFpsRange(Range<Integer> fpsRange) { in getMaxPreviewSizeForFpsRange() argument 813 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) { in getMaxPreviewSizeForFpsRange() 822 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in getMaxPreviewSizeForFpsRange()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 3058 for (Range<Integer> fpsRange : fpsRanges) { in getTargetFpsRangesUpTo30() 3059 if (fpsRange.getUpper() <= 30) { in getTargetFpsRangesUpTo30() 3060 fpsRangesUpTo30.add(fpsRange); in getTargetFpsRangesUpTo30() 3075 for (Range<Integer> fpsRange : fpsRanges) { in getTargetFpsRangesGreaterThan30() 3076 if (fpsRange.getUpper() > 30) { in getTargetFpsRangesGreaterThan30() 3077 fpsRangesGreaterThan30.add(fpsRange); in getTargetFpsRangesGreaterThan30() 4292 for (Range<Integer> fpsRange : fpsRanges) { in getSuitableFpsRangeForDuration() 4293 if (fpsRange.getLower() == minBurstFps && fpsRange.getUpper() == minBurstFps) { in getSuitableFpsRangeForDuration() 4295 targetRange = fpsRange; in getSuitableFpsRangeForDuration() 4296 } else if (isExternalCamera && fpsRange.getUpper() == minBurstFps) { in getSuitableFpsRangeForDuration() [all …]
|