Home
last modified time | relevance | path

Searched refs:RWLock (Results 1 – 11 of 11) sorted by relevance

/system/core/include/utils/
DRWLock.h42 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 …]
/system/netd/server/
DNetworkController.cpp145 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 …]
DFirewallController.h82 android::RWLock lock;
DNetdConstants.h85 extern android::RWLock gBigNetdLock;
Dmain.cpp62 android::RWLock android::net::gBigNetdLock;
DNetworkController.h111 mutable android::RWLock mRWLock;
DCommandListener.h44 void registerLockingCmd(FrameworkCommand *cmd, android::RWLock& lock);
DBandwidthController.h30 android::RWLock lock;
DNetdNativeService.cpp69 android::RWLock::AutoWLock _lock(lock);
DCommandListener.cpp88 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()
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp70 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()