Home
last modified time | relevance | path

Searched refs:a2dpBluetoothDeviceMap_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Dbluetooth_device_manager.cpp53 std::map<std::string, BluetoothRemoteDevice> MediaBluetoothDeviceManager::a2dpBluetoothDeviceMap_; member in OHOS::Bluetooth::MediaBluetoothDeviceManager
458 a2dpBluetoothDeviceMap_[device.GetDeviceAddr()] = device; in NotifyToUpdateAudioDevice()
460 … if (a2dpBluetoothDeviceMap_.find(device.GetDeviceAddr()) != a2dpBluetoothDeviceMap_.end()) { in NotifyToUpdateAudioDevice()
461 a2dpBluetoothDeviceMap_.erase(device.GetDeviceAddr()); in NotifyToUpdateAudioDevice()
488 if (a2dpBluetoothDeviceMap_.find(macAddress) != a2dpBluetoothDeviceMap_.end()) { in IsA2dpBluetoothDeviceExist()
511 auto deviceIter = a2dpBluetoothDeviceMap_.find(macAddress); in GetConnectedA2dpBluetoothDevice()
512 if (deviceIter != a2dpBluetoothDeviceMap_.end()) { in GetConnectedA2dpBluetoothDevice()
523 a2dpList.reserve(a2dpBluetoothDeviceMap_.size()); in GetAllA2dpBluetoothDevice()
524 for (const auto &[macaddr, device] : a2dpBluetoothDeviceMap_) { in GetAllA2dpBluetoothDevice()
552 a2dpBluetoothDeviceMap_.clear(); in ClearAllA2dpBluetoothDevice()
H A Dbluetooth_device_manager.h72 static std::map<std::string, BluetoothRemoteDevice> a2dpBluetoothDeviceMap_;