HomeSort by relevance Sort by last modified time
    Searched defs:tryAcquire (Results 1 - 25 of 27) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/concurrent/
Semaphore.java 103 * Also note that the untimed {@link #tryAcquire() tryAcquire} methods do not
321 * fair ordering policy, a call to {@code tryAcquire()} <em>will</em>
327 * {@link #tryAcquire(long, TimeUnit) tryAcquire(0, TimeUnit.SECONDS) }
333 public boolean tryAcquire() {
378 public boolean tryAcquire(long timeout, TimeUnit unit)
481 * policy, a call to {@code tryAcquire} <em>will</em>
486 * honor the fairness setting, then use {@link #tryAcquire(int,
487 * long, TimeUnit) tryAcquire(permits, 0, TimeUnit.SECONDS)
    [all...]
ThreadPoolExecutor.java 599 protected boolean tryAcquire(int unused) {
614 public boolean tryLock() { return tryAcquire(1); }
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ArchiveTest.java 69 assertTrue(s.tryAcquire(TEST_TIMEOUT, TimeUnit.MILLISECONDS));
AwContentsTest.java 216 assertTrue(s.tryAcquire(WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS));
  /libcore/luni/src/main/java/java/util/concurrent/locks/
ReentrantLock.java 97 * Performs non-fair tryLock. tryAcquire is implemented in
183 protected final boolean tryAcquire(int acquires) {
199 * Fair version of tryAcquire. Don't grant access unless
202 protected final boolean tryAcquire(int acquires) {
ReentrantReadWriteLock.java 335 * Note that tryRelease and tryAcquire can be called by
338 * condition wait and re-established in tryAcquire.
352 protected final boolean tryAcquire(int acquires) {
524 * This is identical in effect to tryAcquire except for lack
    [all...]
AbstractQueuedLongSynchronizer.java 592 * cancel if tryAcquire throws exception) and other control, at
610 if (p == head && tryAcquire(arg)) {
637 if (p == head && tryAcquire(arg)) {
670 if (p == head && tryAcquire(arg)) {
822 protected boolean tryAcquire(long arg) {
    [all...]
AbstractQueuedSynchronizer.java 88 * <li> {@link #tryAcquire}
114 * while (!tryAcquire(arg)) {
129 * define {@code tryAcquire} and/or {@code tryAcquireShared} to
132 * {@code tryAcquire} to immediately return {@code false} if {@link
149 * invocations of {@code tryAcquire} interspersed with other
188 * public boolean tryAcquire(int acquires) {
221 * public boolean tryLock() { return sync.tryAcquire(1); }
    [all...]
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/
SyncTestUtil.java 230 Assert.assertTrue(s.tryAcquire(SYNC_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS));
  /external/jmdns/src/javax/jmdns/impl/
DNSStatefulObject.java 65 semaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
VideoEditorPreviewTest.java 202 blockTillPreviewCompletes.tryAcquire(waitingTime, TimeUnit.MILLISECONDS);
507 blockTillPreviewCompletes.tryAcquire(waitingTime, TimeUnit.MILLISECONDS);
747 blockTillPreviewCompletes.tryAcquire(waitingTime, TimeUnit.MILLISECONDS);
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
EncodeVirtualDisplayWithCompositionTest.java 659 if(!mRecreationCompletionSemaphore.tryAcquire(DEFAULT_WAIT_TIMEOUT_MS,
    [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar 
  /external/droiddriver/libs/
guava-13.0.jar 
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 

Completed in 3207 milliseconds

1 2