Searched refs:RWLock (Results 1 – 9 of 9) sorted by relevance
/system/core/libutils/include/utils/ |
D | RWLock.h | 42 class RWLock { 49 RWLock(); 50 explicit RWLock(const char* name); 51 explicit RWLock(int type, const char* name = nullptr); 52 ~RWLock(); 62 inline explicit AutoRLock(RWLock& rwlock) : mLock(rwlock) { mLock.readLock(); } in AutoRLock() 65 RWLock& mLock; 70 inline explicit AutoWLock(RWLock& rwlock) : mLock(rwlock) { mLock.writeLock(); } in AutoWLock() 73 RWLock& mLock; 78 RWLock(const RWLock&); [all …]
|
/system/core/libutils/binder/ |
D | RefBase_fuzz.cpp | 28 using android::RWLock; 36 RefBaseSubclass(bool* deletedCheck, RWLock& deletedMtx) in RefBaseSubclass() 38 RWLock::AutoWLock lock(mRwLock); in RefBaseSubclass() 44 RWLock::AutoWLock lock(mRwLock); in ~RefBaseSubclass() 50 android::RWLock& mRwLock; 59 RWLock gRefDeletedLock;
|
/system/logging/logd/ |
D | LogTags.cpp | 82 android::RWLock::AutoRLock readLock(rwlock); in RebuildFileEventLogTags() 128 android::RWLock::AutoWLock writeLock(rwlock); in RebuildFileEventLogTags() 147 android::RWLock::AutoWLock writeLock(rwlock); in AddEventLogTags() 205 android::RWLock::AutoRLock writeLock(rwlock); in ReadFileEventLogTags() 370 android::RWLock::AutoRLock readLock(const_cast<android::RWLock&>(rwlock)); in tagToName() 401 android::RWLock::AutoRLock readLock(const_cast<android::RWLock&>(rwlock)); in tagToFormat() 417 android::RWLock::AutoRLock readLock(const_cast<android::RWLock&>(rwlock)); in nameToTag() 492 android::RWLock::AutoRLock readLock(rwlock); in WritePmsgEventLogTags() 601 android::RWLock::AutoWLock writeLock(rwlock); in WriteDynamicEventLogTags() 625 android::RWLock::AutoWLock writeLock(rwlock); in WriteDebugEventLogTags() [all …]
|
D | LogTags.h | 34 android::RWLock rwlock;
|
/system/extras/tests/tcp_nuke_addr/ |
D | tcp_nuke_addr_test.cpp | 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()
|
/system/logging/liblog/ |
D | event_tag_map.cpp | 53 android::RWLock rwlock; 83 android::RWLock::AutoWLock writeLock(rwlock); in emplaceUnique() 115 android::RWLock::AutoRLock readLock(const_cast<android::RWLock&>(rwlock)); in find() 122 android::RWLock::AutoRLock readLock(const_cast<android::RWLock&>(rwlock)); in find()
|
/system/media/audio_utils/benchmarks/ |
D | audio_mutex_benchmark.cpp | 306 class RWReadMutex : private android::RWLock { 310 using android::RWLock::unlock; 314 class RWWriteMutex : private android::RWLock { 318 using android::RWLock::unlock;
|
/system/core/libutils/abi-dumps/arm64/source-based/ |
D | libutils.so.lsdump | 5121 "name" : "android::RWLock::PRIVATE" 5125 "name" : "android::RWLock::SHARED" 5129 "name" : "android::RWLock::(unnamed)", 5133 "source_file" : "system/core/libutils/include/utils/RWLock.h", 11313 "name" : "android::RWLock &", 11317 "source_file" : "system/core/libutils/include/utils/RWLock.h" 12171 "name" : "android::RWLock::AutoRLock *", 12175 "source_file" : "system/core/libutils/include/utils/RWLock.h" 12180 "name" : "android::RWLock::AutoWLock *", 12184 "source_file" : "system/core/libutils/include/utils/RWLock.h" [all …]
|
/system/core/libutils/abi-dumps/arm_arm64/source-based/ |
D | libutils.so.lsdump | 5145 "name" : "android::RWLock::PRIVATE" 5149 "name" : "android::RWLock::SHARED" 5153 "name" : "android::RWLock::(unnamed)", 5157 "source_file" : "system/core/libutils/include/utils/RWLock.h", 11353 "name" : "android::RWLock &", 11357 "source_file" : "system/core/libutils/include/utils/RWLock.h" 12211 "name" : "android::RWLock::AutoRLock *", 12215 "source_file" : "system/core/libutils/include/utils/RWLock.h" 12220 "name" : "android::RWLock::AutoWLock *", 12224 "source_file" : "system/core/libutils/include/utils/RWLock.h" [all …]
|