Home
last modified time | relevance | path

Searched refs:mutex_ (Results 1 – 25 of 40) sorted by relevance

12

/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dobject_collector.cpp37 std::lock_guard<std::mutex> lock(mutex_); in ConstructorRegister()
44 std::lock_guard<std::mutex> lock(mutex_); in ConstructorUnRegister()
65 std::lock_guard<std::mutex> lock(mutex_); in NewObject()
75 mutex_.lock(); in GetOrNewObject()
81 mutex_.unlock(); in GetOrNewObject()
83 mutex_.lock(); in GetOrNewObject()
86 mutex_.unlock(); in GetOrNewObject()
91 mutex_.unlock(); in GetOrNewObject()
97 std::lock_guard<std::mutex> lock(mutex_); in RemoveObject()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/
Dstream_pipeline_core.cpp47 std::lock_guard<std::recursive_mutex> l(mutex_); in CreatePipeline()
61 std::lock_guard<std::recursive_mutex> l(mutex_); in DestroyPipeline()
73 std::lock_guard<std::recursive_mutex> l(mutex_); in Prepare()
83 std::lock_guard<std::recursive_mutex> l(mutex_); in Start()
94 std::lock_guard<std::recursive_mutex> l(mutex_); in SetCallback()
113 std::lock_guard<std::recursive_mutex> l(mutex_); in Config()
123 std::lock_guard<std::recursive_mutex> l(mutex_); in Capture()
133 std::lock_guard<std::recursive_mutex> l(mutex_); in CancelCapture()
143 std::lock_guard<std::recursive_mutex> l(mutex_); in Flush()
155 std::lock_guard<std::recursive_mutex> l(mutex_); in GetOfflinePipeline()
/drivers/peripheral/pin_auth/hdi_service/main/src/
Dpin_auth.cpp47 std::lock_guard<std::mutex> gurard(mutex_); in Init()
62 std::lock_guard<std::mutex> gurard(mutex_); in Close()
87 std::lock_guard<std::mutex> gurard(mutex_); in EnrollPin()
130 std::lock_guard<std::mutex> gurard(mutex_); in GetSalt()
147 std::lock_guard<std::mutex> gurard(mutex_); in AuthPin()
188 std::lock_guard<std::mutex> gurard(mutex_); in QueryPinInfo()
206 std::lock_guard<std::mutex> gurard(mutex_); in DeleteTemplate()
220 std::lock_guard<std::mutex> gurard(mutex_); in GetExecutorInfo()
244 std::lock_guard<std::mutex> gurard(mutex_); in VerifyTemplateData()
261 std::lock_guard<std::mutex> gurard(mutex_); in WriteAntiBrute()
/drivers/external_device_manager/services/native/driver_extension_manager/src/input_emit_event/
Dinject_thread.cpp53 std::unique_lock<std::mutex> uniqueLock(mutex_); in InjectFunc()
67 std::lock_guard<std::mutex> lockGuard(mutex_); in WaitFunc()
75 std::lock_guard<std::mutex> lockGuard(mutex_); in Stop()
/drivers/peripheral/user_auth/test/unittest/mocks/inc/
Dc_mocker.h33 std::lock_guard<std::mutex> lock(mutex_); in CMocker()
40 std::lock_guard<std::mutex> lock(mutex_); in ~CMocker()
51 return mutex_; in GetMutex()
56 static std::mutex mutex_; variable
63 std::mutex CMocker<T>::mutex_ {};
/drivers/peripheral/location/gnss/hdi_service/
Dlocation_vendor_interface.cpp30 std::mutex LocationVendorInterface::mutex_; member in OHOS::HDI::Location::LocationVendorInterface
48 std::lock_guard<std::mutex> lock(mutex_); in GetInstance()
58 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
Dlocation_vendor_interface.h39 static std::mutex mutex_; variable
/drivers/peripheral/power/interfaces/hdi_service/src/
Drunning_lock_impl.cpp35 std::mutex RunningLockImpl::mutex_; member in OHOS::HDI::Power::V1_1::RunningLockImpl
42 std::lock_guard<std::mutex> lock(mutex_); in Hold()
78 std::lock_guard<std::mutex> lock(mutex_); in Unhold()
103 std::lock_guard<std::mutex> lock(mutex_); in GetCount()
114 std::lock_guard<std::mutex> lock(mutex_); in SetDefaultTimeOutMs()
Drunning_lock_impl.h43 static std::mutex mutex_; variable
/drivers/peripheral/codec/hal/idl_service/src/
Dcomponent_mgr.cpp37 std::lock_guard<std::mutex> lk(mutex_); in CreateComponentInstance()
60 std::lock_guard<std::mutex> lk(mutex_); in DeleteComponentInstance()
92 std::lock_guard<std::mutex> lk(mutex_); in AddComponentByLibName()
104 std::lock_guard<std::mutex> lk(mutex_); in CleanComponent()
Dcodec_component_manager_service.cpp78 std::unique_lock<std::mutex> autoLock(mutex_); in CreateComponent()
88 std::unique_lock<std::mutex> autoLock(mutex_); in DestroyComponent()
/drivers/peripheral/thermal/interfaces/hdi_service/src/
Dthermal_device_mitigation.cpp105 std::lock_guard<std::mutex> lock(mutex_); in ExecuteCpuRequest()
150 std::lock_guard<std::mutex> lock(mutex_); in GpuRequest()
178 std::lock_guard<std::mutex> lock(mutex_); in ExecuteChargerRequest()
203 std::lock_guard<std::mutex> lock(mutex_); in BatteryCurrentRequest()
228 std::lock_guard<std::mutex> lock(mutex_); in BatteryVoltageRequest()
271 std::lock_guard<std::mutex> lock(mutex_); in IsolateCpu()
Dthermal_zone_manager.cpp56 std::lock_guard<std::mutex> lock(mutex_); in Init()
173 std::lock_guard<std::mutex> lock(mutex_); in UpdateThermalZoneData()
209 std::lock_guard<std::mutex> lock(mutex_); in CalculateMaxCd()
289 std::lock_guard<std::mutex> lock(mutex_); in ReportThermalZoneData()
322 std::lock_guard<std::mutex> lock(mutex_); in GetCallbackInfo()
343 std::lock_guard<std::mutex> lock(mutex_); in DumpPollingInfo()
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
Dcomponent_mgr.cpp38 std::lock_guard<std::mutex> lk(mutex_); in CreateComponentInstance()
92 std::lock_guard<std::mutex> lk(mutex_); in AddComponentByLibName()
104 std::lock_guard<std::mutex> lk(mutex_); in CleanComponent()
/drivers/peripheral/intelligent_voice/hdi_service/engine/
Dintell_voice_engine_manager_impl.cpp91 std::lock_guard<std::mutex> lock(mutex_); in CreateAdapter()
117 std::lock_guard<std::mutex> lock(mutex_); in ReleaseAdapter()
/drivers/external_device_manager/services/native/driver_extension_manager/include/input_emit_event/
Dinject_thread.h43 std::mutex mutex_;
/drivers/peripheral/intelligent_voice/hdi_service/trigger/
Dintell_voice_trigger_manager_impl.cpp91 std::lock_guard<std::mutex> lock(mutex_); in LoadAdapter()
126 std::lock_guard<std::mutex> lock(mutex_); in UnloadAdapter()
Dintell_voice_trigger_manager_impl.h54 std::mutex mutex_ {};
/drivers/external_device_manager/frameworks/native/
Ddriver_ext_mgr_client.cpp38 std::lock_guard<std::mutex> lock(mutex_); in Connect()
76 std::lock_guard<std::mutex> lock(mutex_); in DisConnect()
/drivers/peripheral/thermal/interfaces/hdi_service/include/
Dthermal_interface_impl.h52 std::mutex mutex_; variable
Dthermal_device_mitigation.h45 std::mutex mutex_; variable
/drivers/peripheral/battery/interfaces/hdi_service/src/
Dbattery_config.cpp46 std::mutex BatteryConfig::mutex_; member in OHOS::HDI::Battery::V1_2::BatteryConfig
50 std::lock_guard<std::mutex> lock(mutex_); in GetInstance()
109 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
/drivers/peripheral/codec/image/jpeg/include/
Dcodec_jpeg_dec.h54 std::mutex mutex_; variable
/drivers/peripheral/codec/hal/idl_service/include/
Dcodec_component_manager_service.h46 std::mutex mutex_; variable
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/
Dcomponent_mgr.h61 std::mutex mutex_; variable

12