Home
last modified time | relevance | path

Searched refs:AutoConditionLock (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp26 AutoConditionLock::AutoConditionLock(const std::shared_ptr<WaitableMutexWrapper>& manager) : in AutoConditionLock() function in android::AutoConditionLock
30 AutoConditionLock::~AutoConditionLock() { in ~AutoConditionLock()
38 std::unique_ptr<AutoConditionLock> AutoConditionLock::waitAndAcquire( in waitAndAcquire()
43 return std::unique_ptr<AutoConditionLock>{nullptr}; in waitAndAcquire()
47 std::unique_ptr<AutoConditionLock> scopedLock(new AutoConditionLock(manager)); in waitAndAcquire()
57 return std::unique_ptr<AutoConditionLock>{nullptr}; in waitAndAcquire()
68 std::unique_ptr<AutoConditionLock> AutoConditionLock::waitAndAcquire( in waitAndAcquire()
73 return std::unique_ptr<AutoConditionLock>{nullptr}; in waitAndAcquire()
77 std::unique_ptr<AutoConditionLock> scopedLock(new AutoConditionLock(manager)); in waitAndAcquire()
84 return std::unique_ptr<AutoConditionLock>{nullptr}; in waitAndAcquire()
DAutoConditionLock.h35 friend class AutoConditionLock; variable
65 class AutoConditionLock final {
67 AutoConditionLock() = delete;
68 AutoConditionLock(const AutoConditionLock& other) = delete;
69 AutoConditionLock & operator=(const AutoConditionLock&) = delete;
71 ~AutoConditionLock();
79 static std::unique_ptr<AutoConditionLock> waitAndAcquire(
88 static std::unique_ptr<AutoConditionLock> waitAndAcquire(
91 explicit AutoConditionLock(const std::shared_ptr<WaitableMutexWrapper>& manager);
/frameworks/av/services/camera/libcameraservice/
DAndroid.bp66 "utils/AutoConditionLock.cpp",
DCameraService.cpp1422 std::unique_ptr<AutoConditionLock> lock = in connectHelper()
1423 AutoConditionLock::waitAndAcquire(mServiceLockWrapper, DEFAULT_CONNECT_TIMEOUT_NS); in connectHelper()
2007 std::unique_ptr<AutoConditionLock> lock = in evictClientIdByRemote()
2008 AutoConditionLock::waitAndAcquire(mServiceLockWrapper); in evictClientIdByRemote()
2078 std::unique_ptr<AutoConditionLock> lock = in doUserSwitch()
2079 AutoConditionLock::waitAndAcquire(mServiceLockWrapper); in doUserSwitch()