Home
last modified time | relevance | path

Searched defs:deviceLock (Results 1 – 4 of 4) sorted by relevance

/foundation/multimedia/audio_framework/services/audio_policy/server/domain/device/src/
Daudio_device_lock.cpp44 std::shared_lock deviceLock(deviceStatusUpdateSharedMutex_); in GetDevices() local
51 std::shared_lock deviceLock(deviceStatusUpdateSharedMutex_); in GetPreferredOutputDeviceDescriptors() local
58 std::shared_lock deviceLock(deviceStatusUpdateSharedMutex_); in GetPreferredInputDeviceDescriptors() local
70 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceInfoUpdated() local
79 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceStatusUpdated() local
110 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceStatusUpdated() local
118 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceConfigurationChanged() local
125 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnDeviceStatusUpdated() local
131 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in OnForcedDeviceSelected() local
138 std::lock_guard<std::shared_mutex> deviceLock(deviceStatusUpdateSharedMutex_); in UnexcludeOutputDevices() local
[all …]
/foundation/distributedhardware/distributed_input/common/include/
Dinput_hub.cpp120 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in IsInputNodeNoNeedScan() local
139 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in ScanAndRecordInputDevices() local
370 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in DeviceIsExists() local
392 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in DeviceIsExists() local
513 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in GetAllInputDevices() local
535 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in IsDeviceRegistered() local
1024 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in AddDeviceLocked() local
1134 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in CloseAllDevicesLocked() local
1142 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in GetDeviceByPathLocked() local
1153 std::lock_guard<std::mutex> deviceLock(devicesMutex_); in GetDeviceByFdLocked() local
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
Dgatt_connection_manager.cpp394 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()
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
Dbluetooth_device_manager.cpp78 std::lock_guard<std::mutex> deviceLock(g_observerLock); in RegisterDeviceObserver() local
85 std::lock_guard<std::mutex> deviceLock(g_observerLock); in UnregisterDeviceObserver() local