Searched refs:Connection (Results 1 - 25 of 25) sorted by relevance

/system/connectivity/shill/
H A Dmock_connection.cc24 : Connection(0, std::string(), Technology::kUnknown, device_info,
H A Dmock_passive_link_monitor.h27 class Connection;
H A Dconnection.cc52 static string ObjectID(Connection* c) {
69 const uint32_t Connection::kDefaultMetric = 1;
71 const uint32_t Connection::kNonDefaultMetricBase = 10;
73 const uint32_t Connection::kMarkForUserTraffic = 0x1;
75 const uint8_t Connection::kSecondaryTableId = 0x1;
77 Connection::Binder::Binder(const string& name,
82 Connection::Binder::~Binder() {
86 void Connection::Binder::Attach(const ConnectionRefPtr& to_connection) {
101 void Connection::Binder::OnDisconnect() {
111 Connection function in class:shill::Connection
[all...]
H A Dmock_active_link_monitor.h27 class Connection;
H A Dconnection.h50 class Connection : public base::RefCounted<Connection> { class in namespace:shill
52 // Clients can instantiate and use Binder to bind to a Connection and get
53 // notified when the bound Connection disconnects. Note that the client's
55 // Connection is destroyed or signals disconnect. The Binder unbinds itself
56 // from the underlying Connection when the Binder instance is destructed.
71 friend class Connection;
78 base::WeakPtr<Connection> connection_;
84 Connection(int interface_index,
151 friend class base::RefCounted<Connection>;
[all...]
H A Drefptr_types.h90 class Connection;
91 typedef scoped_refptr<Connection> ConnectionRefPtr;
H A Dconnection_tester.cc43 static string ObjectID(Connection* c) { return c->interface_name(); }
H A Dmock_connection.h30 class MockConnection : public Connection {
H A Dconnection_unittest.cc84 connection_(new Connection(
163 return Connection::kDefaultMetric;
167 return Connection::kNonDefaultMetricBase;
215 ConnectionRefPtr connection(new Connection(kTestDeviceInterfaceIndex0,
531 // Connection should add a link route which will allow the
736 ConnectionRefPtr connection(new Connection(kTestDeviceInterfaceIndex1,
784 Connection::kDefaultMetric,
931 Connection::Binder binder0("binder0", target0.callback());
932 Connection::Binder binder1("binder1", target1.callback());
933 Connection
[all...]
H A Dlink_monitor.cc39 static string ObjectID(Connection* c) { return c->interface_name(); }
H A Dpassive_link_monitor.cc38 static string ObjectID(Connection* c) { return c->interface_name(); }
51 // Connection is not provided when this is used as a mock for testing
H A Dconnection_health_checker.h82 // Change the associated Connection on the Device.
139 Connection* connection() const { return connection_.get(); }
H A Dportal_detector.cc44 static string ObjectID(Connection* c) { return c->interface_name(); }
H A Dactive_link_monitor.cc44 static string ObjectID(Connection* c) { return c->interface_name(); }
65 // Connection is not provided when this is used as a mock for testing
H A Dconnectivity_trial.cc51 static string ObjectID(Connection* c) { return c->interface_name(); }
H A Dhttp_request.cc44 static string ObjectID(Connection* c) { return c->interface_name(); }
54 "Connection: Close\r\n\r\n";
266 LOG(ERROR) << "Connection with "
H A Dconnection_health_checker.cc52 static string ObjectID(Connection* c) {
175 SLOG(connection_.get(), 2) << __func__ << ": Connection not ready yet.";
289 SLOG(connection_.get(), 2) << __func__ << ": Connection attempt failed.";
313 << ": Connection originally not in established "
356 << __func__ << ": Connection not in acceptable state after send.";
H A Dhttp_proxy.cc51 static string ObjectID(Connection* c) {
271 } else if (base::StartsWith(header, "Connection:",
274 header.assign("Connection: close");
275 } else if (base::StartsWith(header, "Proxy-Connection:",
277 header.assign("Proxy-Connection: close");
282 client_headers_.push_back("Connection: close");
H A Ddevice.cc989 << ": Completed Connection diagnostics";
1135 connection_ = new Connection(interface_index_,
1349 << ": Connection diagnostics failed to start: likely bad URL: "
1356 << ": Connection diagnostics has started.";
1362 << ": Connection diagnostics stopping.";
/system/bt/service/
H A Dgatt_server.h224 struct Connection { struct in class:bluetooth::GattServer
225 Connection(int conn_id, const bt_bdaddr_t& bdaddr) function in struct:bluetooth::GattServer::Connection
227 Connection() : conn_id(-1) { function in struct:bluetooth::GattServer::Connection
315 // Helper method that returns a pointer to an internal Connection instance
317 std::shared_ptr<Connection> GetConnection(int conn_id, const bt_bdaddr_t& bda,
341 // device addresses to Connection structures. The conn_id map is one-to-one
344 std::unordered_map<int, std::shared_ptr<Connection>> conn_id_map_;
345 std::unordered_map<std::string, std::vector<std::shared_ptr<Connection>>>
H A Dgatt_server.cpp327 std::shared_ptr<Connection> connection;
485 LOG(WARNING) << "Connection entry already exists; "
492 std::shared_ptr<Connection> connection(new Connection(conn_id, bda));
908 std::shared_ptr<GattServer::Connection> GattServer::GetConnection(
912 VLOG(1) << "Connection doesn't belong to this server";
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dtest_channel.py59 class Connection(object): class in inherits:object
85 self._connection = Connection(port)
/system/connectivity/shill/vpn/
H A Dvpn_service.h85 std::unique_ptr<Connection::Binder> connection_binder_;
H A Dvpn_service.cc168 new Connection::Binder(unique_name(),
H A Dvpn_service_unittest.cc362 scoped_refptr<Connection> null_connection;
408 scoped_refptr<Connection> null_connection;

Completed in 556 milliseconds