Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 8 of 8) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/src/
Dconnection.cc30 void Connection::AddAction(const TaskCallback& task) { actions_.push(task); } in AddAction()
33 void Connection::SendToDevice() { in SendToDevice()
42 void Connection::AddMessage(const vector<uint8_t>& data) { in AddMessage()
47 bool Connection::ReceiveFromDevice(vector<uint8_t>& data) { in ReceiveFromDevice()
57 const std::string Connection::ToString() { in ToString()
Ddual_mode_controller.cc337 std::make_shared<Connection>(devices_[dev], handle)); in LeScan()
/system/core/adb/
Dtransport.h61 struct Connection { struct
62 Connection() = default;
63 Connection(const Connection& copy) = delete;
64 Connection(Connection&& move) = delete;
67 virtual ~Connection() = default;
80 struct FdConnection : public Connection {
92 struct UsbConnection : public Connection {
137 std::unique_ptr<Connection> connection;
/system/bt/vendor_libs/test_vendor_lib/include/
Dconnection.h32 class Connection {
34 Connection(std::shared_ptr<Device> dev, uint16_t handle) in Connection() function
37 virtual ~Connection() = default;
Ddual_mode_controller.h474 std::vector<std::shared_ptr<Connection>> connections_;
/system/bt/service/
Dgatt_server.h171 struct Connection { struct
172 Connection(int conn_id, const RawAddress& bdaddr) in Connection() argument
174 Connection() : conn_id(-1) { memset(&bdaddr, 0, sizeof(bdaddr)); } in Connection() function
236 std::shared_ptr<Connection> GetConnection(int conn_id, const RawAddress& bda,
251 std::unordered_map<int, std::shared_ptr<Connection>> conn_id_map_;
252 std::unordered_map<std::string, std::vector<std::shared_ptr<Connection>>>
Dgatt_server.cc138 std::shared_ptr<Connection> connection; in SendResponse()
287 std::shared_ptr<Connection> connection(new Connection(conn_id, bda)); in ConnectionCallback()
543 std::shared_ptr<GattServer::Connection> GattServer::GetConnection( in GetConnection()
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dtest_channel.py59 class Connection(object): class
85 self._connection = Connection(port)