/system/core/libutils/include/utils/ |
D | Mutex.h | 94 class CAPABILITY("mutex") Mutex { 101 Mutex(); 102 explicit Mutex(const char* name); 103 explicit Mutex(int type, const char* name = nullptr); 104 ~Mutex(); 132 inline explicit Autolock(Mutex& mutex) ACQUIRE(mutex) : mLock(mutex) { mLock.lock(); } in Autolock() 133 inline explicit Autolock(Mutex* mutex) ACQUIRE(mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() 137 Mutex& mLock; 147 Mutex(const Mutex&); 148 Mutex& operator=(const Mutex&); [all …]
|
D | Singleton.h | 52 Mutex::Autolock _l(sLock); in getInstance() 62 Mutex::Autolock _l(sLock); in hasInstance() 73 static Mutex sLock; 91 template<> ::android::Mutex \ 92 (::android::Singleton< TYPE >::sLock)(::android::Mutex::PRIVATE); \
|
D | Condition.h | 69 status_t wait(Mutex& mutex); 71 status_t waitRelative(Mutex& mutex, nsecs_t reltime); 117 inline status_t Condition::wait(Mutex& mutex) { in wait() 120 inline status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) { in waitRelative()
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | mutex_base_impl.h | 24 inline Mutex::Mutex() {} in Mutex() function 26 inline Mutex::~Mutex() {} in ~Mutex() 28 inline void Mutex::lock() { in lock() 32 inline bool Mutex::try_lock() { in try_lock() 36 inline void Mutex::unlock() { in unlock()
|
D | condition_variable_impl.h | 32 inline void ConditionVariable::wait(Mutex& mutex) { in wait() 36 inline bool ConditionVariable::wait_for(Mutex& mutex, Nanoseconds timeout) { in wait_for()
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | mutex_base_impl.h | 24 inline Mutex::Mutex() { in Mutex() function 28 inline Mutex::~Mutex() { in ~Mutex() 32 inline void Mutex::lock() { in lock() 36 inline bool Mutex::try_lock() { in try_lock() 40 inline void Mutex::unlock() { in unlock()
|
D | condition_variable_impl.h | 39 inline void ConditionVariable::wait(Mutex& mutex) { in wait() 45 inline bool ConditionVariable::wait_for(Mutex& mutex, Nanoseconds timeout) { in wait_for()
|
/system/core/libutils/ |
D | Mutex_test.cpp | 21 static android::Mutex mLock; 28 TEST(Mutex, compile) { in TEST() argument 29 android::Mutex::Autolock _l(mLock); in TEST() 34 TEST(Mutex, tryLock) { in TEST() argument 42 TEST(Mutex, timedLock) { in TEST() argument
|
D | Threads.cpp | 341 Mutex::Mutex() 351 Mutex::Mutex(const char* /*name*/) 362 Mutex::Mutex(int /*type*/, const char* /*name*/) 373 Mutex::~Mutex() 378 status_t Mutex::lock() 385 void Mutex::unlock() 391 status_t Mutex::tryLock() 547 status_t Condition::wait(Mutex& mutex) 555 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) 668 Mutex::Autolock _l(mLock); in run() [all …]
|
/system/chre/util/include/chre/util/ |
D | fixed_size_blocking_queue_impl.h | 30 LockGuard<Mutex> lock(mMutex); in push() 43 LockGuard<Mutex> lock(mMutex); in push() 54 LockGuard<Mutex> lock(mMutex); in pop() 66 LockGuard<Mutex> lock(mMutex); in empty() 72 LockGuard<Mutex> lock(mMutex); in size() 78 LockGuard<Mutex> lock(mMutex); in remove() 85 LockGuard<Mutex> lock(mMutex); 92 LockGuard<Mutex> lock(mMutex);
|
D | synchronized_memory_pool_impl.h | 29 LockGuard<Mutex> lock(mMutex); in allocate() 36 LockGuard<Mutex> lock(mMutex); in deallocate() 42 LockGuard<Mutex> lock(mMutex); in getFreeBlockCount()
|
D | synchronized_memory_pool.h | 61 Mutex mMutex;
|
/system/chre/platform/include/chre/platform/ |
D | mutex.h | 31 class Mutex : public MutexBase, 37 Mutex(); 42 ~Mutex();
|
D | condition_variable.h | 60 void wait(Mutex& mutex); 71 bool wait_for(Mutex& mutex, Nanoseconds timeout);
|
/system/chre/platform/slpi/smgr/ |
D | smr_helper.cc | 45 LockGuard<Mutex> lock(mMutex); in releaseSync() 77 LockGuard<Mutex> lock(mMutex); in waitForService() 151 LockGuard<Mutex> lock(mMutex); in sendReqSyncUntyped() 179 LockGuard<Mutex> lock(mMutex); in handleResp() 200 LockGuard<Mutex> lock(mMutex); in prepareForWait() 207 LockGuard<Mutex> lock(obj->mMutex); in smrReleaseCb() 225 LockGuard<Mutex> lock(obj->mMutex); in smrWaitForServiceCb()
|
/system/chre/platform/slpi/ |
D | init.cc | 47 using chre::Mutex; 86 Mutex gThreadMutex; 160 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_start_thread() 234 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_stop_thread() 277 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_initialize_reverse_monitor()
|
/system/tools/hidl/test/hidl_test/ |
D | FooCallback.cpp | 36 Mutex::Autolock lock(mLock); in heyItsYou() 52 Mutex::Autolock lock(mLock); in heyItsYouIsntIt() 68 Mutex::Autolock lock(mLock); in heyItsTheMeaningOfLife() 82 Mutex::Autolock lock(mLock); in reportResults() 115 Mutex::Autolock lock(mLock); in youBlockedMeFor()
|
/system/chre/platform/slpi/see/ |
D | island_vote_client.cc | 53 LockGuard<Mutex> lock(mMutex); in voteBigImage() 70 LockGuard<Mutex> lock(mMutex); in incrementBigImageRefCount() 88 LockGuard<Mutex> lock(mMutex); in decrementBigImageRefCount()
|
D | see_cal_helper.cc | 32 LockGuard<Mutex> lock(mMutex); in applyCalibration() 58 LockGuard<Mutex> lock(mMutex); in getBias() 121 LockGuard<Mutex> lock(mMutex); in updateCalibration()
|
/system/chre/core/ |
D | event_loop.cc | 62 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in findNanoappInstanceIdByAppId() 77 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in forEachNanoapp() 163 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp() 181 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp() 297 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in findNanoappByInstanceId() 303 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in populateNanoappInfoForAppId() 310 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in populateNanoappInfoForInstanceId() 456 LockGuard<Mutex> lock(mNanoappsLock); in unloadNanoappAtIndex()
|
D | timer_pool.cc | 50 LockGuard<Mutex> lock(mMutex); in setTimer() 80 LockGuard<Mutex> lock(mMutex); in cancelTimer() 215 LockGuard<Mutex> lock(mMutex); in handleExpiredTimersAndScheduleNext()
|
/system/libhwbinder/ |
D | Static.cpp | 76 Mutex& gProcessMutex = *new Mutex;
|
/system/libhwbinder/include/hwbinder/ |
D | Static.h | 32 extern Mutex& gProcessMutex;
|
/system/libhidl/libhidlcache/ |
D | HidlCache.h | 29 using Mutex = std::mutex; variable 30 using Lock = std::lock_guard<Mutex>; 67 Mutex mMutex;
|
/system/core/storaged/ |
D | storaged_info.cpp | 77 Mutex::Autolock _l(si_mutex); in load_perf_history_proto() 127 Mutex::Autolock _l(si_mutex); in refresh() 156 Mutex::Autolock _l(si_mutex); in update_perf_history() 206 Mutex::Autolock _l(si_mutex); in get_perf_history() 236 Mutex::Autolock _l(si_mutex); in get_recent_perf()
|