Searched refs:tryLock (Results 1 – 11 of 11) sorted by relevance
177 static bool tryLock(Mutex& mutex) in tryLock() function181 if (mutex.tryLock() == NO_ERROR) { in tryLock()196 bool locked = tryLock(mServiceLock); in dump()
266 static bool tryLock(Mutex& mutex) in tryLock() function270 if (mutex.tryLock() == NO_ERROR) { in tryLock()305 bool locked = tryLock(mLock); in dump()557 bool locked = tryLock(mLock); in dump()
189 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock()
1595 static bool tryLock(Mutex& mutex) in tryLock() function1599 if (mutex.tryLock() == NO_ERROR) { in tryLock()1617 bool locked = tryLock(mServiceLock); in dump()
1403 if (!mCameraLock.tryLock(MAX_CAMERA_WAIT_TIME, TimeUnit.SECONDS)) { in openCamera()1748 if (!mCameraLock.tryLock(MAX_CAMERA_WAIT_TIME, TimeUnit.SECONDS)) { in stopAndWait()
674 if (mLock.tryLock() == NO_ERROR) { in lockIfMessageWanted()
863 notLocked = mMutex.tryLock(); in dump()
290 if (lock.tryLock() == NO_ERROR) { in tryLockSpinRightRound()
368 if (mutex.tryLock() == NO_ERROR) { in dumpTryLock()
2365 while (mStateLock.tryLock()<0 && --retry>=0) { in dump()
43677 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;43678 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…49984 method public abstract boolean tryLock();49985 …method public abstract boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.Inter…50023 method public boolean tryLock();50024 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…50056 method public boolean tryLock();50057 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…50068 method public boolean tryLock();50069 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…