/cts/tests/vibrator/src/android/os/cts/ |
D | VibrationEffectXmlSerializationTest.java | 677 <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 …]
|
D | VibratorTest.java | 604 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/ |
D | AudioTestRunner.java | 43 public void sleep(int durationMs) { in sleep() argument 45 Thread.sleep(durationMs); in sleep()
|
D | AudioFrequencyMicActivity.java | 431 public void record(int durationMs) { in record() argument 434 Thread.sleep(durationMs); in record()
|
D | AudioFrequencyVoiceRecognitionActivity.java | 778 public void record(int durationMs) { in record() argument 781 Thread.sleep(durationMs); in record()
|
D | AudioFrequencyUnprocessedActivity.java | 766 public void record(int durationMs) { in record() argument 769 Thread.sleep(durationMs); in record()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AdminActionBookkeepingTest.java | 185 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/ |
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/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 1202 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/ |
D | PickerProviderMediaGenerator.java | 267 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/ |
D | ContextualSearchManagerTest.kt | 256 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/ |
D | AbsListView_ScrollTest.java | 304 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/ |
D | AudioTrackOffloadTest.java | 406 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()
|
D | VolumeShaperTest.java | 870 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/ |
D | CtsTouchUtils.java | 580 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/ |
D | VideoEncoderDecoderTest.java | 372 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/ |
D | MediaPlayerTest.java | 612 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/ |
D | MediaRecorderTest.java | 801 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/ |
D | DecoderTest.java | 3352 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/ |
D | test-current.txt | 1980 field public static final String DURATION_MS = "android.media.audiorecord.durationMs";
|
D | current.txt | 24100 field public static final String DURATION = "android.media.mediaplayer.durationMs";
|