Searched refs:RWLock (Results 1 – 11 of 11) sorted by relevance
42 class RWLock {49 RWLock();50 RWLock(const char* name);51 RWLock(int type, const char* name = NULL);52 ~RWLock();62 inline AutoRLock(RWLock& rwlock) : mLock(rwlock) { mLock.readLock(); } in AutoRLock()65 RWLock& mLock;70 inline AutoWLock(RWLock& rwlock) : mLock(rwlock) { mLock.writeLock(); } in AutoWLock()73 RWLock& mLock;78 RWLock(const RWLock&);[all …]
145 android::RWLock::AutoRLock lock(mRWLock); in getDefaultNetwork()150 android::RWLock::AutoWLock lock(mRWLock); in setDefaultNetwork()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()333 android::RWLock::AutoWLock lock(mRWLock); in createPhysicalNetwork()349 android::RWLock::AutoWLock lock(mRWLock); in createVirtualNetwork()369 android::RWLock::AutoWLock lock(mRWLock); in destroyNetwork()[all …]
82 android::RWLock lock;
85 extern android::RWLock gBigNetdLock;
62 android::RWLock android::net::gBigNetdLock;
111 mutable android::RWLock mRWLock;
44 void registerLockingCmd(FrameworkCommand *cmd, android::RWLock& lock);
30 android::RWLock lock;
69 android::RWLock::AutoWLock _lock(lock);
88 LockingFrameworkCommand(FrameworkCommand *wrappedCmd, android::RWLock& lock) : in LockingFrameworkCommand()94 android::RWLock::AutoWLock lock(mLock); in runCommand()100 android::RWLock& mLock;181 void CommandListener::registerLockingCmd(FrameworkCommand *cmd, android::RWLock& lock) { in registerLockingCmd()
70 void killSockets(sockaddr_in listenaddr, int intervalMs, android::RWLock *lock) { in killSockets()92 android::RWLock *lock, std::atomic<unsigned int> *attempts) { in connectLoop()137 android::RWLock lock; in main()