/system/bt/gd/storage/ |
D | device.cc | 38 …ConfigCache* config, const hci::Address& key_address, Device::ConfigKeyAddressType key_address_typ… in GetConfigSection() 44 case Device::ConfigKeyAddressType::LEGACY_KEY_ADDRESS: in GetConfigSection() 45 case Device::ConfigKeyAddressType::CLASSIC_ADDRESS: in GetConfigSection() 47 case Device::ConfigKeyAddressType::LE_IDENTITY_ADDRESS: in GetConfigSection() 54 case Device::ConfigKeyAddressType::LE_LEGACY_PSEUDO_ADDRESS: in GetConfigSection() 70 const std::unordered_set<std::string_view> Device::kLinkKeyProperties = { 73 Device::Device( in Device() function in bluetooth::storage::Device 78 : Device(config, memory_only_config, GetConfigSection(config, key_address, key_address_type)) {} in Device() 80 Device::Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in Device() function in bluetooth::storage::Device 83 bool Device::Exists() { in Exists() [all …]
|
D | device_test.cc | 30 using bluetooth::storage::Device; 38 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 43 …Device device(&config, &memory_only_config, address, Device::ConfigKeyAddressType::LEGACY_KEY_ADDR… in TEST() 50 …Device device2(&config, &memory_only_config, address2, Device::ConfigKeyAddressType::LEGACY_KEY_AD… in TEST() 56 …Device device3(&config, &memory_only_config, address3, Device::ConfigKeyAddressType::LEGACY_KEY_AD… in TEST() 63 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 68 …Device device(&config, &memory_only_config, address, Device::ConfigKeyAddressType::CLASSIC_ADDRESS… in TEST() 75 …Device device2(&config, &memory_only_config, address2, Device::ConfigKeyAddressType::CLASSIC_ADDRE… in TEST() 81 …Device device3(&config, &memory_only_config, address3, Device::ConfigKeyAddressType::CLASSIC_ADDRE… in TEST() 88 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() [all …]
|
D | device.h | 108 class Device { 112 Device( 117 Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 120 Device(Device&& other) noexcept = default; 121 Device& operator=(Device&& other) noexcept = default; 124 Device(const Device& other) noexcept = default; 125 Device& operator=(const Device& other) noexcept = default; 128 bool operator==(const Device& other) const { 131 bool operator!=(const Device& other) const { 134 bool operator<(const Device& other) const { [all …]
|
D | config_cache_test.cc | 39 using bluetooth::storage::Device; 43 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 51 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 62 ConfigCache config(2, Device::kLinkKeyProperties); in TEST() 71 ConfigCache config_1(2, Device::kLinkKeyProperties); in TEST() 76 ConfigCache config_2(2, Device::kLinkKeyProperties); in TEST() 94 ConfigCache config_3(3, Device::kLinkKeyProperties); in TEST() 102 ConfigCache config_4(2, Device::kLinkKeyProperties); in TEST() 105 ConfigCache config_5(2, Device::kLinkKeyProperties); in TEST() 108 ConfigCache config_6(3, Device::kLinkKeyProperties); in TEST() [all …]
|
D | storage_module.cc | 158 config.emplace(temp_devices_capacity_, Device::kLinkKeyProperties); in Start() 194 Device StorageModule::GetDeviceByLegacyKey(hci::Address legacy_key_address) { in GetDeviceByLegacyKey() 196 return Device( in GetDeviceByLegacyKey() 200 Device::ConfigKeyAddressType::LEGACY_KEY_ADDRESS); in GetDeviceByLegacyKey() 203 Device StorageModule::GetDeviceByClassicMacAddress(hci::Address classic_address) { in GetDeviceByClassicMacAddress() 205 return Device( in GetDeviceByClassicMacAddress() 209 Device::ConfigKeyAddressType::CLASSIC_ADDRESS); in GetDeviceByClassicMacAddress() 212 Device StorageModule::GetDeviceByLeIdentityAddress(hci::Address le_identity_address) { in GetDeviceByLeIdentityAddress() 214 return Device( in GetDeviceByLeIdentityAddress() 218 Device::ConfigKeyAddressType::LE_IDENTITY_ADDRESS); in GetDeviceByLeIdentityAddress() [all …]
|
D | adapter_config_test.cc | 28 using bluetooth::storage::Device; 34 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 41 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 53 ConfigCache config(10, Device::kLinkKeyProperties); in TEST()
|
D | storage_module.h | 83 Device GetDeviceByLegacyKey(hci::Address legacy_key_address); 86 Device GetDeviceByClassicMacAddress(hci::Address classic_address); 96 Device GetDeviceByLeIdentityAddress(hci::Address le_identity_address); 102 std::vector<Device> GetBondedDevices();
|
D | le_device_test.cc | 30 using bluetooth::storage::Device; 37 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 45 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 57 ConfigCache config(10, Device::kLinkKeyProperties); in TEST()
|
D | classic_device_test.cc | 31 using bluetooth::storage::Device; 37 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 45 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 57 ConfigCache config(10, Device::kLinkKeyProperties); in TEST()
|
D | config_cache_helper_test.cc | 31 using bluetooth::storage::Device; 34 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 46 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 64 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 83 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 102 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 123 ConfigCache config(100, Device::kLinkKeyProperties); in TEST()
|
D | mutation_test.cc | 28 using bluetooth::storage::Device; 33 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 51 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 99 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 110 ConfigCache config(100, Device::kLinkKeyProperties); in TEST()
|
D | le_device.cc | 39 Device LeDevice::Parent() { in Parent() 40 return Device(config_, memory_only_config_, section_); in Parent()
|
D | classic_device.cc | 31 Device ClassicDevice::Parent() { in Parent() 32 return Device(config_, memory_only_config_, section_); in Parent()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | device.cc | 23 std::string Device::ToString() const { in ToString() 29 void Device::RegisterPhyLayer(std::shared_ptr<PhyLayer> phy) { in RegisterPhyLayer() 33 void Device::UnregisterPhyLayers() { in UnregisterPhyLayers() 42 void Device::UnregisterPhyLayer(Phy::Type phy_type, uint32_t factory_id) { in UnregisterPhyLayer() 53 bool Device::IsAdvertisementAvailable() const { in IsAdvertisementAvailable() 58 void Device::SendLinkLayerPacket( in SendLinkLayerPacket() 68 void Device::SendLinkLayerPacket(model::packets::LinkLayerPacketView to_send, in SendLinkLayerPacket() 77 void Device::SetAddress(Address) { in SetAddress()
|
D | classic.h | 26 class Classic : public Device { 31 static std::shared_ptr<Device> Create() { in Create()
|
D | device.h | 37 class Device { 39 Device(const std::string properties_filename = "") 41 virtual ~Device() = default;
|
D | remote_loopback_device.h | 26 class RemoteLoopbackDevice : public Device { 31 static std::shared_ptr<Device> Create() { in Create()
|
D | loopback.h | 27 class Loopback : public Device { 32 static std::shared_ptr<Device> Create() { in Create()
|
D | beacon.h | 27 class Beacon : public Device { 32 static std::shared_ptr<Device> Create() { in Create()
|
D | broken_adv.h | 26 class BrokenAdv : public Device { 31 static std::shared_ptr<Device> Create() { in Create()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | device_boutique.cc | 25 std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>>& DeviceBoutique::GetMap()… in GetMap() 26 static std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>> impl; in GetMap() 32 const std::function<std::shared_ptr<Device>()> device_constructor) { in Register() 38 std::shared_ptr<Device> DeviceBoutique::Create(const vector<std::string>& args) { in Create() 43 return std::shared_ptr<Device>(nullptr); in Create() 46 std::shared_ptr<Device> new_device = GetMap()[args[0]](); in Create()
|
D | device_boutique.h | 35 …static bool Register(const std::string& device_type, const std::function<std::shared_ptr<Device>()… 38 static std::shared_ptr<Device> Create(const std::vector<std::string>& args); 49 static std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>>& GetMap();
|
/system/bt/profile/avrcp/ |
D | device.cc | 37 Device::Device( in Device() function in bluetooth::avrcp::Device 51 void Device::RegisterInterfaces(MediaInterface* media_interface, in RegisterInterfaces() 61 base::WeakPtr<Device> Device::Get() { in Get() 65 void Device::SetBrowseMtu(uint16_t browse_mtu) { in SetBrowseMtu() 70 void Device::SetBipClientStatus(bool connected) { in SetBipClientStatus() 75 bool Device::HasBipClient() const { in HasBipClient() 88 bool Device::IsActive() const { in IsActive() 92 bool Device::IsInSilenceMode() const { in IsInSilenceMode() 96 void Device::VendorPacketHandler(uint8_t label, in VendorPacketHandler() 174 …media_interface_->GetSongInfo(base::Bind(&Device::GetElementAttributesResponse, weak_ptr_factory_.… in VendorPacketHandler() [all …]
|
D | device.h | 54 class Device { 62 Device( 68 virtual ~Device() = default; 74 base::WeakPtr<Device> Get(); 280 friend std::ostream& operator<<(std::ostream& out, const Device& c); 295 base::WeakPtrFactory<Device> weak_ptr_factory_; 342 DISALLOW_COPY_AND_ASSIGN(Device);
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | DeviceInfoDB.java | 21 public static enum Device { BLUELINE, BONITO, CROSSHATCH, CORAL, SARGO}; enum in DeviceInfoDB 24 static DeviceInfo getDeviceInfo(Device device) { in getDeviceInfo()
|