Searched refs:ClassicDevice (Results 1 – 5 of 5) sorted by relevance
52 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);
29 class ClassicDevice : public Device {32 explicit ClassicDevice(Address address) : Device(address, DeviceType::CLASSIC) {} in ClassicDevice() function
30 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()
43 …DualDevice(Address address, std::shared_ptr<ClassicDevice> classic_device, std::shared_ptr<LeDevic… in DualDevice()56 std::shared_ptr<ClassicDevice> classic_device_;
31 class TestableClassicDevice : public ClassicDevice {33 explicit TestableClassicDevice(Address a) : ClassicDevice(a) {} in TestableClassicDevice()