Searched defs:connection (Results 1 - 25 of 32) sorted by relevance

12

/system/connectivity/shill/
H A Dmock_dns_server_tester.cc22 #include "shill/connection.h"
26 MockDNSServerTester::MockDNSServerTester(ConnectionRefPtr connection) argument
27 : DNSServerTester(connection,
H A Dmock_http_request.cc19 #include "shill/connection.h"
23 MockHTTPRequest::MockHTTPRequest(ConnectionRefPtr connection) argument
24 : HTTPRequest(connection, nullptr, nullptr) {}
H A Dmock_portal_detector.cc19 #include "shill/connection.h"
24 MockPortalDetector::MockPortalDetector(ConnectionRefPtr connection) argument
25 : PortalDetector(connection,
H A Dmock_connectivity_trial.cc19 #include "shill/connection.h"
23 MockConnectivityTrial::MockConnectivityTrial(ConnectionRefPtr connection, argument
25 : ConnectivityTrial(connection,
H A Dmock_connection_health_checker.cc20 #include "shill/connection.h"
27 ConnectionRefPtr connection,
31 : ConnectionHealthChecker(connection,
26 MockConnectionHealthChecker( ConnectionRefPtr connection, EventDispatcher* dispatcher, IPAddressStore* remote_ips, const Callback<void(Result)>& result_callback) argument
H A Dmock_service.h25 #include "shill/connection.h"
78 MOCK_METHOD1(SetConnection, void(const ConnectionRefPtr& connection));
79 MOCK_CONST_METHOD0(connection, const ConnectionRefPtr&());
95 // Sets the connection reference returned by default when connection()
97 void set_mock_connection(const ConnectionRefPtr& connection) { argument
98 mock_connection_ = connection;
H A Dconnection_tester.cc30 #include "shill/connection.h"
49 ConnectionRefPtr connection,
52 : connection_(connection),
48 ConnectionTester( ConnectionRefPtr connection, EventDispatcher* dispatcher, const Callback<void()>& callback) argument
H A Ddns_server_tester.cc26 #include "shill/connection.h"
46 DNSServerTester::DNSServerTester(ConnectionRefPtr connection, argument
51 : connection_(connection),
H A Dpassive_link_monitor.cc25 #include "shill/connection.h"
46 PassiveLinkMonitor::PassiveLinkMonitor(const ConnectionRefPtr& connection, argument
49 : connection_(connection),
54 new ArpClient(connection ? connection->interface_index() : 0)),
H A Dconnectivity_trial.cc33 #include "shill/connection.h"
59 ConnectionRefPtr connection,
63 : connection_(connection),
58 ConnectivityTrial( ConnectionRefPtr connection, EventDispatcher* dispatcher, int trial_timeout_seconds, const Callback<void(Result)>& callback) argument
H A Dlink_monitor.cc24 #include "shill/connection.h"
48 LinkMonitor::LinkMonitor(const ConnectionRefPtr& connection, argument
54 : connection_(connection),
61 connection,
71 connection,
H A Dportal_detector.cc31 #include "shill/connection.h"
56 ConnectionRefPtr connection,
61 connection_(connection),
110 // connection. If Start has been called, but the trial was delayed,
55 PortalDetector( ConnectionRefPtr connection, EventDispatcher* dispatcher, const Callback<void(const PortalDetector::Result&)>& callback) argument
H A Dactive_link_monitor.cc28 #include "shill/connection.h"
53 ActiveLinkMonitor::ActiveLinkMonitor(const ConnectionRefPtr& connection, argument
59 : connection_(connection),
68 new ArpClient(connection ? connection->interface_index() : 0)),
H A Dconnection.h62 // Binds to |to_connection|. Unbinds the previous bound connection, if
68 ConnectionRefPtr connection() const { return connection_.get(); } function in class:shill::Connection::Binder
94 // Return the connection used by the lower binder.
96 return lower_binder_.connection();
99 // Sets the current connection as "default", i.e., routes and DNS entries
104 // Update and apply the new DNS servers setting to this connection.
121 // Request to accept traffic routed to this connection even if it is not
127 // Request a host route through this connection.
130 // Request a host route through this connection for a list of IPs in CIDR
134 // Return the subnet name for this connection
[all...]
H A Dconnection_health_checker.cc31 #include "shill/connection.h"
84 ConnectionRefPtr connection,
88 : connection_(connection),
209 void ConnectionHealthChecker::SetConnection(ConnectionRefPtr connection) { argument
211 connection_ = connection;
286 SLOG(connection_.get(), 3) << __func__ << ": Starting connection at "
298 << ": AsyncConnection connection attempt failed "
315 // Count this as a failed connection attempt.
325 // Send data on the connection and post a delayed task to check successful
330 // Count this as a failed connection attemp
83 ConnectionHealthChecker( ConnectionRefPtr connection, EventDispatcher* dispatcher, IPAddressStore* remote_ips, const base::Callback<void(Result)>& result_callback) argument
[all...]
H A Dconnection_health_checker.h47 // connectivity status on some connection asynchronously.
49 // connection:
50 // -(1)- No connectivity (TCP connection can not be established)
51 // -(2)- Partial connectivity (TCP connection can be established, but no data
53 // -(3)- Connectivity OK (TCP connection established, is healthy)
58 // Could not attempt a tcp connection.
60 // Failed to create TCP connection. Condition -(1)-.
62 // Failed to send data on TCP connection. Condition -(2)-.
68 ConnectionHealthChecker(ConnectionRefPtr connection,
75 // TCP connection wit
139 Connection* connection() const { return connection_.get(); } function in class:shill::ConnectionHealthChecker
[all...]
H A Dhttp_request.cc26 #include "shill/connection.h"
56 HTTPRequest::HTTPRequest(ConnectionRefPtr connection, argument
59 : connection_(connection),
73 new DNSClient(connection->IsIPv6() ? IPAddress::kFamilyIPv6
75 connection->interface_name(),
76 connection->dns_servers(),
131 // Only install callbacks after connection succeeds in starting.
177 // Start a connection timeout only if we didn't synchronously connect.
207 LOG(ERROR) << "Socket connection delayed failure to "
H A Dconnection.cc17 #include "shill/connection.h"
54 return "(connection)";
89 LOG(INFO) << name_ << ": unbound from connection: "
96 LOG(INFO) << name_ << ": bound to connection: "
102 LOG(INFO) << name_ << ": bound connection disconnected: "
178 // A VPN connection can currently be bound to exactly one lower connection
180 // that connection. Setting up the routing table this way ensures that when
181 // the lower connection goes offline, the associated entries in the routing
184 // connection an
611 ConnectionRefPtr connection = device->connection(); local
[all...]
H A Dhttp_proxy.cc35 #include "shill/connection.h"
73 HTTPProxy::HTTPProxy(ConnectionRefPtr connection) argument
75 connection_(connection),
232 SendClientError(500, string("Socket connection delayed failure: ") +
239 // If this was a "CONNECT" request, notify the client that the connection
523 // Server closed connection.
/system/connectivity/shill/dbus/
H A Dchromeos_dhcpcd_listener.cc87 DBusConnection* connection, DBusMessage* raw_message, void* user_data) {
90 return self->HandleMessage(connection, raw_message);
94 DBusConnection* connection, DBusMessage* raw_message) {
86 HandleMessageThunk( DBusConnection* connection, DBusMessage* raw_message, void* user_data) argument
93 HandleMessage( DBusConnection* connection, DBusMessage* raw_message) argument
/system/connectivity/shill/vpn/
H A Dvpn_service.cc160 void VPNService::SetConnection(const ConnectionRefPtr& connection) { argument
161 // Construct the connection binder here rather than in the constructor because
173 // through this method. This means that the connection binder will not be
174 // notified when the connection is destructed (because we will unbind it first
176 // by ~VPNService) -- it will be notified only if the connection disconnects
177 // (e.g., because an underlying connection is destructed).
178 connection_binder_->Attach(connection);
179 Service::SetConnection(connection);
201 ConnectionRefPtr conn = connection();
249 ConnectionRefPtr conn = connection();
[all...]
/system/webservd/webservd/
H A Dprotocol_handler.cc42 MHD_Connection* connection,
53 request_handler_id, url, method, version, connection, handler
74 MHD_Connection* /* connection */,
41 ConnectionHandler(void *cls, MHD_Connection* connection, const char* url, const char* method, const char* version, const char* upload_data, size_t* upload_data_size, void** con_cls) argument
H A Drequest.cc90 MHD_Connection* connection,
97 connection_{connection},
111 connection, 1024, &RequestHelper::PostDataIterator, this);
301 // transfer on the connection and wait till some data is being read from the
335 // transfer on the connection and wait till some data is available from the
85 Request( const std::string& request_handler_id, const std::string& url, const std::string& method, const std::string& version, MHD_Connection* connection, ProtocolHandler* protocol_handler) argument
/system/bt/stack/btm/
H A Dbtm_ble_bgconn.c75 background_connection_t *connection = hash_map_get(background_connections, address); local
76 if (!connection) {
77 connection = osi_calloc(sizeof(background_connection_t));
78 connection->address = *address;
79 hash_map_set(background_connections, &(connection->address), connection);
95 background_connection_t *connection = hash_entry->data; local
96 const bool connected = BTM_IsAclConnectionUp(connection->address.address, BT_TRANSPORT_LE);
354 ** Description This function is to start/stop auto connection procedure.
410 /* start auto connection faile
[all...]
/system/bt/service/
H A Dgatt_server.cpp320 // Find the correct connection ID for |device_address| and |request_id|.
327 std::shared_ptr<Connection> connection; local
333 connection = tmp;
336 if (!connection) {
347 int handle = connection->request_id_to_handle[request_id];
358 connection->conn_id, request_id, error, &response);
364 connection->request_id_to_handle.erase(request_id);
386 // Get the connection IDs for which we will send this notification.
407 // Make sure that one isn't already pending for this connection.
411 << " is already pending for connection
[all...]

Completed in 5148 milliseconds

12