Home
last modified time | relevance | path

Searched refs:g_mutex (Results 1 - 18 of 18) sorted by relevance

/drivers/peripheral/wlan/hal/src/
H A Dwifi_hal_util.c28 OSAL_DECLARE_MUTEX(g_mutex); variable
35 ret = OsalMutexInit(&g_mutex); in HalMutexInit()
49 ret = OsalMutexDestroy(&g_mutex); in HalMutexDestroy()
61 if (OsalMutexLock(&g_mutex) != HDF_SUCCESS) { in HalMutexLock()
68 if (OsalMutexUnlock(&g_mutex) != HDF_SUCCESS) { in HalMutexUnlock()
/drivers/peripheral/wlan/chip/hdi_service/
H A Dhdi_sync_util.cpp19 std::recursive_mutex g_mutex; member
30 return std::unique_lock<std::recursive_mutex>{g_mutex}; in AcquireGlobalLock()
/drivers/external_device_manager/frameworks/ddk/base/
H A Dddk_api.cpp29 std::mutex g_mutex; member
63 std::lock_guard<std::mutex> lock(g_mutex); in OH_DDK_CreateAshmem()
90 std::lock_guard<std::mutex> lock(g_mutex); in OH_DDK_MapAshmem()
115 std::lock_guard<std::mutex> lock(g_mutex); in OH_DDK_UnmapAshmem()
129 std::lock_guard<std::mutex> lock(g_mutex); in OH_DDK_DestroyAshmem()
/drivers/peripheral/usb/ddk_service/src/
H A Dusb_ddk_permission.cpp35 static std::mutex g_mutex; member
62 std::lock_guard<std::mutex> lock(g_mutex); in Reset()
72 std::lock_guard<std::mutex> lock(g_mutex); in VerifyPermission()
/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_death_recipient.cpp30 static std::mutex g_mutex; member
36 std::lock_guard<std::mutex> lk(g_mutex); in CleanResourceOfDiedService()
55 std::unique_lock<std::mutex> lk(g_mutex); in RegisterDeathRecipientService()
83 std::unique_lock<std::mutex> lk(g_mutex); in RemoveMapperOfDestoryedComponent()
/drivers/peripheral/codec/hal/src/
H A Dcodec_death_recipient.cpp31 static std::mutex g_mutex; variable
36 std::lock_guard<std::mutex> lk(g_mutex); in RegisterService()
59 std::lock_guard<std::mutex> lk(g_mutex); in CleanMapperOfDiedService()
90 std::lock_guard<std::mutex> lk(g_mutex); in RemoveDestoryedComponent()
/drivers/peripheral/secure_element/vendor_adaptor/
H A Dse_vendor_adaptions.cpp38 static std::mutex g_mutex {};
64 std::lock_guard<std::mutex> lock(g_mutex); in init()
100 std::lock_guard<std::mutex> lock(g_mutex); in isSecureElementPresent()
113 std::lock_guard<std::mutex> lock(g_mutex); in openLogicalChannel()
160 std::lock_guard<std::mutex> lock(g_mutex); in openBasicChannel()
198 std::lock_guard<std::mutex> lock(g_mutex); in closeChannel()
226 std::lock_guard<std::mutex> lock(g_mutex); in transmit()
289 std::lock_guard<std::mutex> lock(g_mutex); in OnRemoteDied()
/drivers/peripheral/location/agnss/hdi_service/
H A Dagnss_interface_impl.cpp40 std::mutex g_mutex; member
61 std::unique_lock<std::mutex> lock(g_mutex); in RequestSetupAgnssDataConnection()
73 std::unique_lock<std::mutex> lock(g_mutex); in GetSetidCb()
85 std::unique_lock<std::mutex> lock(g_mutex); in GetRefLocationidCb()
128 std::unique_lock<std::mutex> lock(g_mutex); in SetAgnssCallback()
288 std::unique_lock<std::mutex> lock(g_mutex); in ResetAgnssDeathRecipient()
301 std::unique_lock<std::mutex> lock(g_mutex); in ResetAgnss()
/drivers/peripheral/location/gnss/hdi_service/
H A Dgnss_interface_impl.cpp48 std::mutex g_mutex; member
64 std::unique_lock<std::mutex> lock(g_mutex); in NiNotifyCallback()
100 std::unique_lock<std::mutex> lock(g_mutex); in LocationUpdate()
149 std::unique_lock<std::mutex> lock(g_mutex); in GnssMeasurementUpdate()
202 std::unique_lock<std::mutex> lock(g_mutex); in GnssWorkingStatusUpdate()
219 std::unique_lock<std::mutex> lock(g_mutex); in SvStatusCallback()
246 std::unique_lock<std::mutex> lock(g_mutex); in NmeaCallback()
336 std::unique_lock<std::mutex> lock(g_mutex); in EnableGnss()
382 std::unique_lock<std::mutex> lock(g_mutex); in DisableGnss()
570 std::unique_lock<std::mutex> lock(g_mutex); in EnableGnssMeasurement()
[all...]
/drivers/peripheral/user_auth/hdi_service/service/
H A Duser_auth_interface_service.cpp53 static std::mutex g_mutex; member
93 std::lock_guard<std::mutex> lock(g_mutex); in UserAuthInterfaceImplGetInstance()
101 std::lock_guard<std::mutex> lock(g_mutex); in Init()
512 std::lock_guard<std::mutex> lock(g_mutex); in BeginAuthentication()
664 std::lock_guard<std::mutex> lock(g_mutex); in UpdateAuthenticationResultInner()
707 std::lock_guard<std::mutex> lock(g_mutex); in CancelAuthentication()
727 std::lock_guard<std::mutex> lock(g_mutex); in BeginIdentification()
765 std::lock_guard<std::mutex> lock(g_mutex); in UpdateIdentificationResult()
787 std::lock_guard<std::mutex> lock(g_mutex); in CancelIdentification()
795 std::lock_guard<std::mutex> lock(g_mutex); in GetAvailableStatus()
[all...]
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_interface_impl.cpp71 static std::mutex g_mutex; member
121 std::lock_guard<std::mutex> lock(g_mutex); in RegisterCallback()
167 std::lock_guard<std::mutex> lock(g_mutex); in StartSuspend()
252 std::lock_guard<std::mutex> lock(g_mutex); in DoSuspend()
320 std::lock_guard<std::mutex> lock(g_mutex); in SuspendBlock()
334 std::lock_guard<std::mutex> lock(g_mutex); in SuspendUnblock()
/drivers/external_device_manager/frameworks/ddk/hid/
H A Dinput_emit_event.cpp32 std::mutex g_mutex; member
60 std::lock_guard<std::mutex> lock(g_mutex); in OnRemoteDied()
217 std::lock_guard<std::mutex> lock(g_mutex); in OH_Hid_CreateDevice()
270 std::lock_guard<std::mutex> lock(g_mutex); in OH_Hid_EmitEvent()
305 std::lock_guard<std::mutex> lock(g_mutex); in OH_Hid_DestroyDevice()
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
H A Dhdi_hostapd_hal.c81 static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; variable
933 pthread_mutex_lock(&g_mutex); in GetWifiHostapdDev()
938 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev()
943 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev()
950 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev()
982 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev()
985 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev()
/drivers/peripheral/sensor/hdi_impl/
H A Dsensor_impl.cpp36 std::mutex g_mutex; member
41 std::lock_guard<std::mutex> lock(g_mutex); in ReportSensorEventsData()
267 std::lock_guard<std::mutex> lock(g_mutex); in Register()
309 std::lock_guard<std::mutex> lock(g_mutex); in Unregister()
/drivers/peripheral/audio/test/sample/
H A Didl_render.c70 pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; variable
206 pthread_mutex_lock(&g_mutex); in StopAudioFiles()
209 pthread_mutex_unlock(&g_mutex); in StopAudioFiles()
356 pthread_cond_wait(&g_functionCond, &g_mutex); in FrameStart()
888 pthread_mutex_lock(&g_mutex); in SetRenderResume()
891 pthread_mutex_unlock(&g_mutex); in SetRenderResume()
/drivers/peripheral/input/hdi_service/
H A Dinput_interfaces_impl.cpp38 std::mutex g_mutex; member
473 std::lock_guard<std::mutex> lock(g_mutex); in RegisterReportCallback()
519 std::lock_guard<std::mutex> lock(g_mutex); in RegisterHotPlugCallback()
539 std::lock_guard<std::mutex> lock(g_mutex); in UnregisterHotPlugCallback()
/drivers/peripheral/thermal/test/unittest/
H A Dhdf_thermal_hdi_test.cpp73 std::mutex g_mutex; member
109 std::lock_guard<std::mutex> lck(g_mutex); in ReadFile()
/drivers/peripheral/power/test/unittest/src/
H A Dhdf_power_hdi_test.cpp30 std::mutex g_mutex; member

Completed in 15 milliseconds