Home
last modified time | relevance | path

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

/system/core/include/utils/
DMutex.h47 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 …]
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.cpp348 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 …]
DRefBase.cpp252 Mutex::Autolock _l(mMutex); in printRefs()
369 mutable Mutex mMutex;
/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()
DBatteryPropertiesRegistrar.h37 Mutex mRegistrationLock;