Searched refs:AutoWLock (Results 1 – 4 of 4) sorted by relevance
68 class AutoWLock {70 inline AutoWLock(RWLock& rwlock) : mLock(rwlock) { mLock.writeLock(); } in AutoWLock() function71 inline ~AutoWLock() { mLock.unlock(); } in ~AutoWLock()
150 android::RWLock::AutoWLock lock(mRWLock); in setDefaultNetwork()333 android::RWLock::AutoWLock lock(mRWLock); in createPhysicalNetwork()349 android::RWLock::AutoWLock lock(mRWLock); in createVirtualNetwork()369 android::RWLock::AutoWLock lock(mRWLock); in destroyNetwork()410 android::RWLock::AutoWLock lock(mRWLock); in addInterfaceToNetwork()420 android::RWLock::AutoWLock lock(mRWLock); in removeInterfaceFromNetwork()431 android::RWLock::AutoWLock lock(mRWLock); in setPermissionForUsers()444 android::RWLock::AutoWLock lock(mRWLock); in setPermissionForNetworks()466 android::RWLock::AutoWLock lock(mRWLock); in addUsersToNetwork()483 android::RWLock::AutoWLock lock(mRWLock); in removeUsersFromNetwork()[all …]
69 android::RWLock::AutoWLock _lock(lock);
94 android::RWLock::AutoWLock lock(mLock); in runCommand()