Home
last modified time | relevance | path

Searched refs:mLock (Results 1 – 10 of 10) sorted by relevance

/system/core/include/utils/
DRWLock.h62 inline AutoRLock(RWLock& rwlock) : mLock(rwlock) { mLock.readLock(); } in AutoRLock()
63 inline ~AutoRLock() { mLock.unlock(); } in ~AutoRLock()
65 RWLock& mLock;
70 inline AutoWLock(RWLock& rwlock) : mLock(rwlock) { mLock.writeLock(); } in AutoWLock()
71 inline ~AutoWLock() { mLock.unlock(); } in ~AutoWLock()
73 RWLock& mLock;
DMutex.h76 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
77 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
78 inline ~Autolock() { mLock.unlock(); } in ~Autolock()
80 Mutex& mLock;
DThread.h97 mutable Mutex mLock; variable
DLooper.h451 Mutex mLock; variable
/system/core/libpixelflinger/codeflinger/
DCodeCache.cpp156 pthread_mutex_init(&mLock, 0); in CodeCache()
161 pthread_mutex_destroy(&mLock); in ~CodeCache()
166 pthread_mutex_lock(&mLock); in lookup()
174 pthread_mutex_unlock(&mLock); in lookup()
181 pthread_mutex_lock(&mLock); in cache()
209 pthread_mutex_unlock(&mLock); in cache()
DCodeCache.h111 mutable pthread_mutex_t mLock; variable
/system/core/libutils/
DThreads.cpp657 mLock("Thread::mLock"), in Thread()
677 Mutex::Autolock _l(mLock); in run()
763 Mutex::Autolock _l(self->mLock); in _threadLoop()
789 Mutex::Autolock _l(mLock); in requestExit()
795 Mutex::Autolock _l(mLock); in requestExitAndWait()
808 mThreadExitedCondition.wait(mLock); in requestExitAndWait()
819 Mutex::Autolock _l(mLock); in join()
830 mThreadExitedCondition.wait(mLock); in join()
837 Mutex::Autolock _l(mLock); in isRunning()
845 Mutex::Autolock _l(mLock); in getTid()
[all …]
DLooper.cpp78 AutoMutex _l(mLock); in Looper()
254 mLock.lock(); in pollInner()
328 mLock.unlock(); in pollInner()
337 mLock.lock(); in pollInner()
348 mLock.unlock(); in pollInner()
459 AutoMutex _l(mLock); in addFd()
531 AutoMutex _l(mLock); in removeFd()
603 AutoMutex _l(mLock); in sendMessageAtTime()
634 AutoMutex _l(mLock); in removeMessages()
651 AutoMutex _l(mLock); in removeMessages()
/system/vold/
DVolumeManager.h90 std::mutex& getLock() { return mLock; } in getLock()
206 std::mutex mLock; variable
DVolumeManager.cpp278 std::lock_guard<std::mutex> lock(mLock); in handleBlockEvent()
651 std::lock_guard<std::mutex> lock(mLock); in unmountAll()