Home
last modified time | relevance | path

Searched refs:Thread (Results 1 – 25 of 251) sorted by relevance

1234567891011

/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java37 Thread tr1 = new Thread(r1); in testN1()
38 Thread tr2 = new Thread(r2); in testN1()
57 Thread tr1 = new Thread(r1); in testN2()
58 Thread tr2 = new Thread(r2); in testN2()
/cts/tests/tests/media/src/android/media/cts/
DSoundPoolTest.java153 Thread.sleep(waitMsec); in testSoundPoolOp()
156 Thread.sleep(waitMsec); in testSoundPoolOp()
158 Thread.sleep(waitMsec); in testSoundPoolOp()
160 Thread.sleep(waitMsec); in testSoundPoolOp()
162 Thread.sleep(waitMsec); in testSoundPoolOp()
169 Thread.sleep(waitMsec); in testSoundPoolOp()
173 Thread.sleep(waitMsec); in testSoundPoolOp()
178 Thread.sleep(waitMsec * 10); in testSoundPoolOp()
189 Thread.sleep(waitMsec); in testMultiSound()
194 Thread.sleep(waitMsec * 4); in testMultiSound()
[all …]
DJetPlayerTest.java101 Thread.sleep(20000); in testQueueJetSegmentMuteArray()
130 Thread.sleep(10000); in runJet()
141 Thread.sleep(1000); in runJet()
143 Thread.sleep(1000); in runJet()
145 Thread.sleep(1000); in runJet()
147 Thread.sleep(1000); in runJet()
149 Thread.sleep(1000); in runJet()
151 Thread.sleep(30000); in runJet()
DResourceManagerStubActivity.java78 Thread thread = new Thread() { in testReclaimResource()
87 Thread.sleep(5000); // wait for process to launch and allocate all codecs. in testReclaimResource()
104 Thread.sleep(5000); // give the gc a chance to release test activities. in testReclaimResource()
DMediaPlayerTest.java120 Thread.sleep(500); in testVorbisCrash()
175 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
191 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
227 Thread.sleep(SLEEP_TIME);
245 Thread.sleep(SLEEP_TIME);
286 Thread.sleep(SLEEP_TIME);
367 Thread.sleep(SLEEP_TIME);
371 Thread.sleep(SLEEP_TIME);
377 Thread.sleep(SLEEP_TIME);
438 Thread timer = new Thread(new Runnable() {
[all …]
DVideoSurfaceView.java61 Thread.sleep(SLEEP_TIME_MS); in startTest()
64 Thread.sleep(SLEEP_TIME_MS * 5); in startTest()
68 Thread.sleep(SLEEP_TIME_MS); in startTest()
DVisualizerTest.java46 private Thread mListenerThread;
137 Thread.sleep(100); in test2_0PollingCapture()
175 Thread.sleep(100); in test2_1ListenerCapture()
233 Thread.sleep(100); in test3_0MeasurementModeNone()
265 Thread.sleep(100); in test4_0MeasurementModePeakRms()
318 Thread.sleep(100); in test4_1MeasurePeakRms()
327 Thread.sleep(50); in test4_1MeasurePeakRms()
390 Thread.sleep(100); in test4_2MeasurePeakRmsLongMP3()
399 Thread.sleep(50); in test4_2MeasurePeakRmsLongMP3()
490 mListenerThread = new Thread() { in createListenerLooper()
/cts/tests/tests/widget/src/android/widget/cts/
DScrollerTest.java118 Thread.sleep(1000); in testScrollMode()
135 Thread.sleep(1000); in testScrollMode()
152 Thread.sleep(3000); in testScrollMode()
187 Thread.sleep(defaultDuration);
220 Thread.sleep(duration / 3); in testFlingMode()
238 Thread.sleep(duration / 3); in testFlingMode()
262 Thread.sleep(duration); in testFlingMode()
314 Thread.sleep(1500);
330 Thread.sleep(1000);
346 Thread.sleep(1000);
[all …]
/cts/libs/vogar-expect/src/vogar/util/
DThreads.java34 public synchronized Thread newThread(Runnable r) { in daemonThreadFactory()
35 Thread thread = new Thread(r, name + "-" + (nextId++)); in daemonThreadFactory()
/cts/tests/tests/os/src/android/os/cts/
DVibratorTest.java65 new Thread(new Runnable() { in testVibrateMultiThread()
75 new Thread(new Runnable() { in testVibrateMultiThread()
93 Thread.sleep(10000); in sleep()
DSystemClockTest.java27 Thread.sleep(100); in testCurrentThreadTimeMillis()
36 Thread.sleep(100); in testElapsedRealtime()
73 Thread.sleep(100); in testUptimeMillis()
DAsyncTaskTest.java101 Thread.sleep(COMPUTE_TIME / 2); in testCancelWithInterrupt()
105 Thread.sleep(DURATION); in testCancelWithInterrupt()
114 Thread.sleep(COMPUTE_TIME / 2); in testCancel()
118 Thread.sleep(DURATION); in testCancel()
126 Thread.sleep(DURATION); in testCancelTooLate()
159 Thread.sleep(COMPUTE_TIME); in doInBackground()
DLooperTest.java51 Thread t = new Thread(new Runnable() { in testLoop()
173 Thread.sleep(WAIT_TIME); in testQuit()
178 Thread.sleep(WAIT_TIME); in testQuit()
181 Thread.sleep(WAIT_TIME); in testQuit()
/cts/tests/tests/app/src/android/app/cts/
DPendingIntentTest.java58 new Thread() { in setUp() method
68 Thread.sleep(50); in setUp()
110 Thread.sleep(WAIT_TIME); in testGetActivity()
148 Thread.sleep(WAIT_TIME); in testGetBroadcast()
172 Thread.sleep(WAIT_TIME); in testGetService()
219 Thread.sleep(WAIT_TIME); in testSend()
238 Thread.sleep(WAIT_TIME); in testSendWithParamInt()
249 Thread.sleep(WAIT_TIME); in testSendWithParamInt()
271 Thread.sleep(WAIT_TIME); in testSendWithParamContextIntIntent()
282 Thread.sleep(WAIT_TIME); in testSendWithParamContextIntIntent()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DTrivialRecorder.java37 Thread mReaderThread = null;
70 mReaderThread = new Thread(this); in start()
83 Thread.sleep(10); in shutDown()
DTrivialPlayer.java36 Thread mFillerThread = null;
77 mFillerThread = new Thread(this); in start()
90 Thread.sleep(10); in shutDown()
/cts/tests/tests/nativeopengl/standalone/src/com/android/gltest/
DGLTestActivity.java29 private class TestThread extends Thread {
37 Thread.sleep(1000); in run()
56 Thread t = new TestThread();
/cts/tests/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java65 Thread.sleep(100); in testOfFloat()
104 Thread.sleep(100); in testOfInt()
130 Thread.sleep(100); in testOfObject()
157 Thread.sleep(100); in testOfPropertyValuesHolder()
192 Thread.sleep(100); in testSetFloatValues()
244 Thread.sleep(100); in testIsStarted()
246 Thread.sleep(100); in testIsStarted()
250 Thread mAnimationRunnable = new Thread() { in startAnimation()
259 Thread mAnimationRunnable = new Thread() { in startAnimation()
DAnimatorTest.java98 Thread.sleep(100); in testCancel()
118 Thread.sleep(100); in testEnd()
134 Thread.sleep(200); in testSetListener()
194 Thread.sleep(1); in testNullObjectAnimator()
237 Thread animationRunnable = new Thread() { in endAnimation()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java58 Thread.sleep(TASK_SWITCH_SLOW_WAIT_TIME_MS); in testGlActivitySwitchingFast()
82 Thread.sleep(1000); in setUp()
91 Thread.sleep(5000); in setUp()
115 Thread.sleep(waitTimeMs); in runTaskSwitchTest()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java108 Thread.sleep(10000); in getCurrentPosition()
110 Thread.sleep(PAUSE_WAIT_TIME); in getCurrentPosition()
135 Thread.sleep(WAIT_TIME); in seekTo()
164 Thread.sleep(5000); in setLooping()
167 Thread.sleep(20000); in setLooping()
200 Thread.sleep(5000); in pause()
202 Thread.sleep(PAUSE_WAIT_TIME); in pause()
328 Thread.sleep(5000); in videoSeekTo()
332 Thread.sleep(PAUSE_WAIT_TIME); in videoSeekTo()
335 Thread.sleep(1000); in videoSeekTo()
[all …]
/cts/libs/deviceutil/src/android/cts/util/
DPollingCheck.java44 Thread.sleep(TIME_SLICE); in run()
66 Thread.sleep(TIME_SLICE); in check()
DNullWebViewUtils.java75 implements Thread.UncaughtExceptionHandler {
79 public void uncaughtException(Thread t, Throwable e) { in uncaughtException()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPollingCheck.java45 Thread.sleep(TIME_SLICE); in run()
67 Thread.sleep(TIME_SLICE); in check()
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/
DReferenceAppTestCase.java24 import java.lang.Thread;
83 Thread.sleep(SNAPSHOT_TIMEOUT_MS); in takeSnapshot()

1234567891011