Searched refs:g_mutex (Results 1 – 11 of 11) sorted by relevance
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()
31 static std::mutex g_mutex; variable36 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()
44 static std::mutex g_mutex; variable56 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 …]
54 static std::mutex g_mutex; variable81 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()
41 std::mutex g_mutex; variable191 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()
38 std::mutex g_mutex; variable43 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()
41 std::mutex g_mutex; variable117 std::lock_guard<std::mutex> lock(g_mutex); in SetAgnssCallback()267 std::lock_guard<std::mutex> lock(g_mutex); in ResetAgnssDeathRecipient()
73 std::mutex g_mutex; variable109 std::lock_guard<std::mutex> lck(g_mutex); in ReadFile()
70 pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; variable206 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()
37 std::mutex g_mutex; variable467 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()
29 std::mutex g_mutex; variable