/system/nfc/halimpl/bcm2079x/adaptation/ |
D | Mutex.cpp | 41 memset(&mMutex, 0, sizeof(mMutex)); in Mutex() 42 int res = pthread_mutex_init(&mMutex, NULL); in Mutex() 58 int res = pthread_mutex_destroy(&mMutex); in ~Mutex() 74 int res = pthread_mutex_lock(&mMutex); in lock() 90 int res = pthread_mutex_unlock(&mMutex); in unlock() 106 int res = pthread_mutex_trylock(&mMutex); in tryLock() 122 pthread_mutex_t* Mutex::nativeHandle() { return &mMutex; } in nativeHandle()
|
D | SyncEvent.h | 50 void start() { mMutex.lock(); } in start() 61 void wait() { mCondVar.wait(mMutex); } in wait() 74 bool retVal = mCondVar.wait(mMutex, millisec); in wait() 99 void end() { mMutex.unlock(); } in end() 103 Mutex mMutex; variable
|
D | Mutex.h | 97 pthread_mutex_t mMutex;
|
/system/core/libutils/include/utils/ |
D | Mutex.h | 100 pthread_mutex_t mMutex; variable 112 pthread_mutex_init(&mMutex, NULL); in Mutex() 115 pthread_mutex_init(&mMutex, NULL); in Mutex() 122 pthread_mutex_init(&mMutex, &attr); in Mutex() 125 pthread_mutex_init(&mMutex, NULL); in Mutex() 129 pthread_mutex_destroy(&mMutex); in ~Mutex() 132 return -pthread_mutex_lock(&mMutex); in lock() 135 pthread_mutex_unlock(&mMutex); in unlock() 138 return -pthread_mutex_trylock(&mMutex); in tryLock() 147 return -pthread_mutex_timedlock(&mMutex, &ts); in timedLock()
|
D | Condition.h | 116 return -pthread_cond_wait(&mCond, &mutex.mMutex); in wait() 148 return -pthread_cond_timedwait(&mCond, &mutex.mMutex, &ts); in waitRelative()
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | mutex_base_impl.h | 25 qurt_mutex_init(&mMutex); in Mutex() 29 qurt_mutex_destroy(&mMutex); in ~Mutex() 33 qurt_mutex_lock(&mMutex); in lock() 37 return (qurt_mutex_try_lock(&mMutex) == 0); in try_lock() 41 qurt_mutex_unlock(&mMutex); in unlock()
|
D | mutex_base.h | 34 qurt_mutex_t mMutex;
|
D | condition_variable_impl.h | 37 qurt_cond_wait(&mConditionVariable, &mutex.mMutex); in wait()
|
/system/chre/util/include/chre/util/ |
D | fixed_size_blocking_queue_impl.h | 30 LockGuard<Mutex> lock(mMutex); in push() 41 LockGuard<Mutex> lock(mMutex); in pop() 43 mConditionVariable.wait(mMutex); in pop() 53 LockGuard<Mutex> lock(mMutex); in empty()
|
D | lock_guard_impl.h | 26 : mMutex(mutex) { in LockGuard() 27 mMutex.lock(); in LockGuard() 32 mMutex.unlock(); in ~LockGuard()
|
D | synchronized_memory_pool_impl.h | 29 LockGuard<Mutex> lock(mMutex); in allocate() 36 LockGuard<Mutex> lock(mMutex); in deallocate()
|
D | lock_guard.h | 44 MutexType& mMutex;
|
D | fixed_size_blocking_queue.h | 61 Mutex mMutex;
|
D | synchronized_memory_pool.h | 56 Mutex mMutex;
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | mutex_base_impl.h | 29 mMutex.lock(); in lock() 33 return mMutex.try_lock(); in try_lock() 37 mMutex.unlock(); in unlock()
|
D | mutex_base.h | 27 std::mutex mMutex; member
|
/system/libhidl/transport/include/hidl/ |
D | ConcurrentMap.h | 34 std::unique_lock<std::mutex> _lock(mMutex); in set() 40 std::unique_lock<std::mutex> _lock(mMutex); in get() 49 std::unique_lock<std::mutex> _lock(mMutex); in erase() 54 mutable std::mutex mMutex;
|
/system/libhidl/base/include/hidl/ |
D | SynchronizedQueue.h | 50 std::mutex mMutex; member 61 std::unique_lock<std::mutex> lock(mMutex); in wait_pop() 77 std::unique_lock<std::mutex> lock(mMutex); in push() 92 std::unique_lock<std::mutex> lock(mMutex); in size()
|
/system/chre/core/ |
D | timer_pool.cc | 35 LockGuard<Mutex> lock(mMutex); in setTimer() 68 LockGuard<Mutex> lock(mMutex); in cancelTimer() 158 LockGuard<Mutex> lock(mMutex); in onSystemTimerCallback()
|
/system/nfc/src/include/ |
D | NfcAdaptation.h | 43 operator pthread_mutex_t*() { return &mMutex; } 46 pthread_mutex_t mMutex;
|
/system/nfc/src/adaptation/ |
D | NfcAdaptation.cpp | 642 pthread_mutex_init(&mMutex, &mutexAttr); in ThreadMutex() 655 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex() 666 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock() 677 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
/system/core/libutils/ |
D | RefBase.cpp | 262 Mutex::Autolock _l(mMutex); in printRefs() 305 AutoMutex _l(mMutex); in addRef() 324 AutoMutex _l(mMutex); in removeRef() 356 AutoMutex _l(mMutex); in renameRefsId() 384 mutable Mutex mMutex; member in android::RefBase::weakref_impl
|
/system/chre/core/include/chre/core/ |
D | timer_pool.h | 121 Mutex mMutex; variable
|
D | event_loop_manager.h | 196 Mutex mMutex;
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 392 std::unique_lock<std::mutex> lock(mMutex); in onRegistration() 406 std::unique_lock<std::mutex> lock(mMutex); in wait() 423 std::mutex mMutex; member
|