Lines Matching refs:mMutex
45 pthread_mutex_init(&mMutex, nullptr); in LocationAPIControlClient()
70 pthread_mutex_lock(&mMutex); in ~LocationAPIControlClient()
81 pthread_mutex_unlock(&mMutex); in ~LocationAPIControlClient()
83 pthread_mutex_destroy(&mMutex); in ~LocationAPIControlClient()
89 pthread_mutex_lock(&mMutex); in locAPIGnssDeleteAidingData()
98 pthread_mutex_unlock(&mMutex); in locAPIGnssDeleteAidingData()
106 pthread_mutex_lock(&mMutex); in locAPIEnable()
120 pthread_mutex_unlock(&mMutex); in locAPIEnable()
127 pthread_mutex_lock(&mMutex); in locAPIDisable()
139 pthread_mutex_unlock(&mMutex); in locAPIDisable()
151 pthread_mutex_lock(&mMutex); in locAPIGnssUpdateConfig()
167 pthread_mutex_unlock(&mMutex); in locAPIGnssUpdateConfig()
196 pthread_mutex_lock(&mMutex); in onCtrlCollectiveResponseCb()
200 pthread_mutex_unlock(&mMutex); in onCtrlCollectiveResponseCb()
209 pthread_mutex_lock(&mMutex); in getRequestBySession()
218 pthread_mutex_unlock(&mMutex); in getRequestBySession()
235 pthread_mutex_init(&mMutex, &attr); in LocationAPIClientBase()
244 pthread_mutex_lock(&mMutex); in locAPISetCallbacks()
280 pthread_mutex_unlock(&mMutex); in locAPISetCallbacks()
285 pthread_mutex_lock(&mMutex); in ~LocationAPIClientBase()
298 pthread_mutex_unlock(&mMutex); in ~LocationAPIClientBase()
300 pthread_mutex_destroy(&mMutex); in ~LocationAPIClientBase()
306 pthread_mutex_lock(&mMutex); in locAPIStartTracking()
323 pthread_mutex_unlock(&mMutex); in locAPIStartTracking()
330 pthread_mutex_lock(&mMutex); in locAPIStopTracking()
342 pthread_mutex_unlock(&mMutex); in locAPIStopTracking()
347 pthread_mutex_lock(&mMutex); in locAPIUpdateTrackingOptions()
358 pthread_mutex_unlock(&mMutex); in locAPIUpdateTrackingOptions()
382 pthread_mutex_lock(&mMutex); in locAPIStartSession()
427 pthread_mutex_unlock(&mMutex); in locAPIStartSession()
435 pthread_mutex_lock(&mMutex); in locAPIStopSession()
463 pthread_mutex_unlock(&mMutex); in locAPIStopSession()
471 pthread_mutex_lock(&mMutex); in locAPIUpdateSessionOptions()
555 pthread_mutex_unlock(&mMutex); in locAPIUpdateSessionOptions()
561 pthread_mutex_lock(&mMutex); in locAPIGetBatchedLocations()
574 pthread_mutex_unlock(&mMutex); in locAPIGetBatchedLocations()
581 pthread_mutex_lock(&mMutex); in locAPIAddGeofences()
597 pthread_mutex_unlock(&mMutex); in locAPIAddGeofences()
604 pthread_mutex_lock(&mMutex); in locAPIRemoveGeofences()
610 pthread_mutex_unlock(&mMutex); in locAPIRemoveGeofences()
633 pthread_mutex_unlock(&mMutex); in locAPIRemoveGeofences()
639 pthread_mutex_lock(&mMutex); in locAPIModifyGeofences()
645 pthread_mutex_unlock(&mMutex); in locAPIModifyGeofences()
669 pthread_mutex_unlock(&mMutex); in locAPIModifyGeofences()
674 pthread_mutex_lock(&mMutex); in locAPIPauseGeofences()
680 pthread_mutex_unlock(&mMutex); in locAPIPauseGeofences()
703 pthread_mutex_unlock(&mMutex); in locAPIPauseGeofences()
709 pthread_mutex_lock(&mMutex); in locAPIResumeGeofences()
715 pthread_mutex_unlock(&mMutex); in locAPIResumeGeofences()
741 pthread_mutex_unlock(&mMutex); in locAPIResumeGeofences()
746 pthread_mutex_lock(&mMutex); in locAPIRemoveAllGeofences()
754 pthread_mutex_unlock(&mMutex); in locAPIRemoveAllGeofences()
777 pthread_mutex_unlock(&mMutex); in locAPIRemoveAllGeofences()
782 pthread_mutex_lock(&mMutex); in locAPIGnssNiResponse()
790 pthread_mutex_unlock(&mMutex); in locAPIGnssNiResponse()
808 pthread_mutex_lock(&mMutex); in beforeGeofenceBreachCb()
831 pthread_mutex_unlock(&mMutex); in beforeGeofenceBreachCb()
891 pthread_mutex_lock(&mMutex); in onCollectiveResponseCb()
895 pthread_mutex_unlock(&mMutex); in onCollectiveResponseCb()
910 pthread_mutex_lock(&mMutex); in getRequestBySession()
927 pthread_mutex_unlock(&mMutex); in getRequestBySession()