Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 21 of 21) sorted by relevance

/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/src/
DADecEncNdkSample.cpp44 unique_lock<mutex> lock(acodecSignal_->inMutexDec_); in AdecAsyncNeedInputData() local
57 unique_lock<mutex> lock(acodecSignal_->inMutexEnc_); in AdecAsyncNewOutputData() local
84 unique_lock<mutex> lock(acodecSignal_->inMutexEnc_); in AencAsyncNeedInputData() local
97 unique_lock<mutex> lock(acodecSignal_->outMutexEnc_); in AencAsyncNewOutputData() local
206 unique_lock<mutex> lock(acodecSignal_->inMutexDec_); in ResetDecParam() local
210 lock.unlock(); in ResetDecParam()
229 unique_lock<mutex> lock(acodecSignal_->inMutexEnc_); in ResetEncParam() local
233 lock.unlock(); in ResetEncParam()
248 unique_lock<mutex> lock(acodecSignal_->inMutexDec_); in StopDec() local
251 lock.unlock(); in StopDec()
[all …]
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
DVDecEncNdkSample.cpp55 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in VdecAsyncNeedInputData() local
69 unique_lock<mutex> lock(vcodecSignal_->outMutexDec_); in VdecAsyncNewOutputData() local
96 unique_lock<mutex> lock(vcodecSignal_->outMutexEnc_); in VencAsyncNewOutputData() local
272 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in StopDec() local
275 lock.unlock(); in StopDec()
297 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in FlushDec() local
300 lock.unlock(); in FlushDec()
322 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in ResetDec() local
325 lock.unlock(); in ResetDec()
349 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in ReleaseDec() local
[all …]
/test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/members/
DfileLock.test.js40 await file.lock();
69 await file.lock(true);
98 await file.lock(false);
127 await file.lock();
157 await file.lock();
187 await file.lock();
272 await file.lock(null);
300 await file.lock(true, true);
328 await file.lock(-1);
356 await file.lock();
[all …]
/test/xts/hats/powermgr/power/hdi_power/common/
Dhdi_power_test.cpp90 std::lock_guard<std::mutex> lock(g_mutex); in ReadFile() local
206 std::string lock = lockValue; variable
207 EXPECT_FALSE(lock.empty());
208 auto pos = lock.find(testName);
209 EXPECT_TRUE(pos != std::string::npos) << "HdfPowerHdiTest006 failed lock: " << lock;
/test/xts/dcts/distributedhardware/distributedscreentest/
Ddecoder_demo.cpp238 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc() local
239 signal_->inCond_.wait(lock, [this]() { return signal_->inQueue_.size() > 0; }); in InputFunc()
298 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
299 signal_->outCond_.wait(lock, [this]() { return signal_->outQueue_.size() > 0; }); in OutputFunc()
333 unique_lock<mutex> lock(signal_->inMutex_); in OnInputBufferAvailable() local
341 unique_lock<mutex> lock(signal_->outMutex_); in OnOutputBufferAvailable() local
/test/xts/acts/ai_lite/ai_engine_posix/
DBUILD.gn23 "//foundation/ai/engine/services/common/platform/lock:lock",
/test/ostest/wukong/common/src/
Dwukong_logger.cpp110 LOCK_PRINT_BUFFER.lock(); in Print()
145 mtxQueue_.lock(); in Print()
185 self->mtxQueue_.lock(); in Run()
/test/xts/acts/theme/screenlock_ets/entry/src/main/ets/test/
DscreenLockPromiseTest.ets33 * @tc.name Set to locked screen, query the lock screen state is locked state
57 * @tc.name Set to locked screen, query the lock screen state is locked state
81 * @tc.name Set to locked screen, query the lock screen state is locked state
104 * @tc.name Set to locked screen, query the lock screen state is locked state
DscreenLockTest.ets34 * @tc.name Set to locked screen, query the lock screen state is locked state
69 * @tc.name Set to locked screen, query the lock screen state is locked state
98 * @tc.name Set to locked screen, query the lock screen state is locked state
127 * @tc.name Set to locked screen, query the lock screen state is locked state
162 * @tc.name Set to locked screen, query the lock screen state is locked state
/test/xts/acts/bundlemanager/zlib/actszlibtest/
DActsZlibTest.cpp49 std::lock_guard<std::mutex> lock(puMutex_); in pull() local
62 std::lock_guard<std::mutex> lock(puMutex_); in push() local
69 std::lock_guard<std::mutex> lock(gzMutex_); in TestGzPrintf() local
159 std::lock_guard<std::mutex> lock(file_mutex);
793 std::lock_guard<std::mutex> lock(file_mutex);
855 std::lock_guard<std::mutex> lock(file_mutex);
883 std::lock_guard<std::mutex> lock(file_mutex);
906 std::lock_guard<std::mutex> lock(file_mutex);
928 std::lock_guard<std::mutex> lock(file_mutex);
949 std::lock_guard<std::mutex> lock(file_mutex);
[all …]
/test/xts/acts/powermgr/power_manager/src/main/js/test/
Dpower_performance.test.js59 runningLock.lock(500);
84 runningLock.lock(500);
Dpower_manager_running_lock.test.js36 runninglock.lock(500);
81 runninglock.lock(500);
265 runninglock.lock(500);
/test/xts/acts/ai/neural_network_runtime/common/
Dmock_idevice.cpp150 std::lock_guard<std::mutex> lock(m_mtx); in AllocateBuffer() local
174 std::lock_guard<std::mutex> lock(m_mtx); in ReleaseBuffer() local
182 std::lock_guard<std::mutex> lock(m_mtx); in MemoryCopy() local
/test/testfwk/arkxtest/uitest/connection/
Dipc_transactor.cpp198 unique_lock<mutex> lock(mtx); in PublishCallerAndWaitForBackcaller() local
213 … } while (tries < PUBLISH_MAX_RETIES && condition.wait_for(lock, period) == cv_status::timeout); in PublishCallerAndWaitForBackcaller()
224 unique_lock<mutex> lock(mtx); in WaitForPublishedCaller() local
244 if (condition.wait_for(lock, timeout) == cv_status::timeout) { in WaitForPublishedCaller()
/test/ostest/wukong/component_event/include/
Dwukong_tree.h68 return parent_.lock(); in GetParent()
/test/xts/hats/hdf/camera/buffer_manager/
Dbuffer_manager_utest.cpp287 std::mutex lock; variable
289 …std::thread dispatchBufferTask([&running, &idleList, &busyList, &bufferPool, &lock, &realFrameCoun… in __anon55289f3b0802()
291 std::lock_guard<std::mutex> l(lock); in __anon55289f3b0802()
304 std::thread acquireBufferTask([&running, &bufferPool, &lock, &inuseBufferList] { in __anon55289f3b0902()
308 std::lock_guard<std::mutex> l(lock); in __anon55289f3b0902()
313 …std::thread returnBufferTask([&running, &lock, &inuseBufferList, &bufferPool, &busyList, &idleList… in __anon55289f3b0a02()
317 std::lock_guard<std::mutex> l(lock); in __anon55289f3b0a02()
/test/testfwk/arkxtest/uitest/server/
Dserver_main.cpp194 unique_lock<mutex> lock(mtx); in StartDaemon() local
200 condVar.wait(lock); in StartDaemon()
/test/testfwk/arkxtest/uitest/record/
Dui_record.h94 std::lock_guard<std::mutex> lock(mut); in ProcessData()
/test/testfwk/arkxtest/uitest/napi/
Duitest_napi.cpp241 unique_lock<mutex> lock(g_gcQueueMutex); in TransactSync() local
246 lock.unlock(); in TransactSync()
391 unique_lock<mutex> lock(g_gcQueueMutex); in ExportClass() local
/test/xts/acts/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/ets/test/
DOnAndOffScreenTest.test.ets334 * @tc.desc : Application in the background, device lock screen.
436 * @tc.desc : Application in the background, device lock screen.
/test/xts/acts/multimedia_lite/media_lite_posix/player_native/src/
DActsMediaPlayerAudioTest.cpp59 std::shared_ptr<StreamCallback> callback = m_callBack.lock(); in GetBufferAddress()
68 std::shared_ptr<StreamCallback> callback = m_callBack.lock(); in QueueBuffer()