/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 662 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/ |
D | SensorOperationTest.java | 81 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/ |
D | DrawFramesActivity.java | 120 private void spinSleep(int durationMs) { in spinSleep() argument 121 long until = System.currentTimeMillis() + durationMs; in spinSleep()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsListView_ScrollTest.java | 293 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/ |
D | VolumeShaperTest.java | 748 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()
|
D | MediaPlayerTest.java | 456 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);
|
D | MediaRecorderTest.java | 719 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()
|
D | MediaPlayer2Test.java | 835 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/ |
D | CtsTouchUtils.java | 394 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/ |
D | AudioFrequencyMicActivity.java | 455 public void record(int durationMs) { in record() argument 458 Thread.sleep(durationMs); in record()
|
D | AudioFrequencyUnprocessedActivity.java | 777 public void record(int durationMs) { in record() argument 780 Thread.sleep(durationMs); in record()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 978 protected void setPendingIntentWhitelistDuration(int durationMs) throws Exception { in setPendingIntentWhitelistDuration() argument 981 "notification_whitelist_duration", durationMs)); in setPendingIntentWhitelistDuration()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 645 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()
|