/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
RenderingWatchDog.java | 78 mSemaphore.tryAcquire(mTimeoutInMilliSecs, TimeUnit.MILLISECONDS));
|
GlPlanetsActivity.java | 50 return mSem.tryAcquire(timeoutInSecs, TimeUnit.SECONDS);
|
/external/llvm/include/llvm/Support/ |
Mutex.h | 66 bool tryacquire(); 122 bool tryacquire() { function in class:llvm::sys::SmartMutex 124 return MutexImpl::tryacquire();
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Semaphore.java | 106 * Also note that the untimed {@link #tryAcquire() tryAcquire} methods do not 326 * fair ordering policy, a call to {@code tryAcquire()} <em>will</em> 332 * {@link #tryAcquire(long, TimeUnit) tryAcquire(0, TimeUnit.SECONDS) } 338 public boolean tryAcquire() { 383 public boolean tryAcquire(long timeout, TimeUnit unit) 487 * policy, a call to {@code tryAcquire} <em>will</em> 492 * honor the fairness setting, then use {@link #tryAcquire(int, 493 * long, TimeUnit) tryAcquire(permits, 0, TimeUnit.SECONDS) [all...] |
ThreadPoolExecutor.java | 581 protected boolean tryAcquire(int unused) { 596 public boolean tryLock() { return tryAcquire(1); } [all...] |
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewTestActivity.java | 57 success = mSemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS);
|
/external/llvm/lib/Support/Unix/ |
Mutex.inc | 38 MutexImpl::tryacquire( void )
|
/external/replicaisland/src/com/replica/replicaisland/ |
RenderingWatchDog.java | 84 mSemaphore.tryAcquire(mTimeoutInMilliSecs, TimeUnit.MILLISECONDS));
|
/external/llvm/lib/Support/ |
Mutex.cpp | 30 bool MutexImpl::tryacquire() { return true; } function in class:llvm::MutexImpl 136 MutexImpl::tryacquire()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
AbstractQueuedLongSynchronizer.java | 591 * cancel if tryAcquire throws exception) and other control, at 609 if (p == head && tryAcquire(arg)) { 636 if (p == head && tryAcquire(arg)) { 667 if (p == head && tryAcquire(arg)) { 822 protected boolean tryAcquire(long arg) { [all...] |
AbstractQueuedSynchronizer.java | 87 * <li> {@link #tryAcquire} 113 * while (!tryAcquire(arg)) { 128 * define <tt>tryAcquire</tt> and/or <tt>tryAcquireShared</tt> to 131 * <tt>tryAcquire</tt> to immediately return <tt>false</tt> if {@link 148 * invocations of <tt>tryAcquire</tt> interspersed with other 187 * public boolean tryAcquire(int acquires) { 220 * public boolean tryLock() { return sync.tryAcquire(1); } [all...] |
ReentrantLock.java | 100 * Performs non-fair tryLock. tryAcquire is 188 protected final boolean tryAcquire(int acquires) { 204 * Fair version of tryAcquire. Don't grant access unless 207 protected final boolean tryAcquire(int acquires) {
|
ReentrantReadWriteLock.java | 337 * Note that tryRelease and tryAcquire can be called by 340 * condition wait and re-established in tryAcquire. 354 protected final boolean tryAcquire(int acquires) { 526 * This is identical in effect to tryAcquire except for lack [all...] |
/external/llvm/lib/Support/Windows/ |
Mutex.inc | 53 MutexImpl::tryacquire()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 99 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { 136 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) {
|
/external/llvm/unittests/VMCore/ |
ValueMapTest.cpp | 190 EXPECT_FALSE(Data.M->tryacquire()) << "Mutex should already be locked."; 194 EXPECT_FALSE(Data.M->tryacquire()) << "Mutex should already be locked.";
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
IOHandler.java | 180 boolean retval = this.ioSemaphore.tryAcquire(10000, TimeUnit.MILLISECONDS); 253 boolean retval = this.ioSemaphore.tryAcquire(10000, TimeUnit.MILLISECONDS);
|
SIPServerTransaction.java | [all...] |
SIPTransaction.java | [all...] |
SIPDialog.java | [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 88 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { 125 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
VideoEditorPreviewTest.java | 202 blockTillPreviewCompletes.tryAcquire(waitingTime, TimeUnit.MILLISECONDS); 511 blockTillPreviewCompletes.tryAcquire(waitingTime, TimeUnit.MILLISECONDS); 755 blockTillPreviewCompletes.tryAcquire(waitingTime, TimeUnit.MILLISECONDS); [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
AsyncQueryServiceTest.java | 545 if (!mCountingSemaphore.tryAcquire(timeoutMills, TimeUnit.MILLISECONDS)) {
|
/frameworks/base/media/java/android/media/videoeditor/ |
VideoEditorImpl.java | [all...] |
/prebuilt/sdk/13/ |
android.jar | |