Searched refs:WaitableMutexWrapper (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
H A DAutoConditionLock.h31 * WaitableMutexWrapper can be used with AutoConditionLock to construct scoped locks for the
34 class WaitableMutexWrapper { class in namespace:android
40 WaitableMutexWrapper(Mutex* mutex);
42 virtual ~WaitableMutexWrapper();
53 * AutoConditionLock is used with a WaitableMutexWrapper to lock/unlock the WaitableMutexWrapper's
54 * wrapped Mutex, and wait/set/signal the WaitableMutexWrapper's wrapped condition. To use this,
56 * - Lock the given WaitableMutexWrapper's mutex.
57 * - Wait for the WaitableMutexWrapper's condition to become false, or timeout.
58 * - Set the WaitableMutexWrapper'
[all...]
H A DAutoConditionLock.cpp21 WaitableMutexWrapper::WaitableMutexWrapper(Mutex* mutex) : mMutex{mutex}, mState{false} {} function in class:android::WaitableMutexWrapper
23 WaitableMutexWrapper::~WaitableMutexWrapper() {}
26 AutoConditionLock::AutoConditionLock(const std::shared_ptr<WaitableMutexWrapper>& manager) :
39 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime) {
69 const std::shared_ptr<WaitableMutexWrapper>& manager) {
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h520 std::shared_ptr<WaitableMutexWrapper> mServiceLockWrapper;
H A DCameraService.cpp159 mServiceLockWrapper = std::make_shared<WaitableMutexWrapper>(&mServiceLock);

Completed in 200 milliseconds