Home
last modified time | relevance | path

Searched refs:mWorkerLock (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp35 std::unique_lock<std::mutex> lock(mWorkerLock); in start()
36 android::base::ScopedLockAssertion lock_assertion(mWorkerLock); in start()
38 android::base::ScopedLockAssertion lock_assertion(mWorkerLock); in start()
46 std::lock_guard<std::mutex> lock(mWorkerLock); in stop()
71 std::unique_lock<std::mutex> lock(mWorkerLock); in switchWorkerStateSync()
72 android::base::ScopedLockAssertion lock_assertion(mWorkerLock); in switchWorkerStateSync()
80 android::base::ScopedLockAssertion lock_assertion(mWorkerLock); in switchWorkerStateSync()
106 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread()
123 android::base::ScopedLockAssertion lock_assertion(mWorkerLock); in workerThread()
143 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread()
[all …]
/hardware/interfaces/audio/aidl/common/include/
DStreamWorker.h50 std::lock_guard<std::mutex> lock(mWorkerLock); in hasError()
54 std::lock_guard<std::mutex> lock(mWorkerLock); in getError()
58 std::lock_guard<std::mutex> lock(mWorkerLock); in getTid()
70 lock ? mWorkerLock.lock() : mWorkerLock.unlock(); in lockUnlockMutex()
83 std::mutex mWorkerLock; variable
85 WorkerState mWorkerState GUARDED_BY(mWorkerLock) = WorkerState::INITIAL;
86 std::string mError GUARDED_BY(mWorkerLock);
87 pid_t mTid GUARDED_BY(mWorkerLock) = -1;
97 std::atomic<bool> mWorkerStateChangeRequest GUARDED_BY(mWorkerLock) = false;
/hardware/interfaces/audio/core/all-versions/vts/functional/
DStreamWorker.h34 std::unique_lock<std::mutex> lock(mWorkerLock); in start()
41 std::lock_guard<std::mutex> lock(mWorkerLock); in hasError()
46 std::lock_guard<std::mutex> lock(mWorkerLock); in stop()
77 std::unique_lock<std::mutex> lock(mWorkerLock);
89 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread()
119 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread()
128 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread()
143 std::mutex mWorkerLock; variable