Home
last modified time | relevance | path

Searched refs:ClassicDevice (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/hci/
Ddevice_database.h52 std::shared_ptr<ClassicDevice> CreateClassicDevice(Address address);
76 std::shared_ptr<ClassicDevice> GetClassicDevice(const std::string& uuid);
137 std::map<std::string, std::shared_ptr<ClassicDevice>> classic_device_map_;
141 bool AddDeviceToMap(ClassicDevice&& device);
Dclassic_device.h29 class ClassicDevice : public Device {
32 explicit ClassicDevice(Address address) : Device(address, DeviceType::CLASSIC) {} in ClassicDevice() function
Ddevice_database.cc30 std::shared_ptr<ClassicDevice> DeviceDatabase::CreateClassicDevice(Address address) { in CreateClassicDevice()
31 ClassicDevice device(address); in CreateClassicDevice()
120 std::shared_ptr<ClassicDevice> DeviceDatabase::GetClassicDevice(const std::string& uuid) { in GetClassicDevice()
127 return std::shared_ptr<ClassicDevice>(); in GetClassicDevice()
179 bool DeviceDatabase::AddDeviceToMap(ClassicDevice&& device) { in AddDeviceToMap()
190 std::shared_ptr<ClassicDevice> device_ptr = std::make_shared<ClassicDevice>(std::move(device)); in AddDeviceToMap()
193 … .insert(std::pair<std::string, std::shared_ptr<ClassicDevice>>(device_ptr->GetUuid(), device_ptr)) in AddDeviceToMap()
Ddual_device.h43 …DualDevice(Address address, std::shared_ptr<ClassicDevice> classic_device, std::shared_ptr<LeDevic… in DualDevice()
56 std::shared_ptr<ClassicDevice> classic_device_;
Ddual_device_test.cc31 class TestableClassicDevice : public ClassicDevice {
33 explicit TestableClassicDevice(Address a) : ClassicDevice(a) {} in TestableClassicDevice()