Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 – 9 of 9) sorted by relevance

/system/core/include/utils/
DMutex.h43 class Mutex {
50 Mutex();
51 Mutex(const char* name);
52 Mutex(int type, const char* name = NULL);
53 ~Mutex();
76 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
77 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
80 Mutex& mLock;
87 Mutex(const Mutex&);
88 Mutex& operator = (const Mutex&);
[all …]
DSingleton.h33 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); \
DCondition.h60 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()
DThread.h97 mutable Mutex mLock;
DLooper.h451 Mutex mLock;
/system/core/libutils/
DThreads.cpp354 Mutex::Mutex()
364 Mutex::Mutex(const char* name)
375 Mutex::Mutex(int type, const char* name)
386 Mutex::~Mutex()
391 status_t Mutex::lock()
398 void Mutex::unlock()
404 status_t Mutex::tryLock()
560 status_t Condition::wait(Mutex& mutex)
568 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime)
677 Mutex::Autolock _l(mLock); in run()
[all …]
DRefBase.cpp191 Mutex::Autolock _l(mMutex); in printRefs()
308 mutable Mutex mMutex;
/system/core/healthd/
DBatteryPropertiesRegistrar.cpp38 Mutex::Autolock _l(mRegistrationLock); in notifyListeners()
48 Mutex::Autolock _l(mRegistrationLock); in registerListener()
65 Mutex::Autolock _l(mRegistrationLock); in unregisterListener()
93 Mutex::Autolock _l(mRegistrationLock); in binderDied()
DBatteryPropertiesRegistrar.h37 Mutex mRegistrationLock;