Home
last modified time | relevance | path

Searched refs:frameDuration (Results 1 – 10 of 10) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DFeatureCombinationTest.java370 Long frameDuration = result.get( in verifyCombinationStreaming() local
374 (double) frameDuration, in verifyCombinationStreaming()
540 long frameDuration = -1; in setupConfigurationTargets() local
622 && minFrameDurations.get(targetSize) > frameDuration) { in setupConfigurationTargets()
623 frameDuration = minFrameDurations.get(targetSize); in setupConfigurationTargets()
627 return frameDuration; in setupConfigurationTargets()
DSurfaceViewPreviewTest.java708 long frameDuration = getValueNotNull(result, CaptureResult.SENSOR_FRAME_DURATION); in verifyPreviewTargetFpsRange() local
713frameDuration, (long) (frameDurationRange[0] * (1 - FRAME_DURATION_ERROR_MARGIN)), in verifyPreviewTargetFpsRange()
717 + "duration %d", expTime, frameDuration), expTime <= frameDuration); in verifyPreviewTargetFpsRange()
723 mCollector.expectTrue("Frame duration " + frameDuration + " must be no smaller than" in verifyPreviewTargetFpsRange()
724 … + " minFrameDuration " + minFrameDuration, frameDuration >= minFrameDuration); in verifyPreviewTargetFpsRange()
DBurstCaptureTest.java369 long frameDuration = timestamp - prevTimestamp; in burstTestByCamera() local
370 frameDurations.add(frameDuration); in burstTestByCamera()
373 frameDuration/1e6)); in burstTestByCamera()
DCameraDeviceSetupTest.java726 long frameDuration = -1; in setupConfigurations() local
765 && minFrameDurations.get(targetSize) > frameDuration) { in setupConfigurations()
766 frameDuration = minFrameDurations.get(targetSize); in setupConfigurations()
770 return frameDuration; in setupConfigurations()
DPerformanceTest.java1304 Long frameDuration = (long) (1e9 / fpsRange.getLower());
1306 frameDuration, usage);
2092 private void initializeImageReader(String cameraId, int format, Long frameDuration, long usage)
2101 if (frameDuration != null) {
2107 if (duration > frameDuration * (1 + kFrameDurationTolerance)) {
DCaptureRequestTest.java3655 long frameDuration = getValueNotNull(result, CaptureResult.SENSOR_FRAME_DURATION);
3657 Log.v(TAG, "frame duration: " + frameDuration + " Exposure time: " + expTime);
3661 + " time (%d) for a given capture", frameDuration, expTime),
3662 frameDuration >= expTime);
3822 long frameDuration = frameDurationRange[0];
3827 frameDuration = getValueNotNull(result, CaptureResult.SENSOR_FRAME_DURATION);
3832 frameDuration = captureTime - prevCaptureTime;
3836 frameDurationSum += frameDuration;
DRecordingTest.java2138 Long frameDuration = minFrameDurationMap.get(s); in getPreviewSizesForVideo() local
2141 frameDuration = new Long(0); in getPreviewSizesForVideo()
2144 frameDuration != null); in getPreviewSizesForVideo()
2145 if (frameDuration <= videoFrameDuration && in getPreviewSizesForVideo()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAudioCodecTest.java176 int frameDuration = mFrameDurationArray[frameDurationIdx]; in getFrameDuration() local
183 assertEquals(frameDuration, leAudioCodecConfig.getFrameDuration()); in getFrameDuration()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java875 protected Range<Integer> getSuitableFpsRangeForDuration(String cameraId, long frameDuration) { in getSuitableFpsRangeForDuration() argument
876 return CameraTestUtils.getSuitableFpsRangeForDuration(cameraId, frameDuration, mStaticInfo); in getSuitableFpsRangeForDuration()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java4279 long frameDuration, StaticMetadata staticInfo) { in getSuitableFpsRangeForDuration() argument
4281 int minBurstFps = (int) Math.floor(1e9 / frameDuration + 0.05f); in getSuitableFpsRangeForDuration()