Home
last modified time | relevance | path

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

/cts/tests/tests/media/decoder/jni/
Dnative-media-jni.cpp132 std::mutex mMutex; member in CallbackData
142 mMutex.lock(); in ~CallbackData()
148 mMutex.unlock(); in ~CallbackData()
152 mMutex.lock(); in addInputBufferId()
154 mMutex.unlock(); in addInputBufferId()
159 mMutex.lock(); in getInputBufferId()
164 mMutex.unlock(); in getInputBufferId()
169 mMutex.lock(); in addOutputBuffer()
172 mMutex.unlock(); in addOutputBuffer()
176 mMutex.lock(); in addOutputFormat()
[all …]
/cts/tests/tests/libthermalndk/jni/
DNativeThermalTest.cpp45 std::mutex mMutex; member
47 std::vector<AThermalStatus> mListenerStatus GUARDED_BY(mMutex);
58 std::lock_guard<std::mutex> guard(ctx->mMutex); in onStatusChange()
106 std::unique_lock<std::mutex> lock(ctx.mMutex); in testRegisterThermalStatusListener()
200 std::unique_lock<std::mutex> lock(ctx.mMutex); in testThermalStatusListenerDoubleRegistration()
262 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetThermalHeadroom()
/cts/tests/media/jni/
DNativeCodecTestBase.cpp70 std::unique_lock<std::mutex> lock{mMutex}; in pushToInputList()
76 std::unique_lock<std::mutex> lock{mMutex}; in pushToOutputList()
83 std::unique_lock<std::mutex> lock{mMutex}; in getInput()
98 std::unique_lock<std::mutex> lock{mMutex}; in getOutput()
113 std::unique_lock<std::mutex> lock{mMutex}; in getWork()
133 std::unique_lock<std::mutex> lock{mMutex}; in isInputQueueEmpty()
138 std::unique_lock<std::mutex> lock{mMutex}; in clearQueues()
144 std::unique_lock<std::mutex> lock{mMutex}; in setOutputFormat()
155 std::unique_lock<std::mutex> lock{mMutex}; in getOutputFormat()
160 std::unique_lock<std::mutex> lock{mMutex}; in hasOutputFormatChanged()
[all …]
DNativeCodecTestBase.h61 std::mutex mMutex;
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp75 std::lock_guard<std::mutex> lock(mMutex); in getBufferFromCurrentImage()
114 std::lock_guard<std::mutex> lock(mMutex); in handleImageAvailable()
DImageReaderTestHelpers.h50 std::mutex mMutex; variable
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp68 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable()
80 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable()
93 std::lock_guard<std::mutex> lock(thiz->mMutex); in onCameraAccessPrioritiesChanged()
105 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraAvailable()
117 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraUnavailable()
124 std::lock_guard<std::mutex> lock(mMutex); in resetCount()
134 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount()
139 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount()
144 std::lock_guard<std::mutex> lock(mMutex); in getCameraAccessPrioritiesChangedCount()
149 std::lock_guard<std::mutex> lock(mMutex); in getPhysicalCameraAvailableCount()
[all …]
/cts/tests/tests/media/misc/jni/
DAImageReaderCts.cpp326 std::lock_guard<std::mutex> lock(mMutex); in getAcquiredImageCount()
331 std::lock_guard<std::mutex> lock(mMutex); in HandleImageAvailable()
452 std::mutex mMutex; member in __anonc5169af40111::ImageReaderTestCase