/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
CyclicBarrierTest.java | 58 * A 1-party barrier triggers after single await 64 b.await(); 65 b.await(); 77 b.await(); 78 b.await(); 84 * A 2-party/thread barrier triggers after both threads invoke await 90 b.await(); 91 b.await(); 92 b.await(); 93 b.await(); [all...] |
CountDownLatchTest.java | 54 * await returns after countDown to zero, but not before 62 l.await(); 78 * timed await returns after countDown to zero 86 threadAssertTrue(l.await(SMALL_DELAY_MS, MILLISECONDS)); 100 * await throws IE if interrupted before counted down 107 l.await(); 117 * timed await throws IE if interrupted before counted down 124 l.await(MEDIUM_DELAY_MS, MILLISECONDS); 135 * timed await times out if not counted down before timeout 142 threadAssertFalse(l.await(SHORT_DELAY_MS, MILLISECONDS)) [all...] |
ReentrantLockTest.java | 379 * Calling await without holding lock throws IllegalMonitorStateException 385 c.await(); 415 * timed await without a signal times out 421 assertFalse(c.await(SHORT_DELAY_MS, MILLISECONDS)); 438 * await returns when signalled 446 c.await(); 583 c.await(); 614 c.await(); 623 c.await(); 657 c.await(); [all...] |
AbstractQueuedLongSynchronizerTest.java | 440 * Calling await without holding sync throws IllegalMonitorStateException 446 c.await(); 476 * Timed await without a signal times out 482 assertFalse(c.await(SHORT_DELAY_MS, MILLISECONDS)); 499 * await returns when signalled 507 c.await(); 647 c.await(); 678 c.await(); 687 c.await(); 721 c.await(); [all...] |
AbstractQueuedSynchronizerTest.java | 438 * Calling await without holding sync throws IllegalMonitorStateException 444 c.await(); 474 * Timed await without a signal times out 480 assertFalse(c.await(SHORT_DELAY_MS, MILLISECONDS)); 497 * await returns when signalled 505 c.await(); 645 c.await(); 676 c.await(); 685 c.await(); 719 c.await(); [all...] |
ReentrantReadWriteLockTest.java | 735 * Calling await without holding lock throws IllegalMonitorStateException 741 c.await(); 773 * timed await without a signal times out 779 assertFalse(c.await(SHORT_DELAY_MS, MILLISECONDS)); 796 * await returns when signalled 804 c.await(); 873 * await is interruptible 881 c.await(); 942 c.await(); 949 c.await(); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Condition.java | 59 * <b>notFull.await();</b> 73 * <b>notEmpty.await();</b> 105 * {@linkplain #await waiting} and {@linkplain #signal signalling} methods. 203 void await() throws InterruptedException; method in interface:Condition 343 boolean await(long time, TimeUnit unit) throws InterruptedException; method in interface:Condition 424 * lock before returning from {@code await}. 442 * return from {@code await}.
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Cancelable.java | 39 public void await() throws InterruptedException; method in interface:Cancelable
|
BaseCancelable.java | 79 public synchronized void await() throws InterruptedException { method in class:BaseCancelable 88 await(); method
|
/libcore/luni/src/main/java/java/util/concurrent/ |
CountDownLatch.java | 16 * The {@link #await await} methods block until the current count reaches 19 * {@link #await await} return immediately. This is a one-shot phenomenon 26 * simple on/off latch, or gate: all threads invoking {@link #await await} 35 * thread from proceeding past an {@link #await await} until all 59 * doneSignal.await(); // wait for all to finish 72 * startSignal.await(); 206 public void await() throws InterruptedException { method in class:CountDownLatch 251 public boolean await(long timeout, TimeUnit unit) method in class:CountDownLatch [all...] |
CyclicBarrier.java | 42 * barrier.await(); 78 * {@link #await} returns the arrival index of that thread at the barrier. 81 * <pre> if (barrier.await() == 0) { 94 * {@code await()} 98 * corresponding {@code await()} in other threads. 200 trip.await(); 237 * @param parties the number of threads that must invoke {@link #await} 255 * @param parties the number of threads that must invoke {@link #await} 274 * <tt>await</tt> on this barrier. 299 * <tt>await</tt> is invoked, or while any thread is waiting, the 326 public int await() throws InterruptedException, BrokenBarrierException { method in class:CyclicBarrier 396 public int await(long timeout, TimeUnit unit) method in class:CyclicBarrier [all...] |
DelayQueue.java | 58 * other threads await indefinitely. The leader thread must 187 available.await(); 193 available.await();
|
Exchanger.java | 331 return timed? awaitNanos(me, slot, nanos): await(me, slot); 462 private static Object await(Node node, Slot slot) { method in class:Exchanger
|
LinkedBlockingDeque.java | 346 notFull.await(); 362 notFull.await(); 456 notEmpty.await(); 469 notEmpty.await(); [all...] |
ArrayBlockingQueue.java | 257 notFull.await(); 322 notEmpty.await();
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
WaitingThread.java | 137 public boolean await(Date deadline) method in class:WaitingThread 141 // the lock would not be released on calling cond.await() below. 159 this.cond.await(); 169 } // await
|
/external/blktrace/btt/ |
iostat.c | 60 "avgrq-sz avgqu-sz await svctm %%util Stamp\n"); 87 double dt, nios, avgrq_sz, p_util, nrqm, await, svctm; local 109 await = ((nios + nrqm) > 0.0) ? TO_MSEC(sp->wait) / (nios+nrqm) : 0.0; 114 * For AWAIT: nios should be the same as number of inserts 129 fprintf(iostat_ofp, "%7.2lf ", await); 155 asp->await += await; 176 fprintf(iostat_ofp, "%7.2lf ", asp->await / asp->n);
|
/cts/tests/src/android/opengl/cts/ |
EglConfigStubActivity.java | 88 if (!mFinishedDrawing.await(3, TimeUnit.SECONDS)) {
|
OpenGlEsVersionStubActivity.java | 70 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
BarrierConsumer.java | 59 mNotFull.await();
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountManagerTest.java | 335 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); 533 latch1.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); 571 latch2.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); 690 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); 782 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 104 latch.await(latchTimeoutMs, TimeUnit.MILLISECONDS); 126 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS); 142 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/ |
WarmLatencyExperiment.java | 186 mReadyBarrier.await(1, TimeUnit.SECONDS); 289 mBarrier.await(1, TimeUnit.SECONDS);
|
/external/guava/src/com/google/common/util/concurrent/ |
AbstractService.java | 284 done.await(); 290 if (done.await(timeout, unit)) {
|
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 110 return mIdleLatch.await(TIMEOUT, TimeUnit.MILLISECONDS);
|