Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 66) sorted by relevance

123

/test/xts/acts/multimedia/media/media_ndk_standard/LowPowerPlayerNDK/entry/src/main/cpp/sample/player/
DPlayer.cpp72 std::unique_lock<std::mutex> lock(mutex_); in CreateLppSet() local
389 std::unique_lock<std::mutex> lock(mutex_); in Init() local
421 std::unique_lock<std::mutex> lock(mutex_); in CreatePrepare() local
461 std::unique_lock<std::mutex> lock(mutex_); in Start() local
554 std::unique_lock<std::mutex> lock(mutex_); in Stop() local
578 std::unique_lock<std::mutex> lock(mutex_); in AudioStop() local
594 std::unique_lock<std::mutex> lock(mutex_); in VideoStop() local
610 std::unique_lock<std::mutex> lock(mutex_); in Reset() local
640 std::unique_lock<std::mutex> lock(mutex_); in AudioReset() local
661 std::unique_lock<std::mutex> lock(mutex_); in VideoReset() local
[all …]
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/
Ddevattest_client.cpp38 std::lock_guard<std::mutex> lock(clientLock_); in GetDeviceProfileService() local
56 std::lock_guard<std::mutex> lock(clientLock_); in GetDeviceProfileService() local
70 std::unique_lock<std::mutex> lock(clientLock_); in LoadDevAttestProfile() local
94 std::unique_lock<std::mutex> lock(clientLock_); in LoadSystemAbilitySuccess() local
103 std::unique_lock<std::mutex> lock(clientLock_); in LoadSystemAbilityFail() local
/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
229 unique_lock<mutex> lock(acodecSignal_->inMutexEnc_); in ResetEncParam() local
248 unique_lock<mutex> lock(acodecSignal_->inMutexDec_); in StopDec() local
274 unique_lock<mutex> lock(acodecSignal_->inMutexDec_); in FlushDec() local
300 unique_lock<mutex> lock(acodecSignal_->inMutexDec_); in ResetDec() local
330 unique_lock<mutex> lock(acodecSignal_->inMutexDec_); in ReleaseDec() local
[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
297 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in FlushDec() local
322 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in ResetDec() local
349 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in ReleaseDec() local
357 unique_lock<mutex> lock(vcodecSignal_->outMutexDec_); in ReleaseDec() local
411 unique_lock<mutex> lock(vcodecSignal_->inMutexDec_); in InputFuncDec() local
486 unique_lock<mutex> lock(vcodecSignal_->outMutexDec_); in OutputFuncDec() local
[all …]
/test/xts/acts/multimedia/av_codec/audio_test/src/
Daudio_encoder_capi_ndk_test.cpp84 unique_lock<mutex> lock(signal->inMutex_); in OnInputBufferAvailableAv() local
94 unique_lock<mutex> lock(signal->outMutex_); in OnOutputBufferAvailableAv() local
201 unique_lock<mutex> lock(signalAv_->inMutex_); in InputFuncAv() local
248 unique_lock<mutex> lock(signalAv_->outMutex_); in OutputFuncAv() local
367 unique_lock<mutex> lock(signalAv_->inMutex_); variable
375 unique_lock<mutex> lock(signalAv_->outMutex_); variable
418 unique_lock<mutex> lock(signalAv_->inMutex_); variable
426 unique_lock<mutex> lock(signalAv_->outMutex_); variable
467 unique_lock<mutex> lock(signalAv_->inMutex_); variable
475 unique_lock<mutex> lock(signalAv_->outMutex_); variable
[all …]
/test/testfwk/arkxtest/testserver/test/unittest/
Dstart_test_server.cpp40 std::unique_lock<std::mutex> lock(locatorMutex_); in InitLoadState() local
46 std::unique_lock<std::mutex> lock(locatorMutex_); in WaitLoadStateChange() local
65 std::unique_lock<std::mutex> lock(locatorMutex_); in OnLoadSystemAbilitySuccess() local
74 std::unique_lock<std::mutex> lock(locatorMutex_); in OnLoadSystemAbilityFail() local
/test/ostest/wukong/common/src/
Dcount_down_latch.cpp26 std::unique_lock<std::mutex> lock(mtx_); in countDown() local
35 std::unique_lock<std::mutex> lock(mtx_); in await() local
/test/xts/acts/multimedia/av_codec/audio_decoder/src/
Davcodec_audio_avbuffer_decoder_demo.cpp68 unique_lock<mutex> lock(signal->inMutex_); in OnInputBufferAvailable() local
78 unique_lock<mutex> lock(signal->outMutex_); in OnOutputBufferAvailable() local
242 unique_lock<mutex> lock(signal_->startMutex_); in RunCase() local
391 unique_lock<mutex> lock(signal_->inMutex_); in Stop() local
406 unique_lock<mutex> lock(signal_->outMutex_); in Stop() local
433 unique_lock<mutex> lock(signal_->inMutex_); in Flush() local
449 unique_lock<mutex> lock(signal_->outMutex_); in Flush() local
524 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc() local
591 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
776 unique_lock<mutex> lock(signal_->inMutex_); in PushInputData() local
[all …]
/test/xts/hats/kernel/syscalls/fileio/fcntl/
DFcntlApiTest.cpp103 struct flock lock = { variable
204 struct flock lock = { variable
232 struct flock lock = { variable
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
Dvideoenc_ndk_sample.cpp93 unique_lock<mutex> lock(signal->inMutex_); in VencInputDataReady() local
122 unique_lock<mutex> lock(signal->outMutex_); in VencOutputDataReady() local
237 unique_lock<mutex> lock(signal_->inMutex_); in state_EOS() local
264 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
569 unique_lock<mutex> lock(signal_->inMutex_); in RandomEOS() local
624 unique_lock<mutex> lock(signal_->inMutex_); in SetEOS() local
677 unique_lock<mutex> lock(signal_->inMutex_); in PushData() local
742 unique_lock<mutex> lock(signal_->inMutex_); in InputDataFuzz() local
756 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc() local
825 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
[all …]
Dvideoenc_api11_sample.cpp98 unique_lock<mutex> lock(signal->inMutex_); in onEncInputBufferAvailable() local
107 unique_lock<mutex> lock(signal->outMutex_); in onEncOutputBufferAvailable() local
342 unique_lock<mutex> lock(signal_->inMutex_); in state_EOS() local
372 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
856 unique_lock<mutex> lock(signal_->inMutex_); in RandomEOS() local
920 unique_lock<mutex> lock(signal_->inMutex_); in SetEOS() local
1045 unique_lock<mutex> lock(signal_->inMutex_); in PushData() local
1076 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc() local
1228 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
1426 unique_lock<mutex> lock(signal_->outMutex_); in StopOutloop() local
/test/testfwk/arkxtest/testserver/src/client/
Dtest_server_client.cpp45 std::unique_lock<std::mutex> lock(locatorMutex_); in InitLoadState() local
51 std::unique_lock<std::mutex> lock(locatorMutex_); in WaitLoadStateChange() local
74 std::unique_lock<std::mutex> lock(locatorMutex_); in OnLoadSystemAbilitySuccess() local
85 std::unique_lock<std::mutex> lock(locatorMutex_); in OnLoadSystemAbilityFail() local
/test/xts/acts/multimedia/av_codec/audio_encoder/src/
Davcodec_audio_avbuffer_encoder_demo.cpp168 unique_lock<mutex> lock(signal->inMutex_); in OnInputBufferAvailable() local
178 unique_lock<mutex> lock(signal->outMutex_); in OnOutputBufferAvailable() local
265 unique_lock<mutex> lock(signal_->startMutex_); in RunCase() local
357 unique_lock<mutex> lock(signal_->inMutex_); in Stop() local
372 unique_lock<mutex> lock(signal_->outMutex_); in Stop() local
392 unique_lock<mutex> lock(signal_->inMutex_); in Flush() local
408 unique_lock<mutex> lock(signal_->outMutex_); in Flush() local
454 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc() local
497 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
677 unique_lock<mutex> lock(signal_->inMutex_); in PushInputDataEOS() local
/test/xts/dcts/distributedhardware/distributedscreentest/
Ddecoder_demo.cpp235 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc() local
298 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
328 unique_lock<mutex> lock(signal_->inMutex_); in OnInputBufferAvailable() local
338 unique_lock<mutex> lock(signal_->outMutex_); in OnOutputBufferAvailable() local
/test/xts/acts/multimedia/media/media_ndk_standard/LowPowerPlayerNDK/entry/src/main/cpp/common/
Dsample_callback.cpp36 std::unique_lock<std::mutex> lock(codecUserData->outputMutex); in OnRenderWriteData() local
101 std::unique_lock<std::mutex> lock(codecUserData->inputMutex); in OnNeedInputBuffer() local
113 std::unique_lock<std::mutex> lock(codecUserData->outputMutex); in OnNewOutputBuffer() local
DlppCallback.cpp33 std::unique_lock<std::mutex> lock(lppUserData->inputMutex); in OnDataNeeded() local
44 std::unique_lock<std::mutex> lock(lppUserData->inputMutex); in OnPositionUpdated() local
77 std::unique_lock<std::mutex> lock(lppUserData->inputMutex); in OnDataNeededVideo() local
101 std::unique_lock<std::mutex> lock(lppUserData->seekMutex_); in OnTargetArrived() local
/test/xts/acts/multimedia/media/media_js_standard/AVRecorderVideoNDK/entry/src/main/cpp/
Dvideo_encoder_sample.cpp43 std::unique_lock<std::mutex> lock(codecUserData->inputMutex_); in OnNeedInputBuffer() local
54 std::unique_lock<std::mutex> lock(codecUserData->inputMutex_); in OnNewOutputBuffer() local
/test/xts/acts/multimedia/av_codec/vcodec/hevchwencoder/src/
DVideoencApi11Test.cpp85 unique_lock<mutex> lock(signal->inMutex_); in onEncInputBufferAvailable() local
108 unique_lock<mutex> lock(signal->outMutex_); in onEncOutputBufferAvailable() local
247 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
589 unique_lock<mutex> lock(signal_->inMutex_); in RandomEOS() local
607 unique_lock<mutex> lock(signal_->inMutex_); in SetEOS() local
655 unique_lock<mutex> lock(signal_->inMutex_); in PushData() local
685 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc() local
801 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
890 unique_lock<mutex> lock(signal_->outMutex_); in StopOutloop() local
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/
Dvideodec_ndk_sample.cpp122 unique_lock<mutex> lock(signal->inMutex_); in VdecInputDataReady() local
135 unique_lock<mutex> lock(signal->outMutex_); in VdecOutputDataReady() local
287 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
402 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc() local
568 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc_AVCC() local
600 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc_FUZZ() local
643 unique_lock<mutex> lock(signal_->inMutex_); in state_EOS() local
720 unique_lock<mutex> lock(signal_->outMutex_); in StopOutloop() local
DVideodecApi11SampleTest.cpp146 unique_lock<mutex> lock(signal->inMutex_); in VdecAPI11InputDataReady() local
171 unique_lock<mutex> lock(signal->outMutex_); in VdecAPI11OutputDataReady() local
359 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
536 unique_lock<mutex> lock(signal_->inMutex_); in InputFuncTest() local
790 unique_lock<mutex> lock(signal_->outMutex_); in OutputFuncTest() local
936 unique_lock<mutex> lock(signal_->inMutex_); in state_EOS() local
1013 unique_lock<mutex> lock(signal_->outMutex_); in StopOutloop() local
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/
Dvideodec_ndk_sample.cpp147 unique_lock<mutex> lock(signal->inMutex_); in VdecInputDataReady() local
173 unique_lock<mutex> lock(signal->outMutex_); in VdecOutputDataReady() local
353 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
479 unique_lock<mutex> lock(signal_->inMutex_); in InputFuncTest() local
651 unique_lock<mutex> lock(signal_->outMutex_); in OutputFuncTest() local
720 unique_lock<mutex> lock(signal_->inMutex_); in state_EOS() local
801 unique_lock<mutex> lock(signal_->outMutex_); in StopOutloop() local
/test/xts/acts/multimedia/av_codec/vcodec/hdrcodec/src/
Dhdrcodec_ndk_sample.cpp52 unique_lock<mutex> lock(signal->inMutex_); in VdecInputDataReady() local
305 unique_lock<mutex> lock(decSignal->inMutex_); in InputFunc() local
446 unique_lock<mutex> lock(decSignal->inMutex_); in StopInloop() local
470 unique_lock<mutex> lock(mtx); in WaitForEos() local
/test/xts/acts/multimedia/av_codec/vcodec/h263swdecoder/src/
DVideodecApi11SampleTest.cpp155 unique_lock<mutex> lock(signal->inMutex_); in VdecAPI11InputDataReady() local
180 unique_lock<mutex> lock(signal->outMutex_); in VdecAPI11OutputDataReady() local
378 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
546 unique_lock<mutex> lock(signal_->inMutex_); in InputFuncTest() local
804 unique_lock<mutex> lock(signal_->outMutex_); in OutputFuncTest() local
950 unique_lock<mutex> lock(signal_->inMutex_); in state_EOS() local
1027 unique_lock<mutex> lock(signal_->outMutex_); in StopOutloop() local
/test/xts/acts/multimedia/videoProcess/detail_enhancer_video_ndk/src/
Dvideo_sample.cpp234 unique_lock<mutex> lock(mutex_); in WaitAndStopSample() local
245 unique_lock<mutex> lock(mutex_); in WaitAndStopSampleImpl() local
265 unique_lock<mutex> lock(mutexListener_); in OnBufferAvailable() local
/test/xts/acts/multimedia/av_codec/vcodec/mpeg2swdecoder/src/
DVideodecApi11SampleTest.cpp146 unique_lock<mutex> lock(signal->inMutex_); in VdecAPI11InputDataReady() local
171 unique_lock<mutex> lock(signal->outMutex_); in VdecAPI11OutputDataReady() local
363 unique_lock<mutex> lock(signal_->inMutex_); in StopInloop() local
609 unique_lock<mutex> lock(signal_->inMutex_); in InputFuncTest() local
864 unique_lock<mutex> lock(signal_->outMutex_); in OutputFuncTest() local
1010 unique_lock<mutex> lock(signal_->inMutex_); in state_EOS() local
1087 unique_lock<mutex> lock(signal_->outMutex_); in StopOutloop() local

123