Home
last modified time | relevance | path

Searched refs:g_mutex (Results 1 – 11 of 11) sorted by relevance

/drivers/peripheral/wlan/hal/src/
Dwifi_hal_util.c28 OSAL_DECLARE_MUTEX(g_mutex);
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/codec/hal/src/
Dcodec_death_recipient.cpp31 static std::mutex g_mutex; variable
36 std::lock_guard<std::mutex> lk(g_mutex); in RegisterService()
55 std::lock_guard<std::mutex> lk(g_mutex); in CleanMapperOfDiedService()
86 std::lock_guard<std::mutex> lk(g_mutex); in RemoveDestoryedComponent()
/drivers/peripheral/user_auth/hdi_service/service/
Duser_auth_interface_service.cpp44 static std::mutex g_mutex; variable
56 std::lock_guard<std::mutex> lock(g_mutex); in UserAuthInterfaceImplGetInstance()
64 std::lock_guard<std::mutex> lock(g_mutex); in Init()
243 std::lock_guard<std::mutex> lock(g_mutex); in BeginAuthenticationV1_1()
370 std::lock_guard<std::mutex> lock(g_mutex); in UpdateAuthenticationResult()
395 std::lock_guard<std::mutex> lock(g_mutex); in CancelAuthentication()
425 std::lock_guard<std::mutex> lock(g_mutex); in BeginIdentificationV1_1()
463 std::lock_guard<std::mutex> lock(g_mutex); in UpdateIdentificationResult()
485 std::lock_guard<std::mutex> lock(g_mutex); in CancelIdentification()
492 std::lock_guard<std::mutex> lock(g_mutex); in GetAuthTrustLevel()
[all …]
/drivers/peripheral/power/interfaces/hdi_service/src/
Dpower_interface_impl.cpp54 static std::mutex g_mutex; variable
81 std::lock_guard<std::mutex> lock(g_mutex); in RegisterCallback()
109 std::lock_guard<std::mutex> lock(g_mutex); in StartSuspend()
151 std::lock_guard<std::mutex> lock(g_mutex); in DoSuspend()
202 std::lock_guard<std::mutex> lock(g_mutex); in SuspendBlock()
216 std::lock_guard<std::mutex> lock(g_mutex); in SuspendUnblock()
/drivers/peripheral/location/gnss/hdi_service/
Dgnss_interface_impl.cpp41 std::mutex g_mutex; variable
191 std::lock_guard<std::mutex> lock(g_mutex); in EnableGnss()
219 std::lock_guard<std::mutex> lock(g_mutex); in DisableGnss()
319 std::lock_guard<std::mutex> lock(g_mutex); in ResetGnssDeathRecipient()
/drivers/peripheral/sensor/hdi_impl/
Dsensor_impl.cpp38 std::mutex g_mutex; variable
43 std::lock_guard<std::mutex> lock(g_mutex); in ReportSensorEventsData()
114 std::lock_guard<std::mutex> lock(g_mutex); in ~SensorImpl()
290 std::lock_guard<std::mutex> lock(g_mutex); in Register()
338 std::lock_guard<std::mutex> lock(g_mutex); in Unregister()
450 std::lock_guard<std::mutex> lock(g_mutex); in OnRemoteDied()
/drivers/peripheral/location/agnss/hdi_service/
Dagnss_interface_impl.cpp41 std::mutex g_mutex; variable
117 std::lock_guard<std::mutex> lock(g_mutex); in SetAgnssCallback()
267 std::lock_guard<std::mutex> lock(g_mutex); in ResetAgnssDeathRecipient()
/drivers/peripheral/thermal/test/unittest/
Dhdf_thermal_hdi_test.cpp73 std::mutex g_mutex; variable
109 std::lock_guard<std::mutex> lck(g_mutex); in ReadFile()
/drivers/peripheral/audio/test/sample/
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/
Dinput_interfaces_impl.cpp37 std::mutex g_mutex; variable
467 std::lock_guard<std::mutex> lock(g_mutex); in RegisterReportCallback()
513 std::lock_guard<std::mutex> lock(g_mutex); in RegisterHotPlugCallback()
533 std::lock_guard<std::mutex> lock(g_mutex); in UnregisterHotPlugCallback()
/drivers/peripheral/power/test/unittest/src/
Dhdf_power_hdi_test.cpp29 std::mutex g_mutex; variable