Home
last modified time | relevance | path

Searched refs:delayMs (Results 1 – 7 of 7) 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/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java395 private void assertPendingIntentBroadcastTimeoutTest(int delayMs, boolean expectedResult) { in assertPendingIntentBroadcastTimeoutTest() argument
407 sendPendingIntentBroadcast(delayMs); in assertPendingIntentBroadcastTimeoutTest()
408 result = waitForActivityFocused(ACTIVITY_FOCUS_TIMEOUT_MS + delayMs, in assertPendingIntentBroadcastTimeoutTest()
449 private void sendPendingIntentBroadcast(int delayMs) { in sendPendingIntentBroadcast() argument
453 if (delayMs > 0) { in sendPendingIntentBroadcast()
454 intent.putExtra(START_ACTIVITY_DELAY_MS_EXTRA, delayMs); in sendPendingIntentBroadcast()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java314 int delayMs = 200; in pollForSubscribe() local
318 sleep(delayMs); in pollForSubscribe()
333 int delayMs = 200; in pollForConnection() local
340 sleep(delayMs); in pollForConnection()
/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()