Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 98) sorted by relevance

1234

/system/bt/gd/storage/
Ddevice.cc38 …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 …]
Ddevice_test.cc30 using bluetooth::storage::Device;
38 ConfigCache config(10, Device::kLinkKeyProperties); in TEST()
43Device device(&config, &memory_only_config, address, Device::ConfigKeyAddressType::LEGACY_KEY_ADDR… in TEST()
50Device device2(&config, &memory_only_config, address2, Device::ConfigKeyAddressType::LEGACY_KEY_AD… in TEST()
56Device device3(&config, &memory_only_config, address3, Device::ConfigKeyAddressType::LEGACY_KEY_AD… in TEST()
63 ConfigCache config(10, Device::kLinkKeyProperties); in TEST()
68Device device(&config, &memory_only_config, address, Device::ConfigKeyAddressType::CLASSIC_ADDRESS… in TEST()
75Device device2(&config, &memory_only_config, address2, Device::ConfigKeyAddressType::CLASSIC_ADDRE… in TEST()
81Device device3(&config, &memory_only_config, address3, Device::ConfigKeyAddressType::CLASSIC_ADDRE… in TEST()
88 ConfigCache config(10, Device::kLinkKeyProperties); in TEST()
[all …]
Ddevice.h108 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 …]
Dconfig_cache_test.cc39 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 …]
Dstorage_module.cc158 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 …]
Dadapter_config_test.cc28 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()
Dstorage_module.h83 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();
Dle_device_test.cc30 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()
Dclassic_device_test.cc31 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()
Dconfig_cache_helper_test.cc31 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()
Dmutation_test.cc28 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()
Dle_device.cc39 Device LeDevice::Parent() { in Parent()
40 return Device(config_, memory_only_config_, section_); in Parent()
Dclassic_device.cc31 Device ClassicDevice::Parent() { in Parent()
32 return Device(config_, memory_only_config_, section_); in Parent()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.cc23 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()
Dclassic.h26 class Classic : public Device {
31 static std::shared_ptr<Device> Create() { in Create()
Ddevice.h37 class Device {
39 Device(const std::string properties_filename = "")
41 virtual ~Device() = default;
Dremote_loopback_device.h26 class RemoteLoopbackDevice : public Device {
31 static std::shared_ptr<Device> Create() { in Create()
Dloopback.h27 class Loopback : public Device {
32 static std::shared_ptr<Device> Create() { in Create()
Dbeacon.h27 class Beacon : public Device {
32 static std::shared_ptr<Device> Create() { in Create()
Dbroken_adv.h26 class BrokenAdv : public Device {
31 static std::shared_ptr<Device> Create() { in Create()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Ddevice_boutique.cc25 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()
Ddevice_boutique.h35 …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/
Ddevice.cc37 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 …]
Ddevice.h54 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/
DDeviceInfoDB.java21 public static enum Device { BLUELINE, BONITO, CROSSHATCH, CORAL, SARGO}; enum in DeviceInfoDB
24 static DeviceInfo getDeviceInfo(Device device) { in getDeviceInfo()

1234