Home
last modified time | relevance | path

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

/cts/tests/vibrator/src/android/os/cts/
DVibrationEffectXmlSerializationTest.java677 <waveform-entry amplitude="default" durationMs="10"/>
704 <waveform-entry durationMs="10" amplitude="-1"/>
714 <waveform-entry durationMs="-1" amplitude="default"/>
727 <waveform-entry durationMs="10" amplitude="default"/>
736 <waveform-entry durationMs="10" amplitude="default"/>
747 <waveform-entry durationMs="10" amplitude="default"/>
756 <waveform-entry durationMs="10" amplitude="default"/>
769 <waveform-entry durationMs="10" amplitude="default"/>
771 <waveform-entry durationMs="10" amplitude="default"/>
780 <waveform-entry durationMs="10" amplitude="default"/>
[all …]
DVibratorTest.java604 long durationMs = 1000; in testVibratorVibratesNoLongerThanDuration() local
605 mVibrator.vibrate(durationMs); in testVibratorVibratesNoLongerThanDuration()
608 long timeoutMs = durationMs + 500; in testVibratorVibratesNoLongerThanDuration()
612 + "finished after %s ms", durationMs, timeoutMs) in testVibratorVibratesNoLongerThanDuration()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioTestRunner.java43 public void sleep(int durationMs) { in sleep() argument
45 Thread.sleep(durationMs); in sleep()
DAudioFrequencyMicActivity.java431 public void record(int durationMs) { in record() argument
434 Thread.sleep(durationMs); in record()
DAudioFrequencyVoiceRecognitionActivity.java778 public void record(int durationMs) { in record() argument
781 Thread.sleep(durationMs); in record()
DAudioFrequencyUnprocessedActivity.java766 public void record(int durationMs) { in record() argument
769 Thread.sleep(durationMs); in record()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java185 private void sleep(int durationMs) throws InterruptedException { in sleep() argument
186 Log.v(TAG, "Sleeping for " + durationMs + " ms on thread " + Thread.currentThread()); in sleep()
187 Thread.sleep(durationMs); in sleep()
/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/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1202 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; in slowMotionRecording() local
1205 validateRecording(size, durationMs, frameDurationMs, FRMDRP_RATE_TOLERANCE); in slowMotionRecording()
1331 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; in constrainedHighSpeedRecording() local
1334 validateRecording(size, durationMs, frameDurationMs, FRMDRP_RATE_TOLERANCE); in constrainedHighSpeedRecording()
1665 float durationMs = 0.f; in completeBasicRecording() local
1667 durationMs = mQueuer.getQueuedCount() * frameDurationMs; in completeBasicRecording()
1669 durationMs = resultListener.getTotalNumFrames() * frameDurationMs; in completeBasicRecording()
1678 validateRecording(videoSz, durationMs, frameDurationMs, FRMDRP_RATE_TOLERANCE); in completeBasicRecording()
2048 float durationMs = (float) stopRecording(/* useMediaRecorder */true); in videoSnapshotTestByCamera() local
2053 durationMs = resultListener.getTotalNumFrames() * 1000.0f / in videoSnapshotTestByCamera()
[all …]
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPickerProviderMediaGenerator.java267 public final long durationMs; field in PickerProviderMediaGenerator.TestMedia
274 int standardMimeTypeExtension, long sizeBytes, long durationMs, long generation, in TestMedia() argument
283 this.durationMs = durationMs; in TestMedia()
301 String.valueOf(durationMs), in toArray()
/cts/tests/contextualsearch/src/android/contextualsearch/cts/
DContextualSearchManagerTest.kt256 private fun setTokenDuration(durationMs: Int = 0) { in setTokenDuration()
257 if (durationMs > 0) { in setTokenDuration()
258 runShellCommand("cmd contextual_search set token-duration $durationMs") in setTokenDuration()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListView_ScrollTest.java304 int durationMs) throws Throwable { in verifyScrollToPositionFromTop() argument
328 if (durationMs > 0) { in verifyScrollToPositionFromTop()
330 positionToScrollTo, offset, durationMs)); in verifyScrollToPositionFromTop()
338 int timeoutMs = durationMs > 0 ? 5000 + durationMs : 5000; in verifyScrollToPositionFromTop()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackOffloadTest.java406 AudioFormat audioFormat, int delay, int padding, int durationMs) throws Exception { in testGaplessAudioTrackOffload() argument
458 if (averageDuration < durationMs - PRESENTATION_END_PRECISION_MS * 0.1 in testGaplessAudioTrackOffload()
459 || averageDuration > durationMs + PRESENTATION_END_PRECISION_MS * 0.1) { in testGaplessAudioTrackOffload()
DVolumeShaperTest.java870 final long durationMs = 5000; in testPlayerJoin() local
872 for (long i = 0; i < durationMs; i += incrementMs) { in testPlayerJoin()
875 .setDuration(durationMs - i) in testPlayerJoin()
879 (float)i / durationMs, volumeShaper.getVolume(), 0.05 /* epsilon */); in testPlayerJoin()
1203 final long durationMs = 10000; in runTestTwoShapersPlayer() local
1209 .setDuration(durationMs) in runTestTwoShapersPlayer()
1246 Thread.sleep(durationMs / 2); in runTestTwoShapersPlayer()
1259 Thread.sleep(durationMs / 2 + 1000); in runTestTwoShapersPlayer()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java580 final int durationMs = (1000 * viewHeight) / (2 * flingVelocity); in emulateFlingGesture() local
584 x, startY, 0, amountY, durationMs, durationMs / 16, in emulateFlingGesture()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java372 RunResult(int numFrames, double durationMs) { in RunResult() argument
374 mDurationMs = durationMs; in RunResult()
378 RunResult(int numFrames, double durationMs, double rmsError) { in RunResult() argument
380 mDurationMs = durationMs; in RunResult()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java612 final int durationMs = 500;
627 (posMs < startMs + durationMs + toleranceMs) );
1185 final long durationMs = RECORDED_DURATION_MS; in testRecordedVideoPlaybackWithAngle() local
1220 recordVideo(width, height, angle, file, durationMs); in testRecordedVideoPlaybackWithAngle()
1232 int w, int h, int angle, String file, long durationMs) throws Exception {
1246 Thread.sleep(durationMs);
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java801 private void testSetMaxDuration(long durationMs, long toleranceMs) throws Exception { in testSetMaxDuration() argument
804 mMediaRecorder.setMaxDuration((int)durationMs); in testSetMaxDuration()
809 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { in testSetMaxDuration()
815 checkRecordedTime(durationMs, actualDurationMs, toleranceMs); in testSetMaxDuration()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTest.java3352 final long durationMs = mMediaCodecPlayer.getDuration();
3353 final long timeOutMs = System.currentTimeMillis() + durationMs + 5 * 1000; // add 5 sec
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt1980 field public static final String DURATION_MS = "android.media.audiorecord.durationMs";
Dcurrent.txt24100 field public static final String DURATION = "android.media.mediaplayer.durationMs";