Home
last modified time | relevance | path

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

1234

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.cc25 std::string Device::ToString() const { in ToString()
31 void Device::RegisterPhyLayer(std::shared_ptr<PhyLayer> phy) { in RegisterPhyLayer()
35 void Device::UnregisterPhyLayers() { in UnregisterPhyLayers()
44 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()
66 void Device::SendLinkLayerPacket(model::packets::LinkLayerPacketView to_send, in SendLinkLayerPacket()
73 void Device::SetAddress(Address) { in SetAddress()
Dclassic.h26 class Classic : public Device {
31 static std::shared_ptr<Device> Create() { in Create()
Ddevice.h38 class Device {
40 Device(const std::string properties_filename = "")
42 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()
Dlink_layer_socket_device.h29 class LinkLayerSocketDevice : public Device {
35 static std::shared_ptr<Device> Create(int socket_fd, Phy::Type phy_type) { 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();
Dtest_model.h44 size_t Add(std::shared_ptr<Device> device);
90 std::map<size_t, std::shared_ptr<Device>> devices_;
107 std::vector<std::shared_ptr<Device>> example_devices_;
/system/bt/profile/avrcp/
Ddevice.cc38 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 bool Device::IsActive() const { in IsActive()
74 bool Device::IsInSilenceMode() const { in IsInSilenceMode()
78 void Device::VendorPacketHandler(uint8_t label, in VendorPacketHandler()
155 …media_interface_->GetSongInfo(base::Bind(&Device::GetElementAttributesResponse, weak_ptr_factory_.… in VendorPacketHandler()
160 media_interface_->GetPlayStatus(base::Bind(&Device::GetPlayStatusResponse, in VendorPacketHandler()
183 …media_interface_->GetMediaPlayerList(base::Bind(&Device::HandleSetAddressedPlayer, weak_ptr_factor… in VendorPacketHandler()
[all …]
Ddevice.h54 class Device {
62 Device(
68 virtual ~Device() = default;
74 base::WeakPtr<Device> Get();
270 friend std::ostream& operator<<(std::ostream& out, const Device& c);
285 base::WeakPtrFactory<Device> weak_ptr_factory_;
331 DISALLOW_COPY_AND_ASSIGN(Device);
Dconnection_handler.h53 using ConnectionCallback = base::Callback<void(std::shared_ptr<Device>)>;
113 virtual std::vector<std::shared_ptr<Device>> GetListOfDevices() const;
129 std::map<uint8_t, std::shared_ptr<Device>> device_map_;
/system/bt/gd/hci/
Ddual_device.h31 class DualDevice : public Device {
33 std::shared_ptr<Device> GetClassicDevice() { in GetClassicDevice()
37 std::shared_ptr<Device> GetLeDevice() { in GetLeDevice()
44 …: Device(address, DUAL), classic_device_(std::move(classic_device)), le_device_(std::move(le_devic… in DualDevice()
50 Device::SetAddress(address); in SetAddress()
Ddevice.h39 class Device {
41 virtual ~Device() = default;
75 bool operator==(const Device& rhs) const {
88 Device(Address address, DeviceType device_type) in Device() function
Ddevice_database.h100 bool RemoveDevice(const std::shared_ptr<Device>& device);
110 bool UpdateDeviceAddress(const std::shared_ptr<Device>& device, Address new_address);
126 std::vector<std::shared_ptr<Device>> GetClassicDevices();
133 std::vector<std::shared_ptr<Device>> GetLeDevices();
Ddevice_database_test.cc101 std::shared_ptr<Device> created_device = device_database_.CreateClassicDevice(address); in TEST_F()
108 std::shared_ptr<Device> created_device = device_database_.CreateClassicDevice(address); in TEST_F()
114 std::shared_ptr<Device> device_ptr = device_database_.GetClassicDevice(address_str); in TEST_F()
119 std::shared_ptr<Device> created_device = device_database_.CreateClassicDevice(address); in TEST_F()
120 std::shared_ptr<Device> gotten_device = device_database_.GetClassicDevice(address.ToString()); in TEST_F()
128 …std::shared_ptr<Device> gotten_modified_device = device_database_.GetClassicDevice("01:01:01:01:01… in TEST_F()
Dclassic_device.h29 class ClassicDevice : public Device {
32 explicit ClassicDevice(Address address) : Device(address, DeviceType::CLASSIC) {} in ClassicDevice()
Dle_device.h36 class LeDevice : public Device {
82 …explicit LeDevice(Address address) : Device(address, DeviceType::LE), public_address_(), irk_(0) {} in LeDevice()
Ddevice_test.cc31 class TestableDevice : public Device {
33 explicit TestableDevice(Address a) : Device(a, CLASSIC) {} in TestableDevice()
Ddevice.cc22 std::string Device::generate_uid() { in generate_uid()
/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()
/system/sepolicy/prebuilts/api/27.0/public/
Dtee.te6 # Device(s) for communicating with the TEE
/system/sepolicy/prebuilts/api/26.0/public/
Dtee.te6 # Device(s) for communicating with the TEE

1234