Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidMonitorTest.java32 wait(1); in testWaitArgumentsTest()
33 wait(10); in testWaitArgumentsTest()
36 wait(0, 1); in testWaitArgumentsTest()
37 wait(0, 999999); in testWaitArgumentsTest()
38 wait(1, 1); in testWaitArgumentsTest()
39 wait(1, 999999); in testWaitArgumentsTest()
54 wait(-1); in testWaitArgumentsTest()
72 wait(0, -1); in testWaitArgumentsTest()
91 wait(0, 1000000); in testWaitArgumentsTest()
127 lock.wait(); in run()
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()
339 lock.wait(Long.MAX_VALUE); in test_getState()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DObjectTest.java122 lock.wait(); // Wait to be notified. in test_notify()
125 lock.wait(); in test_notify()
157 lock.wait(100, 0); in test_notify()
168 lock.wait(100); // Sleep for 100 msecs, releasing lock. in test_notify()
194 lock.wait();// Wait forever. in test_notifyAll()
226 lock.wait(1000, 0); in test_notifyAll()
241 lock.wait(1000, 0); in test_notifyAll()
275 lock.wait(); // Wait to be notified. in test_wait()
300 lock.wait(1000, 0); in test_wait()
305 lock.wait(1000, 0); in test_wait()
[all …]
DThreadTest.java32 this.wait(delay); in run()
320 st1.wait(); in test_enumerate$Ljava_lang_Thread()
330 st2.wait(); in test_enumerate$Ljava_lang_Thread()
438 lock.wait(); in test_getThreadGroup()
466 lock.wait(); in test_interrupt()
486 lock.wait(); in test_interrupt()
499 lock.wait(); in test_interrupt()
532 simple.wait(); in test_isAlive()
608 simple.wait(); in test_join()
639 simple.wait(); in test_joinJ()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DObject.java441 public final void wait(long timeout) throws InterruptedException { in wait() method in Object
442 wait(timeout, 0); in wait()
527 public final native void wait(long timeout, int nanos) throws InterruptedException; in wait() method in Object
567 public final void wait() throws InterruptedException { in wait() method in Object
568 wait(0); in wait()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DObject.annotated.java50 public final void wait(long timeout) throws java.lang.InterruptedException { throw new RuntimeExcep… in wait() method in Object
52 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait() method in Object
54 public final void wait() throws java.lang.InterruptedException { throw new RuntimeException("Stub!"… in wait() method in Object
/libcore/ojluni/annotations/hiddenapi/java/lang/
DObject.java71 public final void wait(long timeout) throws java.lang.InterruptedException { in wait() method in Object
75 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait() method in Object
77 public final void wait() throws java.lang.InterruptedException { in wait() method in Object
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTaskTest.java156 testTask.start.wait(); in test_cancel()
186 testTask.sync.wait(500); in test_scheduledExecutionTime()
208 testTask.sync.wait(500); in test_scheduledExecutionTime()
DTimerTest.java223 sync.wait(500); in test_cancel()
237 sync.wait(500); 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()
258 sync.wait(200); in test_cancel()
260 sync.wait(200); in test_cancel()
/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/main/java/java/lang/ref/
DFinalizerReference.java172 wait(deltaTime / 1000000, (int)(deltaTime % 1000000)); in awaitFinalization()
175 wait(); in awaitFinalization()
/libcore/ojluni/src/main/java/java/io/
DPipedReader.java187 wait(1000); in receive()
260 wait(1000); in read()
DPipedInputStream.java276 wait(1000); in awaitSpace()
331 wait(1000); in read()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferenceChangeEventTest.java143 this.wait(100); in getResult()
156 this.wait(1000); in getChanged()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFutureLikeCompletionHandler.java55 wait(timeoutMiliseconds); in get()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeThreadSet.java101 wait(50); in signalAndWait()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java59 wait(); in getTask()
/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()
/libcore/ojluni/src/main/java/java/util/
DTimer.java533 queue.wait(); in mainLoop()
559 queue.wait(executionTime - currentTime); in mainLoop()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmServer.java162 mHandlerMap.wait(1000); // 1.0 sec in dispatch()
/libcore/libart/src/main/java/java/lang/
DDaemons.java217 ReferenceQueue.class.wait(); in runInternal()
341 wait(); in sleepUntilNeeded()
/libcore/ojluni/src/main/java/sun/misc/
DVM.java176 lock.wait(); in awaitBooted()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java307 try { wait(timeout); } catch (InterruptedException ie) { } in internalWait()
330 wait(0L); in externalAwaitDone()
363 wait(0L); in externalInterruptibleAwaitDone()
1041 wait(ms); // OK to throw InterruptedException in get()

12