Lines Matching refs:g_instance_lock
51 shared_mutex_impl g_instance_lock; variable
69 shared_lock<shared_mutex_impl> lock(g_instance_lock); in AdapterStateChangedCallback()
77 shared_lock<shared_mutex_impl> lock(g_instance_lock); in AdapterPropertiesCallback()
89 shared_lock<shared_mutex_impl> lock(g_instance_lock); in RemoteDevicePropertiesCallback()
100 shared_lock<shared_mutex_impl> lock(g_instance_lock); in DiscoveryStateChangedCallback()
108 shared_lock<shared_mutex_impl> lock(g_instance_lock); in PinRequestCallback()
120 shared_lock<shared_mutex_impl> lock(g_instance_lock); in SSPRequestCallback()
131 shared_lock<shared_mutex_impl> lock(g_instance_lock); in BondStateChangedCallback()
141 shared_lock<shared_mutex_impl> lock(g_instance_lock); in AclStateChangedCallback()
220 shared_lock<shared_mutex_impl> lock(g_instance_lock); in AddObserver()
225 shared_lock<shared_mutex_impl> lock(g_instance_lock); in RemoveObserver()
358 unique_lock<shared_mutex_impl> lock(g_instance_lock); in Initialize()
374 unique_lock<shared_mutex_impl> lock(g_instance_lock); in CleanUp()
383 shared_lock<shared_mutex_impl> lock(g_instance_lock); in IsInitialized()
390 shared_lock<shared_mutex_impl> lock(g_instance_lock); in Get()
398 unique_lock<shared_mutex_impl> lock(g_instance_lock); in InitializeForTesting()