Searched refs:tryLock (Results 1 – 11 of 11) sorted by relevance
58 if (mLock.readLock().tryLock()) { in getSuggestions()72 if (mLock.readLock().tryLock()) { in isInDictionary()84 if (mLock.readLock().tryLock()) { in shouldAutoCommit()96 if (mLock.readLock().tryLock()) { in getFrequency()108 if (mLock.readLock().tryLock()) { in getMaxFrequencyOfExactMatches()
436 lockAcquired = mLock.readLock().tryLock( in getSuggestions()468 lockAcquired = mLock.readLock().tryLock( in isInDictionary()496 lockAcquired = mLock.readLock().tryLock( in getMaxFrequencyOfExactMatches()
45 bool tryLock();
36 bool BurstBuilder::tryLock() { in tryLock() function in android::nn::BurstBuilder
909 const bool locked = b->tryLock(); in ANeuralNetworksExecution_burstCompute()
79 bool tryLock();
106 bool Mutex::tryLock() { in tryLock() function in Mutex
1394 if (!sRfInterfaceMutex.tryLock()) { in nativeNfcTag_doPresenceCheck()
103 if (mCameraLock.tryLock()) { in tryCreateExclusiveSession()
82 if (mLock != null && mLock.tryLock()) { in onDraw()
626 if (!mWriteLock.tryLock(WRITE_TIMEOUT_SECONDS, TimeUnit.SECONDS)) { in acquireWriteLockOrThrow()