/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 29 Thread.sleep(1); in testNanoTime1() 31 Thread.sleep(SHORT_DELAY_MS); in testNanoTime1() 33 Thread.sleep(1); in testNanoTime1() 49 Thread.sleep(1); in testNanoTime2() 51 Thread.sleep(SHORT_DELAY_MS); in testNanoTime2() 53 Thread.sleep(1); in testNanoTime2()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 65 Thread.sleep(millis); in testThreadSleep() 76 Thread.sleep(0); in testThreadInterrupted() 86 Thread.sleep(-1); in testThreadSleepIllegalArguments() 92 Thread.sleep(0, -1); in testThreadSleepIllegalArguments() 98 Thread.sleep(0, 1000000); in testThreadSleepIllegalArguments() 115 Thread.sleep(1000); in testThreadWakeup() 139 Thread.sleep(100); in testGetStackTrace() 146 Thread.sleep(1000); in testGetStackTrace() 188 Thread.sleep(60000); in run()
|
D | OldThreadTest.java | 118 Thread.sleep(100); in test_joinWithSpuriousInterruption() 160 Thread.sleep(5000); in launchFiveSecondDummyThread() 182 Thread.sleep(1000); in test_sleepJ() 196 sleep(10000); in test_sleepJ() 206 Thread.sleep(5000); in test_sleepJ() 214 Thread.sleep(5000); in test_sleepJ() 229 Thread.sleep(1000, 99999); in test_sleepJI() 243 sleep(10000, 99999); in test_sleepJI() 253 Thread.sleep(5000, 99999); in test_sleepJI() 261 Thread.sleep(5000); in test_sleepJI() [all …]
|
D | OldAndroidMonitorTest.java | 128 Thread.currentThread().sleep(500); in run_inner() 355 Thread.currentThread().sleep(1000); in testNestedMonitors() 401 this.sleep(10000); in run() 438 this.sleep(5 + i2); in run() 441 this.sleep(5 + i1); in run()
|
D | OldThreadGroupTest.java | 42 Thread.sleep(50); in run() 142 Thread.sleep(500); // starting threads isn't instant! in test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ() 156 Thread.sleep(500); // killing threads isn't instant in test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ() 253 Thread.sleep(5000); in test_interrupt() 289 Thread.sleep(1000); in test_resume() 305 Thread.sleep(5000); in launchFiveSecondDummyThread() 338 Thread.sleep(50); in tearDown()
|
D | OldSystemTest.java | 161 Thread.sleep(150); in test_currentTimeMillis() 355 Thread.sleep(sleepTime); in test_nanoTime()
|
D | OldRuntimeTest.java | 81 Thread.currentThread().sleep(1000); in test_addShutdownHook() 312 Thread.sleep(3000); in checkExec() 427 Thread.currentThread().sleep(1000); in test_removeShutdownHookLjava_lang_Thread()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimerTaskTest.java | 49 Thread.sleep(200); in run() 99 Thread.sleep(150); in test_cancel() 128 Thread.sleep(100); in test_cancel() 157 Thread.sleep(50); in test_cancel() 224 Thread.sleep(200); in test_run() 236 Thread.sleep(400); in test_run()
|
D | TimerTest.java | 71 Thread.sleep(200); in run() 100 Thread.sleep(150); in awaitRun() 260 Thread.sleep(200); in test_cancel() 400 Thread.sleep(400); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 488 Thread.sleep(400); in test_scheduleLjava_util_TimerTaskJ() 581 Thread.sleep(400); in test_scheduleLjava_util_TimerTaskJJ() 600 Thread.sleep(1200); // Allowed more room for error in test_scheduleLjava_util_TimerTaskJJ() 700 Thread.sleep(800); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() 723 Thread.sleep(3000); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() 776 Thread.sleep(400); in test_scheduleAtFixedRateLjava_util_TimerTaskJJ() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PipedReaderTest.java | 48 Thread.sleep(10000); in run() 128 Thread.sleep(500); // Allow writer to start in test_close() 145 Thread.sleep(500); // Allow writer to start in test_connectLjava_io_PipedWriter() 166 Thread.sleep(500); // Allow writer to start in test_read() 182 Thread.sleep(500); // Allow writer to start in test_read$CII() 380 Thread.sleep(500); // Allow writer to start in test_ready()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
D | ReferenceQueueTest.java | 140 Thread.sleep(100); in test_remove() 146 Thread.sleep(100); in test_remove() 212 Thread.sleep(10); in test_removeJ() 218 Thread.sleep(10); in test_removeJ()
|
D | WeakReferenceTest.java | 65 Thread.sleep(1000); in test_ConstructorLjava_lang_Object()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | UnixSelectorTest.java | 48 Thread.sleep(1000); in accept() 75 Thread.sleep(1000); in testSelectorAcceptAndRead() 87 Thread.sleep(3000); in testSelectorAcceptAndRead()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 75 Thread.sleep(100); in run() 82 Thread.sleep(500); in run() 89 Thread.sleep(50); in run() 501 Thread.sleep(20000); in test_interrupt() 663 Thread.sleep(100); in test_joinJ() 716 Thread.sleep(100); in test_joinJI() 757 Thread.sleep(100); in test_run() 820 Thread.sleep(1000); in test_sleepJ() 838 Thread.sleep(1000, 999999); in test_sleepJI() 863 Thread.sleep(150); in test_start()
|
D | ProcessManagerTest.java | 80 sleep(10); in testSleep() 96 Thread.sleep(100); in testSleep() 104 Thread.sleep(100); in testSleep()
|
/libcore/support/src/test/java/libcore/java/lang/ref/ |
D | FinalizationTester.java | 42 Thread.sleep(100); in enqueueReferences()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | ZygoteHooks.java | 75 Thread.sleep(10); in waitUntilAllThreadsStopped()
|
/libcore/libart/src/main/java/java/lang/ |
D | Thread.java | 984 public static void sleep(long time) throws InterruptedException { in sleep() method in Thread 985 Thread.sleep(time, 0); in sleep() 1002 public static void sleep(long millis, int nanos) throws InterruptedException { in sleep() method in Thread 1031 sleep(lock, millis, nanos); in sleep() 1048 private static native void sleep(Object lock, long millis, int nanos); in sleep() method in Thread
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTest.java | 285 Thread.sleep(1000); in test_getOutputStream() 296 Thread.sleep(1000); in test_getOutputStream() 608 Thread.sleep(1000); in test_shutdownInput() 920 Thread.sleep(timeout); in test_connectLjava_net_SocketAddress() 1062 Thread.sleep(1000); in test_connectLjava_net_SocketAddress() 1080 Thread.sleep(1000); in test_connectLjava_net_SocketAddress() 1126 Thread.sleep(timeout); in test_connectLjava_net_SocketAddressI() 1342 Thread.sleep(1000); in test_connectLjava_net_SocketAddressI() 1363 Thread.sleep(1000); in test_connectLjava_net_SocketAddressI() 1383 Thread.sleep(10); in test_connectLjava_net_SocketAddressI() [all …]
|
D | OldAndroidDatagramTest.java | 64 Thread.sleep(100); in run() 144 Thread.sleep(100); in testDatagram()
|
D | OldServerSocketTest.java | 108 Thread.sleep(1000); in run() 112 Thread.sleep(10000); in run() 329 Thread.sleep(1000); in startClient()
|
/libcore/dalvik/src/test/java/dalvik/system/ |
D | CloseGuardMonitor.java | 89 Thread.sleep(1); in run()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 282 Thread.currentThread().sleep(1000); in setUp() 291 Thread.currentThread().sleep(500); in setUp() 538 Thread.currentThread().sleep(500); in run() 608 Thread.currentThread().sleep(500); in run()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLogRecordTest.java | 33 Thread.sleep(2); in testGetSetTimeCheck()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldServerSocketChannelTest.java | 100 Thread.currentThread().sleep(TIME_UNIT); in test_accept_Block_NoConnect_interrupt()
|