Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java662 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; in slowMotionRecording() local
665 validateRecording(size, durationMs, frameDurationMs, FRMDRP_RATE_TOLERANCE); in slowMotionRecording()
741 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; in constrainedHighSpeedRecording() local
744 validateRecording(size, durationMs, frameDurationMs, FRMDRP_RATE_TOLERANCE); in constrainedHighSpeedRecording()
969 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; in basicRecordingTestByCamera() local
977 validateRecording(videoSz, durationMs, frameDurationMs, FRMDRP_RATE_TOLERANCE); in basicRecordingTestByCamera()
1321 float durationMs = (float) stopRecording(/* useMediaRecorder */true); in videoSnapshotTestByCamera() local
1326 durationMs = resultListener.getTotalNumFrames() * 1000.0f / in videoSnapshotTestByCamera()
1332 validateRecording(videoSz, durationMs, in videoSnapshotTestByCamera()
1776 double durationMs = (currentTS - prevTS) / 1000000.0;
[all …]
/cts/tests/sensor/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/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/
DDrawFramesActivity.java120 private void spinSleep(int durationMs) { in spinSleep() argument
121 long until = System.currentTimeMillis() + durationMs; in spinSleep()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListView_ScrollTest.java293 int durationMs) throws Throwable { in verifyScrollToPositionFromTop() argument
317 if (durationMs > 0) { in verifyScrollToPositionFromTop()
319 positionToScrollTo, offset, durationMs)); in verifyScrollToPositionFromTop()
327 int timeoutMs = durationMs > 0 ? 5000 + durationMs : 5000; in verifyScrollToPositionFromTop()
/cts/tests/tests/media/src/android/media/cts/
DVolumeShaperTest.java748 final long durationMs = 10000; in testPlayerJoin() local
750 for (long i = 0; i < durationMs; i += incrementMs) { in testPlayerJoin()
753 .setDuration(durationMs - i) in testPlayerJoin()
757 (float)i / durationMs, volumeShaper.getVolume(), 0.05 /* epsilon */); in testPlayerJoin()
1024 final long durationMs = 10000; in testPlayerTwoShapers() local
1030 .setDuration(durationMs) in testPlayerTwoShapers()
1070 Thread.sleep(durationMs / 2); in testPlayerTwoShapers()
1083 Thread.sleep(durationMs / 2 + 1000); in testPlayerTwoShapers()
DMediaPlayerTest.java456 final int durationMs = 500;
471 (posMs < startMs + durationMs + toleranceMs) );
1019 final long durationMs = RECORDED_DURATION_MS; in testRecordedVideoPlaybackWithAngle() local
1048 recordVideo(width, height, angle, file, durationMs); in testRecordedVideoPlaybackWithAngle()
1060 int w, int h, int angle, String file, long durationMs) throws Exception {
1074 Thread.sleep(durationMs);
DMediaRecorderTest.java719 private void testSetMaxDuration(long durationMs, long toleranceMs) throws Exception { in testSetMaxDuration() argument
722 mMediaRecorder.setMaxDuration((int)durationMs); in testSetMaxDuration()
727 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { in testSetMaxDuration()
733 checkRecordedTime(durationMs, actualDurationMs, toleranceMs); in testSetMaxDuration()
DMediaPlayer2Test.java835 final long durationMs = RECORDED_DURATION_MS;
864 recordVideo(width, height, angle, file, durationMs);
876 int w, int h, int angle, String file, long durationMs) throws Exception {
890 Thread.sleep(durationMs);
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java394 final int durationMs = (1000 * viewHeight) / (2 * flingVelocity); in emulateFlingGesture() local
397 emulateDragGesture(instrumentation, x, startY, 0, amountY, durationMs, durationMs / 16, in emulateFlingGesture()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyMicActivity.java455 public void record(int durationMs) { in record() argument
458 Thread.sleep(durationMs); in record()
DAudioFrequencyUnprocessedActivity.java777 public void record(int durationMs) { in record() argument
780 Thread.sleep(durationMs); in record()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java978 protected void setPendingIntentWhitelistDuration(int durationMs) throws Exception { in setPendingIntentWhitelistDuration() argument
981 "notification_whitelist_duration", durationMs)); in setPendingIntentWhitelistDuration()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java645 RunResult(int numFrames, double durationMs) { in RunResult() argument
647 mDurationMs = durationMs; in RunResult()
651 RunResult(int numFrames, double durationMs, double rmsError) { in RunResult() argument
653 mDurationMs = durationMs; in RunResult()