Searched refs:LockGuard (Results 1 – 9 of 9) sorted by relevance
25 LockGuard<MutexType>::LockGuard(MutexType& mutex) in LockGuard() function31 LockGuard<MutexType>::~LockGuard() { in ~LockGuard()
30 class LockGuard : public NonCopyable {35 LockGuard(MutexType& mutex);40 ~LockGuard();
30 LockGuard<Mutex> lock(mMutex); in push()41 LockGuard<Mutex> lock(mMutex); in pop()53 LockGuard<Mutex> lock(mMutex); in empty()
29 LockGuard<Mutex> lock(mMutex); in allocate()36 LockGuard<Mutex> lock(mMutex); in deallocate()
21 using chre::LockGuard;43 TEST(LockGuard, LockUnlock) { in TEST() argument48 LockGuard<MockMutex> lock(mutex); in TEST()
38 using chre::LockGuard;138 LockGuard<Mutex> lock(*gThreadMutex); in chre_slpi_start_thread()199 LockGuard<Mutex> lock(*gThreadMutex); in chre_slpi_stop_thread()247 LockGuard<Mutex> lock(*gThreadMutex); in chre_slpi_initialize_reverse_monitor()
35 LockGuard<Mutex> lock(mMutex); in setTimer()68 LockGuard<Mutex> lock(mMutex); in cancelTimer()158 LockGuard<Mutex> lock(mMutex); in onSystemTimerCallback()
152 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp()287 LockGuard<Mutex> lock(mNanoappsLock); in stopNanoapp()
110 LockGuard<Mutex> lock(mMutex); in postEvent()