Home
last modified time | relevance | path

Searched refs:tryLock (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DReadOnlyBinaryDictionary.java58 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()
DExpandableBinaryDictionary.java436 lockAcquired = mLock.readLock().tryLock( in getSuggestions()
468 lockAcquired = mLock.readLock().tryLock( in isInDictionary()
496 lockAcquired = mLock.readLock().tryLock( in getMaxFrequencyOfExactMatches()
/packages/modules/NeuralNetworks/runtime/
DBurstBuilder.h45 bool tryLock();
DBurstBuilder.cpp36 bool BurstBuilder::tryLock() { in tryLock() function in android::nn::BurstBuilder
DNeuralNetworks.cpp909 const bool locked = b->tryLock(); in ANeuralNetworksExecution_burstCompute()
/packages/apps/Nfc/nci/jni/
DMutex.h79 bool tryLock();
DMutex.cpp106 bool Mutex::tryLock() { in tryLock() function in Mutex
DNativeNfcTag.cpp1394 if (!sRfInterfaceMutex.tryLock()) { in nativeNfcTag_doPresenceCheck()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DFrameServerImpl.java103 if (mCameraLock.tryLock()) { in tryCreateExclusiveSession()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetPreview.java82 if (mLock != null && mLock.tryLock()) { in onDraw()
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java626 if (!mWriteLock.tryLock(WRITE_TIMEOUT_SECONDS, TimeUnit.SECONDS)) { in acquireWriteLockOrThrow()