/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 39 Thread.sleep(1); in testNanoTime1() 41 Thread.sleep(SHORT_DELAY_MS); in testNanoTime1() 43 Thread.sleep(1); in testNanoTime1() 59 Thread.sleep(1); in testNanoTime2() 61 Thread.sleep(SHORT_DELAY_MS); in testNanoTime2() 63 Thread.sleep(1); in testNanoTime2()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 119 Thread.sleep(100); in test_joinWithSpuriousInterruption() 161 Thread.sleep(5000); in launchFiveSecondDummyThread() 183 Thread.sleep(1000); in test_sleepJ() 197 sleep(1000); in test_sleepJ() 207 Thread.sleep(500); in test_sleepJ() 215 Thread.sleep(500); in test_sleepJ() 230 Thread.sleep(1000, 99999); in test_sleepJI() 244 sleep(1000, 9999); in test_sleepJI() 254 Thread.sleep(500, 9999); in test_sleepJI() 262 Thread.sleep(500); in test_sleepJI() [all …]
|
D | ThreadTest.java | 77 Thread.sleep(millis); in testThreadSleep() 88 Thread.sleep(0); in testThreadInterrupted() 98 Thread.sleep(-1); in testThreadSleepIllegalArguments() 104 Thread.sleep(0, -1); in testThreadSleepIllegalArguments() 110 Thread.sleep(0, 1000000); in testThreadSleepIllegalArguments() 127 Thread.sleep(1000); in testThreadWakeup() 190 Thread.sleep(4000); in testGetStackTrace() 196 Thread.sleep(1000); in testGetStackTrace() 240 sleep(5000); in testParkUntilWithUnderflowValue() 335 Thread.sleep(60000); in run()
|
D | OldThreadGroupTest.java | 42 Thread.sleep(50); in run() 132 Thread.sleep(500); // starting threads isn't instant! in test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ() 146 Thread.sleep(500); // killing threads isn't instant in test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ() 248 Thread.sleep(5000); in test_interrupt() 284 Thread.sleep(1000); in test_resume() 300 Thread.sleep(5000); in launchFiveSecondDummyThread()
|
D | OldSystemTest.java | 163 Thread.sleep(150); in test_currentTimeMillis() 364 Thread.sleep(sleepTime); in test_nanoTime()
|
/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() 231 Thread.sleep(200); in test_run() 243 Thread.sleep(400); in test_run()
|
D | TimerTest.java | 75 Thread.sleep(200); in run() 104 Thread.sleep(150); in awaitRun() 264 Thread.sleep(200); in test_cancel() 404 Thread.sleep(400); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 492 Thread.sleep(400); in test_scheduleLjava_util_TimerTaskJ() 585 Thread.sleep(400); in test_scheduleLjava_util_TimerTaskJJ() 604 Thread.sleep(1200); // Allowed more room for error in test_scheduleLjava_util_TimerTaskJJ() 704 Thread.sleep(800); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() 727 Thread.sleep(3000); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() 780 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/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/ref/ |
D | ReferenceQueueTest.java | 45 Thread.sleep(100); in run() 137 Thread.sleep(100); in test_remove() 143 Thread.sleep(100); in test_remove() 215 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/lang/ |
D | ThreadTest.java | 75 Thread.sleep(100); in run() 82 Thread.sleep(500); in run() 89 Thread.sleep(50); in run() 502 Thread.sleep(20000); in test_interrupt() 669 Thread.sleep(100); in test_joinJ() 722 Thread.sleep(100); in test_joinJI() 763 Thread.sleep(100); in test_run() 826 Thread.sleep(1000); in test_sleepJ() 844 Thread.sleep(1000, 999999); in test_sleepJI() 869 Thread.sleep(150); in test_start()
|
D | ProcessManagerTest.java | 80 sleep(10); in testSleep() 96 Thread.sleep(100); in testSleep() 103 Thread.sleep(100); in testSleep()
|
/libcore/support/src/test/java/libcore/java/lang/ref/ |
D | FinalizationTester.java | 42 Thread.sleep(100); in enqueueReferences()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Process.java | 198 Thread.sleep( in waitFor()
|
D | Thread.java | 355 public static void sleep(long millis) throws InterruptedException { in sleep() method in Thread 356 sleep(millis, 0); in sleep() 360 private static native void sleep(Object lock, long millis, int nanos) in sleep() method in Thread 386 public static void sleep(long millis, int nanos) in sleep() method in Thread 440 sleep(lock, millis, nanos); in sleep()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldAndroidDatagramTest.java | 64 Thread.sleep(100); in run() 144 Thread.sleep(100); in testDatagram()
|
D | OldSocketTest.java | 293 Thread.sleep(1000); in test_getOutputStream() 303 Thread.sleep(1000); in test_getOutputStream() 610 Thread.sleep(1000); in test_shutdownInput() 1028 Thread.sleep(1000); in test_connectLjava_net_SocketAddress() 1038 Thread.sleep(1000); in test_connectLjava_net_SocketAddress() 1241 Thread.sleep(1000); in test_connectLjava_net_SocketAddressI() 1304 Thread.sleep(10); in test_connectLjava_net_SocketAddressI_setSOTimeout() 1307 Thread.sleep(50); in test_connectLjava_net_SocketAddressI_setSOTimeout() 1311 Thread.sleep(5000); in test_connectLjava_net_SocketAddressI_setSOTimeout() 1636 Thread.sleep(1000); in test_sendUrgentDataI() [all …]
|
D | OldServerSocketTest.java | 108 Thread.sleep(1000); in run() 112 Thread.sleep(10000); in run() 320 Thread.sleep(1000); in startClient()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Thread.annotated.java | 60 public static void sleep(long millis) throws java.lang.InterruptedException { throw new RuntimeExce… in sleep() method in Thread 62 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { throw new … in sleep() method in Thread
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLogRecordTest.java | 33 Thread.sleep(2); in testGetSetTimeCheck()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Thread.java | 95 public static void sleep(long millis) throws java.lang.InterruptedException { in sleep() method in Thread 99 private static native void sleep(java.lang.Object lock, long millis, int nanos) in sleep() method in Thread 102 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { in sleep() method in Thread
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldServerSocketChannelTest.java | 100 Thread.currentThread().sleep(TIME_UNIT); in test_accept_Block_NoConnect_interrupt()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ServerSocketTest.java | 74 Thread.sleep(1000); in run() 78 Thread.sleep(10000); in run() 218 Thread.sleep(500); in test_accept() 226 Thread.sleep(500); in test_accept() 898 Thread.sleep(1000); in startClient()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 256 Thread.currentThread().sleep(1000); in setUp() 265 Thread.currentThread().sleep(500); in setUp() 512 Thread.currentThread().sleep(500); in run() 582 Thread.currentThread().sleep(500); in run()
|