Searched refs:Autolock (Results 1 – 5 of 5) sorted by relevance
78 class Autolock {80 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() function81 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() function82 inline ~Autolock() { mLock.unlock(); } in ~Autolock()155 typedef Mutex::Autolock AutoMutex;
33 Mutex::Autolock _l(sLock); in getInstance()43 Mutex::Autolock _l(sLock); in hasInstance()
39 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()
673 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()
252 Mutex::Autolock _l(mMutex); in printRefs()