Searched refs:Mutex (Results 1 - 11 of 11) sorted by relevance

/system/core/include/utils/
H A DMutex.h42 class Mutex { class in namespace:android
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(); }
66 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); }
69 Mutex& mLock;
76 Mutex(const Mutex
91 inline Mutex::Mutex() { function in class:android::Mutex
94 inline Mutex::Mutex(__attribute__((unused)) const char* name) { function in class:android::Mutex
97 inline Mutex::Mutex(int type, __attribute__((unused)) const char* name) { function in class:android::Mutex
[all...]
H A DSingleton.h33 Mutex::Autolock _l(sLock);
43 Mutex::Autolock _l(sLock);
54 static Mutex sLock;
63 * NOTE: we use a version of Mutex ctor that takes a parameter, because
68 template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
H A Dthreads.h33 #include <utils/Mutex.h>
H A DCondition.h29 #include <utils/Mutex.h>
60 status_t wait(Mutex& mutex);
62 status_t waitRelative(Mutex& mutex, nsecs_t reltime);
105 inline status_t Condition::wait(Mutex& mutex) {
108 inline status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) {
H A DThread.h30 #include <utils/Mutex.h>
97 mutable Mutex mLock;
H A DLooper.h358 Mutex mLock;
/system/core/healthd/
H A DBatteryPropertiesRegistrar.cpp23 #include <utils/Mutex.h>
37 Mutex::Autolock _l(mRegistrationLock);
45 Mutex::Autolock _l(mRegistrationLock);
60 Mutex::Autolock _l(mRegistrationLock);
71 Mutex::Autolock _l(mRegistrationLock);
H A DBatteryPropertiesRegistrar.h23 #include <utils/Mutex.h>
42 Mutex mRegistrationLock;
/system/core/libutils/
H A DThreads.cpp354 * Mutex class
362 Mutex::Mutex()
372 Mutex::Mutex(const char* name)
383 Mutex::Mutex(int type, const char* name)
394 Mutex::~Mutex()
399 status_t Mutex
[all...]
H A DLinearAllocator.cpp62 static android::Mutex s_mutex;
H A DRefBase.cpp187 Mutex::Autolock _l(mMutex);
304 mutable Mutex mMutex;

Completed in 88 milliseconds