Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DRecordingTest.java391 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in slowMotionRecording() local
395 validateRecording(size, durationMs); in slowMotionRecording()
457 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in constrainedHighSpeedRecording() local
461 validateRecording(size, durationMs); in constrainedHighSpeedRecording()
646 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in basicRecordingTestByCamera() local
655 validateRecording(videoSz, durationMs); in basicRecordingTestByCamera()
696 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in recordingSizeTestByCamera() local
700 validateRecording(sz, durationMs); in recordingSizeTestByCamera()
932 int durationMs = stopRecording(/* useMediaRecorder */true); in videoSnapshotTestByCamera() local
937 durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in videoSnapshotTestByCamera()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DSensorOperationTest.java81 long durationMs = System.currentTimeMillis() - startMs;
82 long durationDeltaMs = Math.abs(opDurationMs + subOpDurationMs - durationMs);
105 long durationMs = System.currentTimeMillis() - start;
106 long durationDeltaMs = Math.abs(subOpDurationMs - durationMs);
110 durationMs,
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java428 private void testSetMaxDuration(long durationMs, long toleranceMs) throws Exception { in testSetMaxDuration() argument
431 mMediaRecorder.setMaxDuration((int)durationMs); in testSetMaxDuration()
436 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { in testSetMaxDuration()
442 checkRecordedTime(durationMs, actualDurationMs, toleranceMs); in testSetMaxDuration()
DMediaPlayerTest.java778 final long durationMs = RECORDED_DURATION_MS;
784 recordVideo(width, height, angle, file, durationMs);
796 int w, int h, int angle, String file, long durationMs) throws Exception {
810 Thread.sleep(durationMs);
1246 final int durationMs = 500;
1260 (posMs < startMs + durationMs + toleranceMs) );