Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 82) sorted by relevance

1234

/system/connectivity/shill/
Dconnection_unittest.cc126 void ReplaceSingletons(ConnectionRefPtr connection) { in ReplaceSingletons() argument
128 connection->resolver_ = &resolver_; in ReplaceSingletons()
130 connection->dns_server_proxy_factory_ = &dns_server_proxy_factory_; in ReplaceSingletons()
132 connection->routing_table_ = &routing_table_; in ReplaceSingletons()
133 connection->rtnl_handler_ = &rtnl_handler_; in ReplaceSingletons()
144 bool PinHostRoute(ConnectionRefPtr connection, in PinHostRoute() argument
147 return connection->PinHostRoute(trusted_ip, gateway); in PinHostRoute()
150 const IPAddress& GetLocalAddress(ConnectionRefPtr connection) { in GetLocalAddress() argument
151 return connection->local_; in GetLocalAddress()
154 const IPAddress& GetGatewayAddress(ConnectionRefPtr connection) { in GetGatewayAddress() argument
[all …]
Dpassive_link_monitor.cc46 PassiveLinkMonitor::PassiveLinkMonitor(const ConnectionRefPtr& connection, in PassiveLinkMonitor() argument
49 : connection_(connection), in PassiveLinkMonitor()
54 new ArpClient(connection ? connection->interface_index() : 0)), in PassiveLinkMonitor()
Dmock_http_request.cc23 MockHTTPRequest::MockHTTPRequest(ConnectionRefPtr connection) in MockHTTPRequest() argument
24 : HTTPRequest(connection, nullptr, nullptr) {} in MockHTTPRequest()
Dlink_monitor.cc48 LinkMonitor::LinkMonitor(const ConnectionRefPtr& connection, in LinkMonitor() argument
54 : connection_(connection), in LinkMonitor()
61 connection, in LinkMonitor()
71 connection, in LinkMonitor()
Dmock_portal_detector.cc24 MockPortalDetector::MockPortalDetector(ConnectionRefPtr connection) in MockPortalDetector() argument
25 : PortalDetector(connection, in MockPortalDetector()
Dmock_connectivity_trial.cc23 MockConnectivityTrial::MockConnectivityTrial(ConnectionRefPtr connection, in MockConnectivityTrial() argument
25 : ConnectivityTrial(connection, in MockConnectivityTrial()
Dmock_dns_server_tester.cc26 MockDNSServerTester::MockDNSServerTester(ConnectionRefPtr connection) in MockDNSServerTester() argument
27 : DNSServerTester(connection, in MockDNSServerTester()
Dmock_service.h78 MOCK_METHOD1(SetConnection, void(const ConnectionRefPtr& connection));
79 MOCK_CONST_METHOD0(connection, const ConnectionRefPtr&());
97 void set_mock_connection(const ConnectionRefPtr& connection) { in set_mock_connection() argument
98 mock_connection_ = connection; in set_mock_connection()
Dmock_connection_health_checker.cc27 ConnectionRefPtr connection, in MockConnectionHealthChecker() argument
31 : ConnectionHealthChecker(connection, in MockConnectionHealthChecker()
Dmock_device.cc51 ON_CALL(*this, connection()) in MockDevice()
52 .WillByDefault(testing::ReturnRef(Device::connection())); in MockDevice()
Dhttp_request.cc56 HTTPRequest::HTTPRequest(ConnectionRefPtr connection, in HTTPRequest() argument
59 : connection_(connection), in HTTPRequest()
73 new DNSClient(connection->IsIPv6() ? IPAddress::kFamilyIPv6 in HTTPRequest()
75 connection->interface_name(), in HTTPRequest()
76 connection->dns_servers(), in HTTPRequest()
Dconnection_tester.cc49 ConnectionRefPtr connection, in ConnectionTester() argument
52 : connection_(connection), in ConnectionTester()
Dconnection.cc611 ConnectionRefPtr connection = device->connection(); in OnRouteQueryResponse() local
612 if (!connection) { in OnRouteQueryResponse()
616 if (connection == this) { in OnRouteQueryResponse()
620 lower_binder_.Attach(connection); in OnRouteQueryResponse()
621 connection->CreateGatewayRoute(); in OnRouteQueryResponse()
653 ConnectionRefPtr connection(this); in OnLowerDisconnect() local
654 connection->NotifyBindersOnDisconnect(); in OnLowerDisconnect()
Dconnection_health_checker.h68 ConnectionHealthChecker(ConnectionRefPtr connection,
85 virtual void SetConnection(ConnectionRefPtr connection);
139 Connection* connection() const { return connection_.get(); } in connection() function
Ddns_server_tester.cc46 DNSServerTester::DNSServerTester(ConnectionRefPtr connection, in DNSServerTester() argument
51 : connection_(connection), in DNSServerTester()
Dactive_link_monitor.cc53 ActiveLinkMonitor::ActiveLinkMonitor(const ConnectionRefPtr& connection, in ActiveLinkMonitor() argument
59 : connection_(connection), in ActiveLinkMonitor()
68 new ArpClient(connection ? connection->interface_index() : 0)), in ActiveLinkMonitor()
Ddevice_unittest.cc218 void SetConnection(ConnectionRefPtr connection) { in SetConnection() argument
219 device_->connection_ = connection; in SetConnection()
732 scoped_refptr<MockConnection> connection( in TEST_F() local
734 SetConnection(connection.get()); in TEST_F()
737 EXPECT_CALL(*connection, IsIPv6()) in TEST_F()
739 EXPECT_CALL(*connection, UpdateFromIPConfig(device_->ip6config_)); in TEST_F()
764 scoped_refptr<MockConnection> connection( in TEST_F() local
766 SetConnection(connection.get()); in TEST_F()
769 EXPECT_CALL(*connection, IsIPv6()) in TEST_F()
775 EXPECT_THAT(device_->connection(), NotNullRefPtr()); in TEST_F()
[all …]
/system/weaved/libweaved/
DREADME.md5 This class maintains an IPC connection to the daemon and allows clients to
10 `Service::Connect` static method. This method initiates a connection to weaved
12 invoked, the connection to the weave daemon is available and the client should
14 If connection is lost (e.g. the weave daemon exist), the provided weak
16 restarted and the connection is restored, the `callback` is invoked again and
/system/connectivity/shill/vpn/
Dvpn_service.cc160 void VPNService::SetConnection(const ConnectionRefPtr& connection) { in SetConnection() argument
178 connection_binder_->Attach(connection); in SetConnection()
179 Service::SetConnection(connection); in SetConnection()
201 ConnectionRefPtr conn = connection(); in GetTethering()
249 ConnectionRefPtr conn = connection(); in GetPhysicalTechnologyProperty()
/system/connectivity/shill/bin/
Dset_cellular_ppp200 When your cellular dongle is connected to the system, its connection
204 connection with other users, you will need to clear the PPP username
213 Your cellular connection could not be configured for sharing with
215 connection with them, please try running this command again.
/system/bt/stack/btm/
Dbtm_ble_bgconn.c75 background_connection_t *connection = hash_map_get(background_connections, address); in background_connection_add() local
76 if (!connection) { in background_connection_add()
77 connection = osi_calloc(sizeof(background_connection_t)); in background_connection_add()
78 connection->address = *address; in background_connection_add()
79 hash_map_set(background_connections, &(connection->address), connection); in background_connection_add()
95 background_connection_t *connection = hash_entry->data; in background_connections_pending_cb() local
96 const bool connected = BTM_IsAclConnectionUp(connection->address.address, BT_TRANSPORT_LE); in background_connections_pending_cb()
/system/connectivity/shill/dbus/
Dchromeos_dhcpcd_listener.h55 static DBusHandlerResult HandleMessageThunk(DBusConnection* connection,
60 DBusHandlerResult HandleMessage(DBusConnection* connection,
Dchromeos_dhcpcd_listener.cc87 DBusConnection* connection, DBusMessage* raw_message, void* user_data) { in HandleMessageThunk() argument
90 return self->HandleMessage(connection, raw_message); in HandleMessageThunk()
94 DBusConnection* connection, DBusMessage* raw_message) { in HandleMessage() argument
/system/core/adb/
Dprotocol.txt42 connection. The protocol depends on shared state and any break in the
68 Both sides send a CONNECT message when the connection between them is
73 large maxdata value, the connection with the other side must be closed.
106 the connection has been established (and identifying the other end) or
134 is used to establish the connection). Nonetheless, the local-id MUST
152 the connection.
157 The CLOSE message informs recipient that the connection between the
174 outbound messages are discarded when the connection to the remote side
178 * when the connection to the remote side goes offline, the io pump
180 * when the connection to the remote side is established, the io pump
[all …]
/system/connectivity/shill/cellular/
Dactive_passive_out_of_credits_detector.cc137 DCHECK(service()->connection()); in SetupConnectionHealthChecker()
143 service()->connection(), in SetupConnectionHealthChecker()
150 health_checker_->SetConnection(service()->connection()); in SetupConnectionHealthChecker()

1234