Searched refs:ConditionalLockGuard (Results 1 – 4 of 4) sorted by relevance
/system/chre/util/tests/ |
D | conditional_lock_guard_test.cc | 21 using chre::ConditionalLockGuard; 43 TEST(ConditionalLockGuard, LockUnlock) { in TEST() argument 48 ConditionalLockGuard<MockMutex> lock(mutex, true); in TEST() 55 TEST(ConditionalLockGuard, DontLock) { in TEST() argument 60 ConditionalLockGuard<MockMutex> lock(mutex, false); in TEST()
|
/system/chre/util/include/chre/util/ |
D | conditional_lock_guard_impl.h | 25 ConditionalLockGuard<MutexType>::ConditionalLockGuard(MutexType &mutex, in ConditionalLockGuard() function 34 ConditionalLockGuard<MutexType>::~ConditionalLockGuard() { in ~ConditionalLockGuard()
|
D | conditional_lock_guard.h | 29 class ConditionalLockGuard : public NonCopyable { 34 ConditionalLockGuard(MutexType &mutex, bool shouldLock); 39 ~ConditionalLockGuard();
|
/system/chre/core/ |
D | event_loop.cc | 67 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in findNanoappInstanceIdByAppId() 82 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in forEachNanoapp() 329 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in findNanoappByInstanceId() 335 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in populateNanoappInfoForAppId() 342 ConditionalLockGuard<Mutex> lock(mNanoappsLock, !inEventLoopThread()); in populateNanoappInfoForInstanceId()
|