Home
last modified time | relevance | path

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

123

/system/bt/vendor_libs/test_vendor_lib/model/setup/
Ddevice_boutique.cc28 std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>>& DeviceBoutique::GetMap()… in GetMap()
29 static std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>> impl; in GetMap()
35 const std::function<std::shared_ptr<Device>()> device_constructor) { in Register()
41 std::shared_ptr<Device> DeviceBoutique::Create(const vector<std::string>& args) { in Create()
46 return std::shared_ptr<Device>(nullptr); in Create()
49 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);
83 std::vector<std::shared_ptr<Device>> devices_;
99 std::vector<std::shared_ptr<Device>> example_devices_;
Dtest_model.cc92 size_t TestModel::Add(std::shared_ptr<Device> new_dev) { in Add()
126 std::shared_ptr<Device> dev = devices_[dev_index]; in AddDeviceToPhy()
143 std::shared_ptr<Device> dev = LinkLayerSocketDevice::Create(socket_fd, phy_type); in AddLinkLayerConnection()
169 int index = Add(std::static_pointer_cast<Device>(dev)); in IncomingHciConnection()
/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()
142 …media_interface_->GetSongInfo(base::Bind(&Device::GetElementAttributesResponse, weak_ptr_factory_.… in VendorPacketHandler()
147 media_interface_->GetPlayStatus(base::Bind(&Device::GetPlayStatusResponse, in VendorPacketHandler()
170 …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_;
Dconnection_handler.cc127 instance_->connection_cb_.Run(std::shared_ptr<Device>()); in ConnectDevice()
151 std::vector<std::shared_ptr<Device>> ConnectionHandler::GetListOfDevices() in GetListOfDevices()
153 std::vector<std::shared_ptr<Device>> list; in GetListOfDevices()
245 std::shared_ptr<Device> newDevice = std::make_shared<Device>( in InitiatorControlCb()
316 std::shared_ptr<Device> newDevice = std::make_shared<Device>( in AcceptorControlCb()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.cc27 std::string Device::ToString() const { in ToString()
33 void Device::RegisterPhyLayer(std::shared_ptr<PhyLayer> phy) { in RegisterPhyLayer()
37 void Device::UnregisterPhyLayer(std::shared_ptr<PhyLayer> phy) { in UnregisterPhyLayer()
48 bool Device::IsAdvertisementAvailable(std::chrono::milliseconds scan_time) const { in IsAdvertisementAvailable()
61 void Device::SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> to_send, Phy::Typ… in SendLinkLayerPacket()
Ddevice.h37 class Device {
39 Device(const std::string properties_filename = "")
41 virtual ~Device() = default;
Dclassic.h26 class Classic : public Device {
31 static std::shared_ptr<Device> Create() { in Create()
Dremote_loopback_device.h27 class RemoteLoopbackDevice : public Device {
32 static std::shared_ptr<Device> Create() { in Create()
Dloopback.h27 class Loopback : public Device {
32 static std::shared_ptr<Device> Create() { in Create()
Dbeacon.h28 class Beacon : public Device {
33 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.h30 class LinkLayerSocketDevice : public Device {
36 static std::shared_ptr<Device> Create(int socket_fd, Phy::Type phy_type) { in Create()
Dbeacon_swarm.h32 static std::shared_ptr<Device> Create() { in Create()
Dsniffer.h28 class Sniffer : public Device {
Dkeyboard.h33 static std::shared_ptr<Device> Create() { in Create()
/system/core/libion/tests/
Ddevice_test.cpp33 class Device : public IonAllHeapsTest { class
46 void Device::SetUp() in SetUp()
53 void Device::TearDown() in TearDown()
59 void Device::readDMA(int fd, void *buf, size_t size) in readDMA()
73 void Device::writeDMA(int fd, void *buf, size_t size) in writeDMA()
87 void Device::readKernel(int fd, void *buf, size_t size) in readKernel()
101 void Device::writeKernel(int fd, void *buf, size_t size) in writeKernel()
115 void Device::blowCache() in blowCache()
126 void Device::dirtyCache(void *ptr, size_t size) in dirtyCache()
135 TEST_F(Device, KernelReadCached) in TEST_F() argument
[all …]
/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
/system/sepolicy/prebuilts/api/28.0/public/
Dtee.te6 # Device(s) for communicating with the TEE
/system/sepolicy/public/
Dtee.te6 # Device(s) for communicating with the TEE
/system/sepolicy/prebuilts/api/29.0/public/
Dtee.te6 # Device(s) for communicating with the TEE

123