Searched refs:leAudioDevices_ (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | device_groups.cc | 57 leAudioDevices_.push_back(std::weak_ptr<LeAudioDevice>(leAudioDevice)); in AddNode() 58 MetricsCollector::Get()->OnGroupSizeUpdate(group_id_, leAudioDevices_.size()); in AddNode() 70 leAudioDevices_.erase( in RemoveNode() 72 leAudioDevices_.begin(), leAudioDevices_.end(), in RemoveNode() 74 leAudioDevices_.end()); in RemoveNode() 75 MetricsCollector::Get()->OnGroupSizeUpdate(group_id_, leAudioDevices_.size()); in RemoveNode() 79 return leAudioDevices_.size() == 0; in IsEmpty() 86 int LeAudioDeviceGroup::Size(void) const { return leAudioDevices_.size(); } in Size() 94 return group_size > 0 ? group_size : leAudioDevices_.size(); in DesiredSize() 100 leAudioDevices_.begin(), leAudioDevices_.end(), [](auto& iter) { in NumOfConnected() [all …]
|
D | devices.cc | 1229 leAudioDevices_.emplace_back( in Add() 1234 auto iter = std::find_if(leAudioDevices_.begin(), leAudioDevices_.end(), in Remove() 1239 if (iter == leAudioDevices_.end()) { in Remove() 1244 leAudioDevices_.erase(iter); in Remove() 1248 auto iter = std::find_if(leAudioDevices_.begin(), leAudioDevices_.end(), in FindByAddress() 1253 return (iter == leAudioDevices_.end()) ? nullptr : iter->get(); in FindByAddress() 1258 auto iter = std::find_if(leAudioDevices_.begin(), leAudioDevices_.end(), in GetByAddress() 1263 return (iter == leAudioDevices_.end()) ? nullptr : *iter; in GetByAddress() 1267 auto iter = std::find_if(leAudioDevices_.begin(), leAudioDevices_.end(), in FindByConnId() 1272 return (iter == leAudioDevices_.end()) ? nullptr : iter->get(); in FindByConnId() [all …]
|
D | client.cc | 400 LeAudioDevice* leAudioDevice = leAudioDevices_.FindByAddress(address); in OnGroupAddedCb() 430 LeAudioDevice* leAudioDevice = leAudioDevices_.FindByAddress(address); in OnGroupMemberAddedCb() 448 LeAudioDevice* leAudioDevice = leAudioDevices_.FindByAddress(address); in OnGroupMemberRemovedCb() 640 LeAudioDevice* leAudioDevice = leAudioDevices_.FindByAddress(address); in group_add_node() 654 leAudioDevices_.Add(address, DeviceConnectState::CONNECTING_BY_USER); in group_add_node() 655 leAudioDevice = leAudioDevices_.FindByAddress(address); in group_add_node() 697 new_group->AddNode(leAudioDevices_.GetByAddress(address)); in group_add_node() 742 group->RemoveNode(leAudioDevices_.GetByAddress(address)); in group_remove_node() 765 LeAudioDevice* leAudioDevice = leAudioDevices_.FindByAddress(address); in GroupRemoveNode() 1370 auto leAudioDevice = leAudioDevices_.FindByAddress(address); in SetEnableState() [all …]
|
D | device_groups.h | 382 for (auto leAudioDevice : leAudioDevices_) { in GetAllowedDsaModes() 397 for (auto leAudioDevice : leAudioDevices_) { in GetAllowedDsaModesList() 484 std::vector<std::weak_ptr<LeAudioDevice>> leAudioDevices_; variable
|
D | devices.h | 286 std::vector<std::shared_ptr<LeAudioDevice>> leAudioDevices_;
|