Searched refs:Mutex (Results 1 – 9 of 9) sorted by relevance
47 class Mutex {54 Mutex();55 Mutex(const char* name);56 Mutex(int type, const char* name = NULL);57 ~Mutex();80 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()81 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()84 Mutex& mLock;91 Mutex(const Mutex&);92 Mutex& operator = (const Mutex&);[all …]
33 Mutex::Autolock _l(sLock); in getInstance()43 Mutex::Autolock _l(sLock); in hasInstance()54 static Mutex sLock;68 template<> ::android::Mutex \69 (::android::Singleton< TYPE >::sLock)(::android::Mutex::PRIVATE); \
60 status_t wait(Mutex& mutex);62 status_t waitRelative(Mutex& mutex, nsecs_t reltime);105 inline status_t Condition::wait(Mutex& mutex) { in wait()108 inline status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) { in waitRelative()
97 mutable Mutex mLock;
451 Mutex mLock;
348 Mutex::Mutex()358 Mutex::Mutex(const char* name)369 Mutex::Mutex(int type, const char* name)380 Mutex::~Mutex()385 status_t Mutex::lock()392 void Mutex::unlock()398 status_t Mutex::tryLock()554 status_t Condition::wait(Mutex& mutex)562 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime)673 Mutex::Autolock _l(mLock); in run()[all …]
252 Mutex::Autolock _l(mMutex); in printRefs()369 mutable Mutex mMutex;
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()
37 Mutex mRegistrationLock;