Home
last modified time | relevance | path

Searched refs:mRWMutex (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DWatchdogServiceHelper.cpp65 std::unique_lock writeLock(mRWMutex); in registerService()
91 std::unique_lock writeLock(mRWMutex); in unregisterService()
103 std::unique_lock writeLock(mRWMutex); in binderDied()
114 std::unique_lock writeLock(mRWMutex); in terminate()
122 if (std::shared_lock readLock(mRWMutex); mService == nullptr || in checkIfAlive()
136 if (std::shared_lock readLock(mRWMutex); mService == nullptr || in prepareProcessTermination()
146 std::unique_lock writeLock(mRWMutex); in prepareProcessTermination()
183 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in getPackageInfosForUids()
198 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in latestIoOveruseStats()
209 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in resetResourceOveruseStats()
DPackageInfoResolver.h106 std::unique_lock writeLock(mRWMutex); in ~PackageInfoResolver()
135 mutable std::shared_mutex mRWMutex; variable
144 android::sp<IWatchdogServiceHelper> mWatchdogServiceHelper GUARDED_BY(mRWMutex);
146 mUidToPackageInfoMapping GUARDED_BY(mRWMutex);
147 std::vector<std::string> mVendorPackagePrefixes GUARDED_BY(mRWMutex);
150 mPackagesToAppCategories GUARDED_BY(mRWMutex);
DPackageInfoResolver.cpp113 std::unique_lock writeLock(mRWMutex); in initWatchdogServiceHelper()
127 std::unique_lock writeLock(mRWMutex); in setPackageConfigurations()
137 std::unique_lock writeLock(mRWMutex); in updatePackageInfos()
198 std::shared_lock readLock(mRWMutex); in getPackageNamesForUids()
217 std::shared_lock readLock(mRWMutex); in getPackageInfosForUids()
DWatchdogServiceHelper.h122 mutable std::shared_mutex mRWMutex; variable
124 GUARDED_BY(mRWMutex);
/packages/services/Car/cpp/powerpolicy/client/src/
DPowerPolicyClientBase.cpp99 std::unique_lock writeLock(mRWMutex); in handleBinderDeath()
107 std::shared_lock readLock(mRWMutex); in connectToDaemon()
152 std::unique_lock writeLock(mRWMutex); in connectToDaemon()
/packages/services/Car/cpp/powerpolicy/client/include/
DPowerPolicyClientBase.h85 mutable std::shared_mutex mRWMutex; variable