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

1 2 3

  /external/deqp/framework/delibs/decpp/
deMutex.hpp 45 bool tryLock (void) throw();
114 inline bool Mutex::tryLock (void) throw()
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
Mutex.cpp 109 ** Function: tryLock
116 bool Mutex::tryLock ()
121 ALOGE ("Mutex::tryLock: error=0x%X", res);
  /libcore/luni/src/main/java/java/util/concurrent/locks/
Lock.java 68 * #tryLock()}), an attempt to acquire the lock that can be
70 * the lock that can timeout ({@link #tryLock(long, TimeUnit)}).
216 * if (lock.tryLock()) {
232 boolean tryLock();
292 boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
ReentrantLock.java 38 * Also note that the untimed {@link #tryLock()} method does not
97 * Performs non-fair tryLock. tryAcquire is implemented in
98 * subclasses, but both need nonfair try for trylock method.
316 * fair ordering policy, a call to {@code tryLock()} <em>will</em>
322 * {@link #tryLock(long, TimeUnit) tryLock(0, TimeUnit.SECONDS) }
335 public boolean tryLock() {
348 * are waiting for the lock. This is in contrast to the {@link #tryLock()}
349 * method. If you want a timed {@code tryLock} that does permit barging on
353 * if (lock.tryLock() ||
    [all...]
ReentrantReadWriteLock.java 52 * {@link ReadLock#tryLock()} and {@link WriteLock#tryLock()} methods
523 * Performs tryLock for write, enabling barging in both modes.
544 * Performs tryLock for read, enabling barging in both modes.
754 * fair ordering policy, a call to {@code tryLock()}
760 * for this lock, then use {@link #tryLock(long, TimeUnit)
761 * tryLock(0, TimeUnit.SECONDS) } which is almost equivalent
770 public boolean tryLock() {
785 * lock. This is in contrast to the {@link #tryLock()}
786 * method. If you want a timed {@code tryLock} that doe
    [all...]
  /packages/apps/Nfc/nci/jni/
Mutex.cpp 106 ** Function: tryLock
113 bool Mutex::tryLock ()
118 ALOGE ("Mutex::tryLock: error=0x%X", res);
  /hardware/broadcom/wlan/bcmdhd/wifi_hal/
sync.h 18 int tryLock() {
  /hardware/qcom/wlan/qcwcn/wifi_hal/
sync.h 33 int tryLock() {
  /system/core/include/utils/
Mutex.h 59 status_t tryLock();
117 inline status_t Mutex::tryLock() {
  /external/chromium_org/third_party/WebKit/Source/wtf/
ThreadingPthreads.cpp 153 // There is a separate tryLock implementation for the Mutex and the
154 // RecursiveMutex since on Windows we need to manually check if tryLock should
158 bool Mutex::tryLock()
177 bool RecursiveMutex::tryLock()
ThreadingWin.cpp 182 bool Mutex::tryLock()
210 bool RecursiveMutex::tryLock()
  /hardware/samsung_slsi/exynos5/libexynosutils/
ExynosMutex.cpp 157 bool ExynosMutex::tryLock(void)
167 ALOGD("%s::%s'trylock() start", __func__, m_name);
170 ret = ((Mutex *)m_mutex)->tryLock();
173 ALOGD("%s::%s'trylock() end", __func__, m_name);
247 return ((ExynosMutex *)handle)->tryLock();
  /libcore/luni/src/main/java/java/nio/channels/
FileChannel.java 192 * <code>tryLock()</code> methods.
567 * {@code fileChannel.tryLock(0L, Long.MAX_VALUE, false);}
583 public final FileLock tryLock() throws IOException {
584 return tryLock(0L, Long.MAX_VALUE, false);
616 public abstract FileLock tryLock(long position, long size, boolean shared)
    [all...]
  /frameworks/av/services/soundtrigger/
SoundTriggerHwService.cpp 177 static bool tryLock(Mutex& mutex)
181 if (mutex.tryLock() == NO_ERROR) {
196 bool locked = tryLock(mServiceLock);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
FileChannelLockingTest.java 159 readOnlyChannel.tryLock();
169 readOnlyChannel.tryLock(0, 99, false);
177 readOnlyChannel.tryLock(-99, 0, true);
184 FileLock tmpLock = readOnlyChannel.tryLock(0, 10, true);
189 FileLock lock = readOnlyChannel.tryLock(10, 788, true);
194 readOnlyChannel.tryLock(1, 23, true);
201 FileLock adjacentLock = readOnlyChannel.tryLock(1, 3, true);
FileChannelTest.java 863 * @tests java.nio.channels.FileChannel#tryLock()
867 // Verify that calling tryLock() leads to the method
868 // tryLock(long, long, boolean) being called with a 0 for the
871 mockFileChannel.tryLock();
876 * @tests java.nio.channels.FileChannel#tryLock(long, long, boolean)
881 readOnlyFileChannel.tryLock(0, 10, false);
889 writeOnlyFileChannel.tryLock(0, 10, false);
897 readWriteFileChannel.tryLock(0, 10, false);
905 readWriteFileChannel.tryLock(-1, 0, false);
913 * @tests java.nio.channels.FileChannel#tryLock(long, long, boolean
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioContext.cpp 607 bool AudioContext::tryLock(bool& mustReleaseLock)
616 // In release build treat tryLock() as lock() (since above ASSERT(isAudioThread) never fires) - this is the best we can do.
629 hasLock = m_contextGraphMutex.tryLock();
669 // It's OK if the tryLock() fails, we'll just take slightly longer to pick up the changes.
671 if (tryLock(mustReleaseLock)) {
690 // Must use a tryLock() here too. Don't worry, the lock will very rarely be contended and this method is called frequently.
694 if (tryLock(mustReleaseLock)) {
698 // Take care of AudioNode tasks where the tryLock() failed previously.
  /frameworks/av/services/audiopolicy/
AudioPolicyService.cpp 269 static bool tryLock(Mutex& mutex)
273 if (mutex.tryLock() == NO_ERROR) {
308 bool locked = tryLock(mLock);
560 bool locked = tryLock(mLock);
    [all...]
  /libcore/luni/src/main/java/java/nio/
FileChannelImpl.java 179 public final FileLock tryLock(long position, long size, boolean shared) throws IOException {
  /frameworks/av/services/camera/libcameraservice/
CameraService.cpp     [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
ThreadPoolExecutor.java 614 public boolean tryLock() { return tryAcquire(1); }
757 if (!t.isInterrupted() && w.tryLock()) {
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldFileChannelTest.java 209 writeOnlyFileChannel.tryLock(0, -1, false);
216 writeOnlyFileChannel.tryLock(-1, 0, false);
223 readWriteFileChannel.tryLock(-1, -1, false);
230 readWriteFileChannel.tryLock(Long.MAX_VALUE, 1, false);
239 FileLock lock = readWriteFileChannel.tryLock(tooBig, 1, false);
243 lock = readWriteFileChannel.tryLock(0, tooBig, false);
249 FileLock lockOne = readWriteFileChannel.tryLock(0, 10, false);
250 FileLock lockTwo = readWriteFileChannel.tryLock(10, 20, false);
254 lockOne = readWriteFileChannel.tryLock(0, 10, false);
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ReentrantLockTest.java 207 * tryLock on an unlocked lock succeeds
213 assertTrue(lock.tryLock());
215 assertTrue(lock.tryLock());
347 * timed tryLock is interruptible
356 lock.tryLock(2 * LONG_DELAY_MS, MILLISECONDS);
366 * tryLock on a locked lock fails
375 assertFalse(lock.tryLock());
383 * Timed tryLock on a locked lock times out
394 assertFalse(lock.tryLock(timeoutMillis, MILLISECONDS));
    [all...]
  /prebuilts/devtools/tools/lib/
jobb.jar 
  /external/robolectric/lib/main/
h2-1.2.147.jar 

Completed in 9651 milliseconds

1 2 3