/drivers/peripheral/wlan/hal/src/ |
D | wifi_hal_util.c | 28 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/wlan/chip/hdi_service/ |
D | hdi_sync_util.cpp | 19 std::recursive_mutex g_mutex; variable 30 return std::unique_lock<std::recursive_mutex>{g_mutex}; in AcquireGlobalLock()
|
/drivers/peripheral/codec/hal/src/ |
D | codec_death_recipient.cpp | 31 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/external_device_manager/frameworks/ddk/base/ |
D | ddk_api.cpp | 29 std::mutex g_mutex; variable 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/codec/hal/idl_service/src/ |
D | codec_death_recipient.cpp | 30 static std::mutex g_mutex; variable 34 std::unique_lock<std::mutex> lk(g_mutex, std::defer_lock); in CleanResourceOfDiedService() 58 std::unique_lock<std::mutex> lk(g_mutex); in RegisterDeathRecipientService() 86 std::unique_lock<std::mutex> lk(g_mutex); in RemoveMapperOfDestoryedComponent()
|
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
D | hdi_wpa_hal.c | 61 static pthread_mutex_t g_mutex; variable 198 pthread_mutex_lock(&g_mutex); in GetWifiWpaGlobalInterface() 202 pthread_mutex_unlock(&g_mutex); in GetWifiWpaGlobalInterface() 207 pthread_mutex_unlock(&g_mutex); in GetWifiWpaGlobalInterface() 216 pthread_mutex_unlock(&g_mutex); in GetWifiWpaGlobalInterface()
|
/drivers/peripheral/location/gnss/hdi_service/ |
D | gnss_interface_impl.cpp | 46 std::mutex g_mutex; variable 62 std::unique_lock<std::mutex> lock(g_mutex); in NiNotifyCallback() 98 std::unique_lock<std::mutex> lock(g_mutex); in LocationUpdate() 122 std::unique_lock<std::mutex> lock(g_mutex); in StatusCallback() 138 std::unique_lock<std::mutex> lock(g_mutex); in SvStatusCallback() 166 std::unique_lock<std::mutex> lock(g_mutex); in NmeaCallback() 245 std::unique_lock<std::mutex> lock(g_mutex); in EnableGnss() 286 std::unique_lock<std::mutex> lock(g_mutex); in DisableGnss() 432 std::unique_lock<std::mutex> lock(g_mutex); in ResetGnssDeathRecipient()
|
/drivers/peripheral/location/agnss/hdi_service/ |
D | agnss_interface_impl.cpp | 40 std::mutex g_mutex; variable 61 std::unique_lock<std::mutex> lock(g_mutex); in OnStatusChangedCb() 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() 287 std::unique_lock<std::mutex> lock(g_mutex); in ResetAgnssDeathRecipient() 300 std::unique_lock<std::mutex> lock(g_mutex); in ResetAgnss()
|
/drivers/peripheral/user_auth/hdi_service/service/ |
D | user_auth_interface_service.cpp | 53 static std::mutex g_mutex; variable 96 std::lock_guard<std::mutex> lock(g_mutex); in UserAuthInterfaceImplGetInstance() 104 std::lock_guard<std::mutex> lock(g_mutex); in Init() 519 std::lock_guard<std::mutex> lock(g_mutex); in BeginAuthentication() 669 std::lock_guard<std::mutex> lock(g_mutex); in UpdateAuthenticationResultInner() 712 std::lock_guard<std::mutex> lock(g_mutex); in CancelAuthentication() 732 std::lock_guard<std::mutex> lock(g_mutex); in BeginIdentification() 770 std::lock_guard<std::mutex> lock(g_mutex); in UpdateIdentificationResult() 792 std::lock_guard<std::mutex> lock(g_mutex); in CancelIdentification() 800 std::lock_guard<std::mutex> lock(g_mutex); in GetAvailableStatus() [all …]
|
/drivers/external_device_manager/frameworks/ddk/hid/ |
D | input_emit_event.cpp | 29 std::mutex g_mutex; variable 85 std::lock_guard<std::mutex> lock(g_mutex); in Connect() 169 std::lock_guard<std::mutex> lock(g_mutex); in CacheDeviceInfor() 268 std::lock_guard<std::mutex> lock(g_mutex); in OH_Hid_EmitEvent() 288 std::lock_guard<std::mutex> lock(g_mutex); in OH_Hid_DestroyDevice()
|
/drivers/peripheral/power/interfaces/hdi_service/src/ |
D | power_interface_impl.cpp | 68 static std::mutex g_mutex; variable 126 std::lock_guard<std::mutex> lock(g_mutex); in RegisterCallback() 229 std::lock_guard<std::mutex> lock(g_mutex); in DoSuspend() 330 std::lock_guard<std::mutex> lock(g_mutex); in SuspendBlock() 344 std::lock_guard<std::mutex> lock(g_mutex); in SuspendUnblock()
|
/drivers/peripheral/sensor/hdi_impl/ |
D | sensor_impl.cpp | 36 std::mutex g_mutex; variable 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/wlan/hostapd/interfaces/hdi_service/service_common/ |
D | hdi_hostapd_hal.c | 84 static pthread_mutex_t g_mutex; variable 934 pthread_mutex_lock(&g_mutex); in GetWifiHostapdDev() 939 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev() 944 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev() 951 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev() 983 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev() 986 pthread_mutex_unlock(&g_mutex); in GetWifiHostapdDev()
|
/drivers/peripheral/thermal/test/unittest/ |
D | hdf_thermal_hdi_test.cpp | 73 std::mutex g_mutex; variable 109 std::lock_guard<std::mutex> lck(g_mutex); in ReadFile()
|
/drivers/peripheral/audio/test/sample/ |
D | idl_render.c | 70 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/ |
D | input_interfaces_impl.cpp | 38 std::mutex g_mutex; variable 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/power/test/unittest/src/ |
D | hdf_power_hdi_test.cpp | 30 std::mutex g_mutex; variable
|