Home
last modified time | relevance | path

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

/system/core/include/utils/
DMutex.h42 class Mutex {
49 Mutex();
50 Mutex(const char* name);
51 Mutex(int type, const char* name = NULL);
52 ~Mutex();
65 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
66 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
69 Mutex& mLock;
76 Mutex(const Mutex&);
77 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<> Mutex Singleton< TYPE >::sLock(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.h447 Mutex mLock;
/system/core/libutils/
DThreads.cpp368 Mutex::Mutex()
378 Mutex::Mutex(const char* name)
389 Mutex::Mutex(int type, const char* name)
400 Mutex::~Mutex()
405 status_t Mutex::lock()
412 void Mutex::unlock()
418 status_t Mutex::tryLock()
576 status_t Condition::wait(Mutex& mutex)
584 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime)
695 Mutex::Autolock _l(mLock); in run()
[all …]
DLinearAllocator.cpp62 static android::Mutex s_mutex;
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;