Home
last modified time | relevance | path

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

/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/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.java341 int delayMs = 200; in pollForSubscribe() local
345 sleep(delayMs); in pollForSubscribe()
360 int delayMs = 200; in pollForConnection() local
367 sleep(delayMs); in pollForConnection()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java452 private void assertPendingIntentBroadcastTimeoutTest(int delayMs, boolean expectedResult) { in assertPendingIntentBroadcastTimeoutTest() argument
464 sendPendingIntentBroadcast(delayMs); in assertPendingIntentBroadcastTimeoutTest()
465 result = waitForActivityFocused(ACTIVITY_FOCUS_TIMEOUT_MS + delayMs, in assertPendingIntentBroadcastTimeoutTest()
506 private void sendPendingIntentBroadcast(int delayMs) { in sendPendingIntentBroadcast() argument
510 if (delayMs > 0) { in sendPendingIntentBroadcast()
511 intent.putExtra(START_ACTIVITY_DELAY_MS_EXTRA, delayMs); in sendPendingIntentBroadcast()
/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/tests/media/src/android/media/cts/
DAudioHelper.java413 boolean isChannelIndex, int auditStreamType, int delayMs) { in AudioRecordAudit() argument
428 if (delayMs >= 0) { // create an AudioTrack in AudioRecordAudit()
431 final int bufferOutFrames = sampleRate * delayMs / 1000; in AudioRecordAudit()
DDecodeAccuracyTestBase.java267 final long delayMs = in decodeFramesAndPlay() local
269 if (lastFrameAt != 0 && delayMs > 0) { in decodeFramesAndPlay()
271 if (delayMs > threadDelayMs) { in decodeFramesAndPlay()
273 Thread.sleep(delayMs - threadDelayMs); in decodeFramesAndPlay()
/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/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java304 public String getDelayedAssetUrl(String path, int delayMs) { in getDelayedAssetUrl() argument
308 sb.append(delayMs); in getDelayedAssetUrl()