Home
last modified time | relevance | path

Searched refs:mThreadMutex (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/renderfright/threaded/
DRenderEngineThreaded.cpp43 std::lock_guard lockThread(mThreadMutex); in RenderEngineThreaded()
49 std::lock_guard lock(mThreadMutex); in ~RenderEngineThreaded()
71 std::unique_lock<std::mutex> lock(mThreadMutex); in threadMain()
80 mCondition.wait(lock, [this]() REQUIRES(mThreadMutex) { in threadMain()
90 std::lock_guard lock(mThreadMutex); in primeCache()
105 std::lock_guard lock(mThreadMutex); in dump()
122 std::lock_guard lock(mThreadMutex); in useNativeFenceSync()
137 std::lock_guard lock(mThreadMutex); in useWaitSync()
152 std::lock_guard lock(mThreadMutex); in genTextures()
167 std::lock_guard lock(mThreadMutex); in deleteTextures()
[all …]
DRenderEngineThreaded.h83 mutable std::mutex mThreadMutex; variable
84 std::thread mThread GUARDED_BY(mThreadMutex);
85 bool mRunning GUARDED_BY(mThreadMutex) = true;
87 GUARDED_BY(mThreadMutex);
/frameworks/native/libs/renderengine/threaded/
DRenderEngineThreaded.cpp44 std::lock_guard lockThread(mThreadMutex); in RenderEngineThreaded()
101 std::scoped_lock lock(mThreadMutex); in threadMain()
116 std::unique_lock<std::mutex> lock(mThreadMutex); in threadMain()
117 mCondition.wait(lock, [this]() REQUIRES(mThreadMutex) { in threadMain()
140 std::lock_guard lock(mThreadMutex); in primeCache()
164 std::lock_guard lock(mThreadMutex); in dump()
183 std::lock_guard lock(mThreadMutex); in mapExternalTextureBuffer()
197 std::lock_guard lock(mThreadMutex); in unmapExternalTextureBuffer()
230 std::lock_guard lock(mThreadMutex); in cleanupPostRender()
260 std::lock_guard lock(mThreadMutex); in drawLayers()
[all …]
DRenderEngineThreaded.h88 mutable std::mutex mThreadMutex; variable
89 std::thread mThread GUARDED_BY(mThreadMutex);
94 mutable std::queue<Work> mFunctionCalls GUARDED_BY(mThreadMutex);
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp54 std::lock_guard<std::mutex> lock(mThreadMutex); in ~SensorManager()
141 std::lock_guard<std::mutex> lock(mThreadMutex); in getLooper()
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h64 std::mutex mThreadMutex; //protects mPollThread member
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/
DSensorManagerAidl.h63 std::mutex mThreadMutex; // protects mPollThread variable
/frameworks/native/services/sensorservice/aidl/
DSensorManager.cpp53 std::lock_guard<std::mutex> lock(mThreadMutex); in ~SensorManagerAidl()
205 std::lock_guard<std::mutex> lock(mThreadMutex); in getLooper()