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.cpp86 std::unique_lock writeLock(mRWMutex); in registerService()
109 std::unique_lock writeLock(mRWMutex); in registerService()
129 std::unique_lock writeLock(mRWMutex); in unregisterService()
145 std::unique_lock writeLock(mRWMutex); in handleBinderDeath()
159 std::unique_lock writeLock(mRWMutex); in terminate()
167 if (std::shared_lock readLock(mRWMutex); mService == nullptr || mService->asBinder() != who) { in checkIfAlive()
183 if (std::shared_lock readLock(mRWMutex); mService == nullptr || mService->asBinder() != who) { in prepareProcessTermination()
192 std::unique_lock writeLock(mRWMutex); in prepareProcessTermination()
235 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in getPackageInfosForUids()
251 if (std::shared_lock readLock(mRWMutex); mService == nullptr) { in resetResourceOveruseStats()
[all …]
DPackageInfoResolver.h92 std::unique_lock writeLock(mRWMutex); in ~PackageInfoResolver()
162 mutable std::shared_mutex mRWMutex; variable
171 android::sp<WatchdogServiceHelperInterface> mWatchdogServiceHelper GUARDED_BY(mRWMutex);
173 mUidToPackageInfoMapping GUARDED_BY(mRWMutex);
174 std::vector<std::string> mVendorPackagePrefixes GUARDED_BY(mRWMutex);
177 mPackagesToAppCategories GUARDED_BY(mRWMutex);
184 mPendingPackageNames GUARDED_BY(mRWMutex);
DPackageInfoResolver.cpp121 std::unique_lock writeLock(mRWMutex); in initWatchdogServiceHelper()
135 std::unique_lock writeLock(mRWMutex); in setPackageConfigurations()
145 std::unique_lock writeLock(mRWMutex); in updatePackageInfos()
215 std::shared_lock writeLock(mRWMutex); in asyncFetchPackageNamesForUids()
230 std::shared_lock readLock(mRWMutex); in getPackageInfosForUids()
245 std::shared_lock writeLock(mRWMutex); in resolvePackageName()
265 std::shared_lock readLock(mRWMutex); in resolvePackageName()
DWatchdogServiceHelper.h97 std::shared_lock readLock(mRWMutex); in isServiceConnected()
139 mutable std::shared_mutex mRWMutex; variable
141 mService 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()
154 std::unique_lock writeLock(mRWMutex); in connectToDaemon()
/packages/services/Car/cpp/powerpolicy/client/include/
DPowerPolicyClientBase.h88 mutable std::shared_mutex mRWMutex; variable