Home
last modified time | relevance | path

Searched refs:delayMs (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DZenModeBroadcastReceiver.java54 final int delayMs = 100; in waitFor() local
56 ms -= delayMs; in waitFor()
58 sleep(delayMs); in waitFor()
DConditionProviderServiceTest.java321 int delayMs = 200; in pollForSubscribe() local
325 sleep(delayMs); in pollForSubscribe()
340 int delayMs = 200; in pollForConnection() local
347 sleep(delayMs); in pollForConnection()
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java54 int frames, int delayMs, Semaphore semaphore) { in GLProducerThread() argument
57 mDelayMs = delayMs; in GLProducerThread()
63 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, in GLProducerThread() argument
65 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); in GLProducerThread()
69 int delayMs, Semaphore semaphore) { in GLProducerThread() argument
70 this(surfaceTexture, renderer, shouldRender, 0, delayMs, semaphore); in GLProducerThread()
/cts/libs/input/src/com/android/cts/input/
DUinputDevice.java135 public void injectDelay(int delayMs) { in injectDelay() argument
140 json.put("duration", delayMs); in injectDelay()
142 throw new RuntimeException("Could not inject delay of " + delayMs + "ms"); in injectDelay()
DUinputTouchDevice.kt116 fun delay(delayMs: Int) { in delay()
117 uinputDevice.injectDelay(delayMs) in delay()
/cts/tests/surfacecontrol/src/android/view/cts/util/
DEmbeddedSCVHService.java118 public void setDelay(long delayMs) { in setDelay() argument
119 mDelayMs = delayMs; in setDelay()
126 int height, int displayId, long delayMs) { in attachEmbedded() argument
136 mSlowView.setDelay(delayMs); in attachEmbedded()
DSurfaceControlViewHostHelper.java67 long delayMs, Size initialSize) { in SurfaceControlViewHostHelper() argument
71 mDelayMs = delayMs; in SurfaceControlViewHostHelper()
DSyncValidatorSCVHTestCase.java70 public SyncValidatorSCVHTestCase(long delayMs, boolean inProcess) { in SyncValidatorSCVHTestCase() argument
71 mDelayMs = delayMs; in SyncValidatorSCVHTestCase()
/cts/tests/surfacecontrol/src/android/view/cts/util/aidl/
DIAttachEmbeddedWindow.aidl27 …rfacePackage attachEmbedded(IBinder hostToken, int width, int height, int displayId, long delayMs); in attachEmbedded() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java137 int delayMs = (int)(1000.0f * valuesOfInterest / in run() local
140 delayMs = Math.max(2, delayMs); in run()
143 Thread.sleep(delayMs); in run()
/cts/tests/vibrator/src/android/os/cts/
DVibrationEffectXmlSerializationTest.java1015 <primitive-effect name="low_tick" delayMs="900"/>
1016 <primitive-effect name="spin" scale="0.404" delayMs="9"/>
1121 <primitive-effect name="low_tick" delayMs="356"/>
1122 <primitive-effect name="spin" scale="0.6364" delayMs="7"/>
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java540 boolean isChannelIndex, int auditStreamType, int delayMs) { in AudioRecordAudit() argument
555 if (delayMs >= 0) { // create an AudioTrack in AudioRecordAudit()
558 final int bufferOutFrames = sampleRate * delayMs / 1000; in AudioRecordAudit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DOffBodySensorTestActivity.java310 private void startTimeoutTimer(long delayMs) { in startTimeoutTimer() argument
312 SystemClock.elapsedRealtime() + delayMs, in startTimeoutTimer()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java272 final long delayMs = in decodeFramesAndPlay() local
274 if (lastFrameAt != 0 && delayMs > 0) { in decodeFramesAndPlay()
276 if (delayMs > threadDelayMs) { in decodeFramesAndPlay()
278 Thread.sleep(delayMs - threadDelayMs); in decodeFramesAndPlay()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java380 public String getDelayedAssetUrl(String path, int delayMs) { in getDelayedAssetUrl() argument
384 sb.append(delayMs); in getDelayedAssetUrl()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java1694 private void releaseBufferCallbackHelper(long delayMs) throws InterruptedException { in releaseBufferCallbackHelper() argument
1722 Thread.sleep(delayMs); in releaseBufferCallbackHelper()