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

1 2 3 4

  /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 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...]
package-info.java 238 * {@code Condition.await}, and {@code CountDownLatch.await} on the
246 * <li>Actions prior to calling {@code CyclicBarrier.await}
249 * subsequent to a successful return from the corresponding {@code await}
DelayQueue.java 51 * other threads await indefinitely. The leader thread must
180 available.await();
186 available.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/acceleration/src/android/acceleration/cts/
AcceleratedView.java 56 if (mDrawLatch.await(1, TimeUnit.SECONDS)) {
  /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
  /libcore/luni/src/test/java/libcore/java/nio/channels/
SelectorTest.java 105 // select doesn't ever return, so await() times out and returns false
106 assertFalse(selectReturned.await(500, TimeUnit.MILLISECONDS));
  /cts/tests/src/android/app/cts/
ActivityManagerMemoryClassLaunchActivity.java 68 mLatch.await(5, TimeUnit.SECONDS);
  /cts/tests/src/android/opengl/cts/
EglConfigStubActivity.java 88 if (!mFinishedDrawing.await(3, TimeUnit.SECONDS)) {
OpenGlEsVersionStubActivity.java 70 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS);
  /external/qemu/slirp/
tcp.h 134 #define TCPS_CLOSING 7 /* closed xchd FIN; await FIN ACK */
135 #define TCPS_LAST_ACK 8 /* had fin and close; await FIN ACK */
136 /* states > TCPS_CLOSE_WAIT && < TCPS_FIN_WAIT_2 await ACK of FIN */
  /external/qemu/slirp-android/
tcp.h 136 #define TCPS_CLOSING 7 /* closed xchd FIN; await FIN ACK */
137 #define TCPS_LAST_ACK 8 /* had fin and close; await FIN ACK */
138 /* states > TCPS_CLOSE_WAIT && < TCPS_FIN_WAIT_2 await ACK of FIN */
  /cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java 341 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
539 latch1.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
577 latch2.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
696 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS);
788 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);
  /packages/apps/Browser/src/com/android/browser/
NfcHandler.java 85 mPrivateBrowsingSignal.await();
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
BarrierConsumer.java 59 mNotFull.await();
  /cts/tests/tests/holo/src/android/holo/cts/
ThemeTestActivity.java 176 mLatch.await();
183 if (!mLatch.await(timeout, unit)) {
  /libcore/luni/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
345 boolean await(long time, TimeUnit unit) throws InterruptedException; method in interface:Condition
429 * lock before returning from {@code await}.
447 * return from {@code await}.
  /libcore/luni/src/test/java/libcore/java/lang/ref/
FinalizeTest.java 101 latch.await();
  /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)) {
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
syncstr.h 206 * Await
464 SyncAwait await; member in union:__anon20608
sync.h 303 XSyncTrigger trigger; /* trigger for await */
324 XSyncCounter counter; /* counter involved in await */
  /cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java 203 return hasExpectedState() || mReceiveLatch.await(30, TimeUnit.SECONDS);

Completed in 2056 milliseconds

1 2 3 4