Home
last modified time | relevance | path

Searched refs:AutoRLock (Results 1 – 2 of 2) sorted by relevance

/system/core/include/utils/
DRWLock.h60 class AutoRLock {
62 inline AutoRLock(RWLock& rwlock) : mLock(rwlock) { mLock.readLock(); } in AutoRLock() function
63 inline ~AutoRLock() { mLock.unlock(); } in ~AutoRLock()
/system/netd/server/
DNetworkController.cpp145 android::RWLock::AutoRLock lock(mRWLock); in getDefaultNetwork()
187 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForDns()
226 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForUser()
248 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForConnect()
299 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForInterface()
309 android::RWLock::AutoRLock lock(mRWLock); in isVirtualNetwork()
425 android::RWLock::AutoRLock lock(mRWLock); in getPermissionForUser()
438 android::RWLock::AutoRLock lock(mRWLock); in checkUserNetworkAccess()
511 android::RWLock::AutoRLock lock(mRWLock); in canProtect()
529 android::RWLock::AutoRLock lock(mRWLock); in dump()
[all …]