Searched defs:deviceLock (Results 1 – 4 of 4) sorted by relevance
44 std::shared_lock deviceLock(deviceStatusUpdateSharedMutex_); in GetDevices() local51 std::shared_lock deviceLock(deviceStatusUpdateSharedMutex_); in GetPreferredOutputDeviceDescriptors() local58 std::shared_lock deviceLock(deviceStatusUpdateSharedMutex_); in GetPreferredInputDeviceDescriptors() local70 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceInfoUpdated() local79 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceStatusUpdated() local110 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceStatusUpdated() local118 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceConfigurationChanged() local125 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceStatusUpdated() local131 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnForcedDeviceSelected() local138 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in UnexcludeOutputDevices() local[all …]
120 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in IsInputNodeNoNeedScan() local139 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in ScanAndRecordInputDevices() local370 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in DeviceIsExists() local392 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in DeviceIsExists() local513 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in GetAllInputDevices() local535 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in IsDeviceRegistered() local1024 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in AddDeviceLocked() local1134 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in CloseAllDevicesLocked() local1142 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in GetDeviceByPathLocked() local1153 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in GetDeviceByFdLocked() local[all …]
394 const GattDevice &device, bool autoConnect, std::unique_lock<std::mutex> &deviceLock) in FindOrRegister()417 const BtAddr &addr, uint8_t transport, std::unique_lock<std::mutex> &deviceLock) in FindOrRegister()453 const BtAddr &addr, uint8_t transport, std::unique_lock<std::mutex> &deviceLock) in FindDevice()469 const GattDevice &device, std::unique_lock<std::mutex> &deviceLock) in FindDevice()482 uint16_t handle, std::unique_lock<std::mutex> &deviceLock) in FindDevice()
78 std::lock_guard<std::mutex> deviceLock(g_observerLock); in RegisterDeviceObserver() local85 std::lock_guard<std::mutex> deviceLock(g_observerLock); in UnregisterDeviceObserver() local