Home
last modified time | relevance | path

Searched refs:mRWLock (Results 1 – 3 of 3) sorted by relevance

/system/core/libutils/include/utils/
DRWLock.h81 pthread_rwlock_t mRWLock; variable
85 pthread_rwlock_init(&mRWLock, NULL); in RWLock()
88 pthread_rwlock_init(&mRWLock, NULL); in RWLock()
95 pthread_rwlock_init(&mRWLock, &attr); in RWLock()
98 pthread_rwlock_init(&mRWLock, NULL); in RWLock()
102 pthread_rwlock_destroy(&mRWLock); in ~RWLock()
105 return -pthread_rwlock_rdlock(&mRWLock); in readLock()
108 return -pthread_rwlock_tryrdlock(&mRWLock); in tryReadLock()
111 return -pthread_rwlock_wrlock(&mRWLock); in writeLock()
114 return -pthread_rwlock_trywrlock(&mRWLock); in tryWriteLock()
[all …]
/system/netd/server/
DNetworkController.cpp150 android::RWLock::AutoRLock lock(mRWLock); in getDefaultNetwork()
155 android::RWLock::AutoWLock lock(mRWLock); in setDefaultNetwork()
192 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForDns()
231 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForUser()
253 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForConnect()
309 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForInterface()
319 android::RWLock::AutoRLock lock(mRWLock); in isVirtualNetwork()
348 android::RWLock::AutoWLock lock(mRWLock); in createPhysicalNetwork()
357 android::RWLock::AutoWLock lock(mRWLock); in createPhysicalOemNetwork()
389 android::RWLock::AutoWLock lock(mRWLock); in createVirtualNetwork()
[all …]
DNetworkController.h150 mutable android::RWLock mRWLock; variable