Home
last modified time | relevance | path

Searched refs:Autolock (Results 1 – 5 of 5) sorted by relevance

/system/core/include/utils/
DMutex.h78 class Autolock {
80 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() function
81 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() function
82 inline ~Autolock() { mLock.unlock(); } in ~Autolock()
155 typedef Mutex::Autolock AutoMutex;
DSingleton.h33 Mutex::Autolock _l(sLock); in getInstance()
43 Mutex::Autolock _l(sLock); in hasInstance()
/system/core/healthd/
DBatteryPropertiesRegistrar.cpp39 Mutex::Autolock _l(mRegistrationLock); in notifyListeners()
49 Mutex::Autolock _l(mRegistrationLock); in registerListener()
66 Mutex::Autolock _l(mRegistrationLock); in unregisterListener()
94 Mutex::Autolock _l(mRegistrationLock); in binderDied()
/system/core/libutils/
DThreads.cpp673 Mutex::Autolock _l(mLock); in run()
759 Mutex::Autolock _l(self->mLock); in _threadLoop()
785 Mutex::Autolock _l(mLock); in requestExit()
791 Mutex::Autolock _l(mLock); in requestExitAndWait()
815 Mutex::Autolock _l(mLock); in join()
833 Mutex::Autolock _l(mLock); in isRunning()
841 Mutex::Autolock _l(mLock); in getTid()
856 Mutex::Autolock _l(mLock); in exitPending()
DRefBase.cpp252 Mutex::Autolock _l(mMutex); in printRefs()