Searched refs:readLock (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ReadOnlyBinaryDictionary.java | 58 if (mLock.readLock().tryLock()) { in getSuggestions() 64 mLock.readLock().unlock(); in getSuggestions() 72 if (mLock.readLock().tryLock()) { in isInDictionary() 76 mLock.readLock().unlock(); in isInDictionary() 84 if (mLock.readLock().tryLock()) { in shouldAutoCommit() 88 mLock.readLock().unlock(); in shouldAutoCommit() 96 if (mLock.readLock().tryLock()) { in getFrequency() 100 mLock.readLock().unlock(); in getFrequency() 108 if (mLock.readLock().tryLock()) { in getMaxFrequencyOfExactMatches() 112 mLock.readLock().unlock(); in getMaxFrequencyOfExactMatches()
|
D | ExpandableBinaryDictionary.java | 436 lockAcquired = mLock.readLock().tryLock( in getSuggestions() 457 mLock.readLock().unlock(); in getSuggestions() 468 lockAcquired = mLock.readLock().tryLock( in isInDictionary() 480 mLock.readLock().unlock(); in isInDictionary() 496 lockAcquired = mLock.readLock().tryLock( in getMaxFrequencyOfExactMatches() 508 mLock.readLock().unlock(); in getMaxFrequencyOfExactMatches() 655 asyncExecuteTaskWithLock(mLock.readLock(), new Runnable() { in getDictionaryStats() 691 asyncExecuteTaskWithLock(mLock.readLock(), new Runnable() { in dumpAllWordsForDebug() 730 asyncExecuteTaskWithLock(mLock.readLock(), new Runnable() { in getWordPropertiesForSyncing()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogServiceHelper.cpp | 122 if (std::shared_lock readLock(mRWMutex); mService == nullptr || in checkIfAlive() local 136 if (std::shared_lock readLock(mRWMutex); mService == nullptr || in prepareProcessTermination() local 183 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in getPackageInfosForUids() local 198 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in latestIoOveruseStats() local 209 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in resetResourceOveruseStats() local
|
D | PackageInfoResolver.cpp | 198 std::shared_lock readLock(mRWMutex); in getPackageNamesForUids() local 217 std::shared_lock readLock(mRWMutex); in getPackageInfosForUids() local
|
D | IoOveruseMonitor.cpp | 442 std::shared_lock readLock(mRwMutex); in getResourceOveruseConfigurations() local 512 std::shared_lock readLock(mRwMutex); in getIoOveruseStats() local
|
D | IoOveruseMonitor.h | 110 std::shared_lock readLock(mRwMutex); in isInitialized()
|
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/ |
D | FuseDaemon.java | 147 public boolean shouldOpenWithFuse(String path, boolean readLock, int fd) { in shouldOpenWithFuse() argument 153 return native_should_open_with_fuse(mPtr, path, readLock, fd); in shouldOpenWithFuse() 186 private native boolean native_should_open_with_fuse(long daemon, String path, boolean readLock, in native_should_open_with_fuse() argument
|
/packages/services/Car/cpp/powerpolicy/client/src/ |
D | PowerPolicyClientBase.cpp | 107 std::shared_lock readLock(mRWMutex); in connectToDaemon() local
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseHelper.java | 502 mSchemaLock.readLock().lock(); in beginTransactionInternal() 537 mSchemaLock.readLock().unlock(); in endTransactionInternal() 602 mSchemaLock.readLock().lock(); in runWithoutTransaction() 606 mSchemaLock.readLock().unlock(); in runWithoutTransaction()
|