Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 42) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DObjectTest.java97 obj1.wait();// Wait for ever. in test_notify()
128 obj1.wait(1000, 0); in test_notify()
142 obj1.wait(200, 0); in test_notify()
167 obj1.wait();// Wait for ever. in test_notifyAll()
199 obj1.wait(1000, 0); in test_notifyAll()
213 obj1.wait(5000, 0); in test_notifyAll()
247 obj1.wait();// Wait for ever. in test_wait()
268 obj1.wait(1000, 0); in test_wait()
272 obj1.wait(1000, 0); in test_wait()
300 obj1.wait(delay, 0); in test_waitJ()
[all …]
DThreadTest.java32 this.wait(delay); in run()
319 st1.wait(); in test_enumerate$Ljava_lang_Thread()
329 st2.wait(); in test_enumerate$Ljava_lang_Thread()
437 lock.wait(); in test_getThreadGroup()
465 lock.wait(); in test_interrupt()
485 lock.wait(); in test_interrupt()
498 lock.wait(); in test_interrupt()
531 simple.wait(); in test_isAlive()
602 simple.wait(); in test_join()
633 simple.wait(); in test_joinJ()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidMonitorTest.java30 wait(1); in testWaitArgumentsTest()
31 wait(10); in testWaitArgumentsTest()
34 wait(0, 1); in testWaitArgumentsTest()
35 wait(0, 999999); in testWaitArgumentsTest()
36 wait(1, 1); in testWaitArgumentsTest()
37 wait(1, 999999); in testWaitArgumentsTest()
52 wait(-1); in testWaitArgumentsTest()
70 wait(0, -1); in testWaitArgumentsTest()
89 wait(0, 1000000); in testWaitArgumentsTest()
144 waiter.interrupterLock.wait(); in run_inner()
[all …]
DOldObjectTest.java111 obj.wait(); in test_wait()
151 obj1.wait();// Wait for ever. in run()
154 obj1.wait(5000L); in run()
157 obj1.wait(10000L, 999999); in run()
177 obj.wait(5000L, 1); in test_waitJI()
204 o.wait(-1, 0); in test_waitJI_invalid()
210 o.wait(0, -1); in test_waitJI_invalid()
216 o.wait(-1, -1); in test_waitJI_invalid()
223 o.wait(Integer.MAX_VALUE + 1, 0); in test_waitJI_invalid()
233 obj.wait(5000L); in test_waitJ()
DOldThreadTest.java35 this.wait(delay); in run()
338 lock.wait(Long.MAX_VALUE); in test_getState()
/libcore/libart/src/main/java/java/lang/
DObject.java384 public final native void wait() throws InterruptedException; in wait() method in Object
421 public final void wait(long millis) throws InterruptedException { in wait() method in Object
422 wait(millis, 0); in wait()
464 public final native void wait(long millis, int nanos) throws InterruptedException; in wait() method in Object
DDaemons.java134 ReferenceQueue.class.wait(); in run()
240 wait(); in waitForObject()
311 wait(); in run()
344 wait(); in run()
DThread.java724 lock.wait(); in join()
786 lock.wait(millis, nanos); in join()
1220 lock.wait(millis, (int) nanos); in parkFor()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java168 bound.wait(5000); in testGetOutputStream()
202 if (!server.started) bound.wait(5000); in testUsingProxy()
206 if (!proxy.started) bound.wait(5000); in testUsingProxy()
247 if (!server.started) bound.wait(5000); in testUsingProxySelector()
251 if (!proxy.started) bound.wait(5000); in testUsingProxySelector()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferenceChangeEventTest.java135 wait(500); in waitForEvent()
150 this.wait(100); in getResult()
163 this.wait(1000); in getChanged()
DOldNodeChangeEventTest.java153 wait(500); in waitForEvent()
/libcore/luni/src/main/java/java/io/
DPipedInputStream.java236 wait(1000); in read()
314 wait(1000); in read()
395 wait(1000);
DPipedReader.java254 wait(1000); in read()
352 wait(1000); in receive()
401 wait(1000); in receive()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTaskTest.java156 testTask.start.wait(); in test_cancel()
183 testTask.sync.wait(500); in test_scheduledExecutionTime()
201 testTask.sync.wait(500); in test_scheduledExecutionTime()
DTimerTest.java219 sync.wait(500); in test_cancel()
233 sync.wait(500); in test_cancel()
246 sync.wait(200); in test_cancel()
248 sync.wait(200); in test_cancel()
250 sync.wait(200); in test_cancel()
252 sync.wait(200); in test_cancel()
254 sync.wait(200); in test_cancel()
256 sync.wait(200); in test_cancel()
/libcore/luni/src/main/java/java/lang/ref/
DReferenceQueue.java101 wait(0); in remove()
113 wait(timeoutMillis, timeoutNanos); in remove()
DFinalizerReference.java149 wait(); in awaitFinalization()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedInputStreamTest.java112 pw.wait(10000); in test_available()
163 pw.wait(10000); in test_connectLjava_io_PipedOutputStream()
181 pw.wait(10000); in test_read()
202 pw.wait(10000); in test_read$BII()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java59 wait(); in getTask()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmServer.java151 mHandlerMap.wait(1000); // 1.0 sec in dispatch()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestInnerClass.java33 public void wait(int millisecond) { in wait() method in DOMTestInnerClass
34 test.wait(millisecond); in wait()
DDOMTestFramework.java32 void wait(int millisecond); in wait() method
/libcore/luni/src/main/java/java/lang/
DProcessManager.java140 processReferences.wait(); in waitForMoreChildren()
296 exitValueMutex.wait(); in waitFor()
/libcore/luni/src/main/java/java/util/
DTimer.java214 this.wait(); in run()
238 this.wait(timeToSleep); in run()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceQueueTest.java44 rq.wait(1000); in run()

12