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.cpp1394 std::unique_ptr<AutoConditionLock> lock = in connectHelper()
1395 AutoConditionLock::waitAndAcquire(mServiceLockWrapper, DEFAULT_CONNECT_TIMEOUT_NS); in connectHelper()
1966 std::unique_ptr<AutoConditionLock> lock = in evictClientIdByRemote()
1967 AutoConditionLock::waitAndAcquire(mServiceLockWrapper); in evictClientIdByRemote()
2037 std::unique_ptr<AutoConditionLock> lock = in doUserSwitch()
2038 AutoConditionLock::waitAndAcquire(mServiceLockWrapper); in doUserSwitch()