HomeSort by relevance Sort by last modified time
    Searched refs:await (Results 1 - 25 of 40) sorted by null

1 2

  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/
Condition.java 58 * <b>notFull.await();</b>
72 * <b>notEmpty.await();</b>
104 * {@linkplain #await waiting} and {@linkplain #signal signalling} methods.
202 void await() throws InterruptedException; method in interface:Condition
342 boolean await(long time, TimeUnit unit) throws InterruptedException; method in interface:Condition
423 * lock before returning from {@code await}.
432 * return from {@code await}.
  /dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
CyclicBarrierTest.java 60 * A 1-party barrier triggers after single await
67 b.await();
68 b.await();
85 b.await();
86 b.await();
96 * A 2-party/thread barrier triggers after both threads invoke await
103 b.await();
104 b.await();
105 b.await();
106 b.await();
    [all...]
CountDownLatchTest.java 56 * await returns after countDown to zero, but not before
65 l.await();
88 * timed await returns after countDown to zero
97 threadAssertTrue(l.await(SMALL_DELAY_MS, TimeUnit.MILLISECONDS));
118 * await throws IE if interrupted before counted down
126 l.await();
142 * timed await throws IE if interrupted before counted down
150 l.await(MEDIUM_DELAY_MS, TimeUnit.MILLISECONDS);
167 * timed await times out if not counted down before timeout
175 threadAssertFalse(l.await(SHORT_DELAY_MS, TimeUnit.MILLISECONDS))
    [all...]
ReentrantLockTest.java 447 * Calling await without holding lock throws IllegalMonitorStateException
453 c.await();
498 * timed await without a signal times out
505 c.await(SHORT_DELAY_MS, TimeUnit.MILLISECONDS);
531 * await returns when signalled
540 c.await();
716 c.await();
758 c.await();
773 c.await();
818 c.await();
    [all...]
AbstractQueuedSynchronizerTest.java 508 * Calling await without holding sync throws IllegalMonitorStateException
514 c.await();
559 * Timed await without a signal times out
566 assertFalse(c.await(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
592 * await returns when signalled
601 c.await();
779 c.await();
821 c.await();
836 c.await();
881 c.await();
    [all...]
ReentrantReadWriteLockTest.java 851 * Calling await without holding lock throws IllegalMonitorStateException
857 c.await();
903 * timed await without a signal times out
934 * await returns when signalled
943 c.await();
1026 * await is interruptible
1035 c.await();
    [all...]
  /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
  /dalvik/libcore/concurrent/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 40 * barrier.await();
76 * {@link #await} returns the arrival index of that thread at the barrier.
79 * <pre> if (barrier.await() == 0) {
92 * {@code await()}
96 * corresponding {@code await()} in other threads.
198 trip.await();
235 * @param parties the number of threads that must invoke {@link #await}
253 * @param parties the number of threads that must invoke {@link #await}
272 * <tt>await</tt> on this barrier.
297 * <tt>await</tt> is invoked, or while any thread is waiting, the
324 public int await() throws InterruptedException, BrokenBarrierException { method in class:CyclicBarrier
394 public int await(long timeout, TimeUnit unit) method in class:CyclicBarrier
    [all...]
DelayQueue.java 51 * other threads await indefinitely. The leader thread must
180 available.await();
186 available.await();
Exchanger.java 329 return timed? awaitNanos(me, slot, nanos): await(me, slot);
460 private static Object await(Node node, Slot slot) { method in class:Exchanger
ArrayBlockingQueue.java 251 notFull.await();
316 notEmpty.await();
LinkedBlockingQueue.java 255 notFull.await();
359 notEmpty.await();
PriorityBlockingQueue.java 220 notEmpty.await();
ScheduledThreadPoolExecutor.java 702 * other threads await indefinitely. The leader thread must
    [all...]
  /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);
globals.h 127 double avgrq_sz, avgqu_sz, await, svctm, p_util; member in struct:stats_t
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
BarrierConsumer.java 59 mNotFull.await();
  /cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java 333 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
531 latch1.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
569 latch2.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
688 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
780 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);
  /external/guava/src/com/google/common/util/concurrent/
AbstractService.java 284 done.await();
290 if (done.await(timeout, unit)) {
  /packages/apps/Browser/tests/src/com/android/browser/
PopularUrlsTest.java 224 boolean timedout = !mLatch.await(PAGE_LOAD_TIMEOUT, TimeUnit.MILLISECONDS);
234 timedout = !mLatch.await(5000, TimeUnit.MILLISECONDS);
  /frameworks/base/core/java/android/inputmethodservice/
IInputMethodWrapper.java 187 if (!latch.await(5, TimeUnit.SECONDS)) {

Completed in 641 milliseconds

1 2