OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WaitableMutexWrapper
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/services/camera/libcameraservice/utils/
AutoConditionLock.h
31
*
WaitableMutexWrapper
can be used with AutoConditionLock to construct scoped locks for the
34
class
WaitableMutexWrapper
{
40
explicit
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
's condition to true
[
all
...]
AutoConditionLock.cpp
21
WaitableMutexWrapper
::
WaitableMutexWrapper
(Mutex* mutex) : mMutex{mutex}, mState{false} {}
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/
CameraService.h
649
std::shared_ptr<
WaitableMutexWrapper
> mServiceLockWrapper;
[
all
...]
CameraService.cpp
135
mServiceLockWrapper = std::make_shared<
WaitableMutexWrapper
>(&mServiceLock);
[
all
...]
Completed in 1208 milliseconds