Home
last modified time | relevance | path

Searched refs:phy_type (Results 1 – 15 of 15) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dlink_layer_socket_device.h32 LinkLayerSocketDevice(int socket_fd, Phy::Type phy_type);
36 static std::shared_ptr<Device> Create(int socket_fd, Phy::Type phy_type) { in Create() argument
37 return std::make_shared<LinkLayerSocketDevice>(socket_fd, phy_type); in Create()
Dlink_layer_socket_device.cc33 LinkLayerSocketDevice::LinkLayerSocketDevice(int socket_fd, Phy::Type phy_type) in LinkLayerSocketDevice() argument
34 : socket_(socket_fd), phy_type_(phy_type) {} in LinkLayerSocketDevice()
Dremote_loopback_device.cc53 Phy::Type phy_type = Phy::Type::BR_EDR; in IncomingPacket() local
70 SendLinkLayerPacket(LinkLayerPacketBuilder::ReWrap(extracted_packet), phy_type); in IncomingPacket()
Ddevice.cc61 …SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> to_send, Phy::Type phy_type) { in SendLinkLayerPacket() argument
62 auto phy_list = phy_layers_[phy_type]; in SendLinkLayerPacket()
Dcar_kit.cc41 [this](std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Type phy_type) { in CarKit() argument
42 CarKit::SendLinkLayerPacket(packet, phy_type); in CarKit()
Ddevice.h78 …d SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Type phy_type);
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc27 PhyLayerFactory::PhyLayerFactory(Phy::Type phy_type) : phy_type_(phy_type) {} in PhyLayerFactory() argument
86 PhyLayerImpl::PhyLayerImpl(Phy::Type phy_type, uint32_t id, in PhyLayerImpl() argument
89 : PhyLayer(phy_type, id, device_receive), factory_(factory) {} in PhyLayerImpl()
Dphy_layer.h27 …PhyLayer(Phy::Type phy_type, uint32_t id, const std::function<void(packets::LinkLayerPacketView)>&… in PhyLayer() argument
28 : phy_type_(phy_type), id_(id), transmit_to_device_(device_receive) {} in PhyLayer()
Dtest_model.cc142 void TestModel::AddLinkLayerConnection(int socket_fd, Phy::Type phy_type) { in AddLinkLayerConnection() argument
143 std::shared_ptr<Device> dev = LinkLayerSocketDevice::Create(socket_fd, phy_type); in AddLinkLayerConnection()
146 if (phy_type == phys_[phy_index]->GetType()) { in AddLinkLayerConnection()
157 void TestModel::AddRemote(const std::string& server, int port, Phy::Type phy_type) { in AddRemote() argument
162 AddLinkLayerConnection(socket_fd, phy_type); in AddRemote()
Dphy_layer_factory.h33 PhyLayerFactory(Phy::Type phy_type);
58 …PhyLayerImpl(Phy::Type phy_type, uint32_t id, const std::function<void(packets::LinkLayerPacketVie…
Dtest_model.h62 void AddLinkLayerConnection(int socket_fd, Phy::Type phy_type);
67 void AddRemote(const std::string& server, int port, Phy::Type phy_type);
Dtest_command_handler.cc134 Phy::Type phy_type = Phy::Type::BR_EDR; in AddRemote() local
136 phy_type = Phy::Type::LOW_ENERGY; in AddRemote()
147 model_.AddRemote(args[0], port, phy_type); in AddRemote()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.h68 … SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> to_send, Phy::Type phy_type);
Ddual_mode_controller.cc79 Phy::Type phy_type) { in SendLinkLayerPacket() argument
82 if (phy_type != std::get<0>(phy_pair)) { in SendLinkLayerPacket()
136 [this](std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Type phy_type) { in DualModeController() argument
137 DualModeController::SendLinkLayerPacket(packet, phy_type); in DualModeController()
Dlink_layer_controller.h227 …std::function<void(std::shared_ptr<packets::LinkLayerPacketBuilder>, Phy::Type phy_type)> send_to_…