Lines Matching refs:tryLock
367 static bool tryLock(Mutex& mutex)
371 if (mutex.tryLock() == NO_ERROR) {
386 bool hardwareLocked = tryLock(mHardwareLock);
394 bool locked = tryLock(mLock);
1273 bool locked = tryLock(mLock);
4509 // FIXME When called by fast mixer, this takes a mutex with tryLock().
4513 // fast mixer being unable to tryLock(), and
4548 // Note that framesReady() takes a mutex on the control block using tryLock().
4554 // the tryLock() could block for up to 1 ms, and a sequence of these could delay fast mixer.
8834 bool locked = tryLock(mLock);
9163 bool locked = mCblk != NULL && tryLock(mCblk->lock);
9548 bool locked = tryLock(mLock);