/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 launchFiveSecondFakeThread() 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 | 84 Thread.sleep(millis); in testThreadSleep() 95 Thread.sleep(0); in testThreadInterrupted() 105 Thread.sleep(-1); in testThreadSleepIllegalArguments() 111 Thread.sleep(0, -1); in testThreadSleepIllegalArguments() 117 Thread.sleep(0, 1000000); in testThreadSleepIllegalArguments() 134 Thread.sleep(1000); in testThreadWakeup() 276 Thread.sleep(4000); in testGetStackTrace() 282 Thread.sleep(1000); in testGetStackTrace() 404 sleep(5000); in testParkUntilWithUnderflowValue() 499 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 launchFiveSecondFakeThread()
|
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/ |
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() 824 Thread.sleep(1000); in test_sleepJ() 845 Thread.sleep(1000, 999999); in test_sleepJI() 871 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/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/support/src/test/java/libcore/java/lang/ref/ |
D | FinalizationTester.java | 42 Thread.sleep(100); in enqueueReferences()
|
/libcore/luni/src/test/java/libcore/java/net/ |
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() 320 Thread.sleep(1000); in startClient()
|
D | OldSocketTest.java | 296 Thread.sleep(1000); in test_getOutputStream() 306 Thread.sleep(1000); in test_getOutputStream() 613 Thread.sleep(1000); in test_shutdownInput() 1031 Thread.sleep(1000); in test_connectLjava_net_SocketAddress() 1041 Thread.sleep(1000); in test_connectLjava_net_SocketAddress() 1244 Thread.sleep(1000); in test_connectLjava_net_SocketAddressI() 1305 Thread.sleep(10); in test_connectLjava_net_SocketAddressI_setSOTimeout() 1308 Thread.sleep(50); in test_connectLjava_net_SocketAddressI_setSOTimeout() 1648 Thread.sleep(1000); in test_sendUrgentDataI() 1678 Thread.sleep(1000); in test_sendUrgentDataI() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Process.java | 198 Thread.sleep( in waitFor()
|
D | Thread.java | 357 public static void sleep(long millis) throws InterruptedException { in sleep() method in Thread 358 sleep(millis, 0); in sleep() 362 private static native void sleep(Object lock, long millis, int nanos) in sleep() method in Thread 388 public static void sleep(long millis, int nanos) in sleep() method in Thread 453 sleep(lock, millis, nanos); in sleep()
|
/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/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/util/logging/ |
D | OldLogRecordTest.java | 33 Thread.sleep(2); in testGetSetTimeCheck()
|
/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()
|
/libcore/ojluni/annotations/sdk/nullability/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
|