/system/connectivity/shill/ |
D | connection_health_checker.cc | 88 : connection_(connection), in ConnectionHealthChecker() 97 tcp_connection_(new AsyncConnection(connection_->interface_name(), in ConnectionHealthChecker() 139 SLOG(connection_.get(), 2) << __func__ << ": Malformed url: " in AddRemoteURL() 144 SLOG(connection_.get(), 2) << __func__ in AddRemoteURL() 154 connection_->interface_name(), in AddRemoteURL() 155 connection_->dns_servers(), in AddRemoteURL() 161 SLOG(connection_.get(), 2) << __func__ << ": Failed to start DNS client " in AddRemoteURL() 170 SLOG(connection_.get(), 2) << __func__ in Start() 174 if (!connection_.get()) { in Start() 175 SLOG(connection_.get(), 2) << __func__ << ": Connection not ready yet."; in Start() [all …]
|
D | active_link_monitor.cc | 59 : connection_(connection), in ActiveLinkMonitor() 86 SLOG(connection_.get(), 2) << "In " << __func__ << "."; in Start() 92 SLOG(connection_.get(), 2) << "In " << __func__ << "."; in Stop() 125 connection_->interface_index(), &local_mac_address_)) { in StartInternal() 128 connection_->technology(), in StartInternal() 138 connection_->technology(), in StartInternal() 164 SLOG(connection_.get(), 2) << "In " << __func__ << " with sample " in AddResponseTimeSample() 167 connection_->technology(), response_time_milliseconds); in AddResponseTimeSample() 192 SLOG(connection_.get(), 4) << "Created ARP client; listening on socket " in StartArpClient() 208 SLOG(connection_.get(), 2) << "In " << __func__ << "."; in AddMissedResponse() [all …]
|
D | connection_unittest.cc | 84 connection_(new Connection( in ConnectionTest() 99 ReplaceSingletons(connection_); in SetUp() 123 connection_ = nullptr; in TearDown() 171 connection_->local_ = local; in SetLocal() 225 ConnectionRefPtr connection_; member in shill::ConnectionTest 277 EXPECT_EQ(kTestDeviceInterfaceIndex0, connection_->interface_index_); in TEST_F() 278 EXPECT_EQ(kTestDeviceName0, connection_->interface_name_); in TEST_F() 279 EXPECT_FALSE(connection_->is_default()); in TEST_F() 280 EXPECT_FALSE(connection_->routing_request_count_); in TEST_F() 306 connection_->UpdateFromIPConfig(ipconfig_); in TEST_F() [all …]
|
D | http_request.cc | 59 : connection_(connection), in HTTPRequest() 81 new AsyncConnection(connection_->interface_name(), in HTTPRequest() 97 SLOG(connection_.get(), 3) << "In " << __func__; in Start() 108 connection_->RequestRouting(); in Start() 111 if (connection_->IsIPv6()) { in Start() 122 SLOG(connection_.get(), 3) << "Looking up host: " << server_hostname_; in Start() 139 SLOG(connection_.get(), 3) << "In " << __func__ << "; running is " in Stop() 151 connection_->ReleaseRouting(); in Stop() 170 SLOG(connection_.get(), 3) << "In " << __func__; in ConnectServer() 186 SLOG(connection_.get(), 3) << "In " << __func__; in GetDNSResult() [all …]
|
D | connection_diagnostics.cc | 160 connection_(connection), in ConnectionDiagnostics() 164 connection_, dispatcher_, in ConnectionDiagnostics() 167 arp_client_(new ArpClient(connection_->interface_index())), in ConnectionDiagnostics() 338 weak_ptr_factory_.GetWeakPtr(), connection_->dns_servers())); in StartAfterPortalDetectionInternal() 351 connection_->IsIPv6() ? IPAddress::kFamilyIPv6 : IPAddress::kFamilyIPv4, in ResolveTargetServerIPAddress() 352 connection_->interface_name(), dns_servers, kDNSTimeoutSeconds * 1000, in ResolveTargetServerIPAddress() 373 if (connection_->dns_servers().empty()) { in PingDNSServers() 385 for (size_t i = 0; i < connection_->dns_servers().size(); ++i) { in PingDNSServers() 390 IPAddress dns_server_ip_addr(connection_->dns_servers()[i]); in PingDNSServers() 424 if (num_invalid_dns_server_addr == connection_->dns_servers().size()) { in PingDNSServers() [all …]
|
D | passive_link_monitor.cc | 49 : connection_(connection), in PassiveLinkMonitor() 66 SLOG(connection_.get(), 2) << "In " << __func__ << "."; in Start() 82 SLOG(connection_.get(), 2) << "In " << __func__ << "."; in Stop() 108 SLOG(connection_.get(), 2) << "In " << __func__ << "."; in ReceiveRequest() 117 SLOG(connection_.get(), 4) << "This is not a request packet. Ignoring."; in ReceiveRequest()
|
D | connection_tester.cc | 52 : connection_(connection), in ConnectionTester() 57 new ConnectivityTrial(connection_, in ConnectionTester() 69 SLOG(connection_.get(), 3) << "In " << __func__; in Start() 76 SLOG(connection_.get(), 3) << "In " << __func__; in Stop()
|
D | portal_detector.cc | 61 connection_(connection), 70 new ConnectivityTrial(connection_, 85 SLOG(connection_.get(), 3) << "In " << __func__; in StartAfterDelay() 101 SLOG(connection_.get(), 3) << "In " << __func__; in Stop() 168 SLOG(connection_.get(), 4) << "Elapsed time from previous attempt is " in AdjustStartDelay() 178 SLOG(connection_.get(), 3) << "Adjusting trial start delay from " in AdjustStartDelay()
|
D | connectivity_trial.cc | 63 : connection_(connection), in ConnectivityTrial() 81 SLOG(connection_.get(), 3) << "In " << __func__; in Retry() 92 SLOG(connection_.get(), 3) << "In " << __func__; in Start() 101 request_.reset(new HTTPRequest(connection_, dispatcher_, &sockets_)); in Start() 108 SLOG(connection_.get(), 3) << "In " << __func__; in Stop() 118 SLOG(connection_.get(), 4) << "In " << __func__ in StartTrialAfterDelay() 178 SLOG(connection_.get(), 3) in CompleteTrial()
|
D | connection_tester_unittest.cc | 52 connection_(new StrictMock<MockConnection>(device_info_.get())), in ConnectionTesterTest() 54 new ConnectionTester(connection_.get(), &dispatcher_, in ConnectionTesterTest() 57 connection_, ConnectionTester::kTrialTimeoutSeconds)) {} in ConnectionTesterTest() 60 EXPECT_CALL(*connection_.get(), IsIPv6()) in SetUp() 111 scoped_refptr<MockConnection> connection_; member in shill::ConnectionTesterTest
|
D | http_proxy.cc | 75 connection_(connection), in HTTPProxy() 106 SLOG(connection_.get(), 3) << "In " << __func__; in Start() 143 connection_->interface_name(), in Start() 144 connection_->dns_servers(), in Start() 150 new AsyncConnection(connection_->interface_name(), dispatcher, sockets, in Start() 158 SLOG(connection_.get(), 3) << "In " << __func__; in Stop() 181 SLOG(connection_.get(), 3) << "In " << __func__; in AcceptClient() 258 SLOG(connection_.get(), 3) << "In " << __func__; in ParseClientRequest() 326 connection_->RequestRouting(); in ParseClientRequest() 335 SLOG(connection_.get(), 3) << "Looking up host: " << server_hostname_; in ParseClientRequest() [all …]
|
D | http_request_unittest.cc | 98 connection_(new StrictMock<MockConnection>(device_info_.get())) {} in HTTPRequestTest() 126 EXPECT_CALL(*connection_.get(), IsIPv6()) in SetUp() 128 EXPECT_CALL(*connection_.get(), interface_name()) in SetUp() 130 EXPECT_CALL(*connection_.get(), dns_servers()) in SetUp() 133 request_.reset(new HTTPRequest(connection_, &dispatcher_, &sockets_)); in SetUp() 163 EXPECT_EQ(connection_.get(), request_->connection_.get()); in ExpectReset() 194 EXPECT_CALL(*connection_.get(), ReleaseRouting()); in ExpectStop() 255 EXPECT_CALL(*connection_.get(), RequestRouting()); in ExpectRouteRequest() 258 EXPECT_CALL(*connection_.get(), ReleaseRouting()); in ExpectRouteRelease() 343 scoped_refptr<MockConnection> connection_; member in shill::HTTPRequestTest
|
D | connection.cc | 87 if (connection_) { in Attach() 88 connection_->DetachBinder(this); in Attach() 90 << connection_->interface_name(); in Attach() 91 connection_.reset(); in Attach() 94 connection_ = to_connection->weak_ptr_factory_.GetWeakPtr(); in Attach() 95 connection_->AttachBinder(this); in Attach() 97 << connection_->interface_name(); in Attach() 103 << connection_->interface_name(); in OnDisconnect() 104 connection_.reset(); in OnDisconnect() 106 SLOG(connection_.get(), 2) << "Running client disconnect callback."; in OnDisconnect()
|
D | link_monitor.cc | 54 : connection_(connection), in LinkMonitor() 91 SLOG(connection_.get(), 2) << "In " << __func__ << "."; in Stop() 131 connection_->technology(), in OnActiveLinkMonitorFailure()
|
D | dns_server_tester_unittest.cc | 65 connection_(new StrictMock<MockConnection>(device_info_.get())), in DNSServerTesterTest() 70 EXPECT_CALL(*connection_.get(), interface_name()) in SetUp() 73 new DNSServerTester(connection_.get(), in SetUp() 110 scoped_refptr<MockConnection> connection_; member in shill::DNSServerTesterTest
|
D | device_unittest.cc | 219 device_->connection_ = connection; in SetConnection() 1905 : connection_(new StrictMock<MockConnection>(&device_info_)), in DevicePortalDetectionTest() 1913 portal_detector_(new StrictMock<MockPortalDetector>(connection_)) {} in DevicePortalDetectionTest() 1918 SetConnection(connection_.get()); in SetUp() 1954 scoped_refptr<MockConnection> connection_; member in shill::DevicePortalDetectionTest 2036 EXPECT_CALL(*connection_.get(), interface_name()) in TEST_F() 2038 EXPECT_CALL(*connection_.get(), IsIPv6()) in TEST_F() 2041 EXPECT_CALL(*connection_.get(), dns_servers()) in TEST_F() 2067 EXPECT_CALL(*connection_.get(), interface_name()) in TEST_F() 2069 EXPECT_CALL(*connection_.get(), IsIPv6()) in TEST_F() [all …]
|
D | device.cc | 896 (!connection_ || connection_->IsIPv6())) { in OnIPv6ConfigUpdated() 903 connection_->UpdateFromIPConfig(ipconfig); in SetupConnection() 907 connection_->IsIPv6() ? Metrics::kNetworkConnectionIPTypeIPv6 in SetupConnection() 918 selected_service_->SetConnection(connection_); in SetupConnection() 1055 if (!connection_ || !connection_->IsIPv6()) { in OnIPConfigFailed() 1134 if (!connection_.get()) { in CreateConnection() 1135 connection_ = new Connection(interface_index_, in CreateConnection() 1151 connection_ = nullptr; in DestroyConnection() 1259 if (!connection_.get()) { in RequestPortalDetection() 1272 if (!connection_->is_default()) { in RequestPortalDetection() [all …]
|
D | portal_detector_unittest.cc | 74 connection_(new StrictMock<MockConnection>(device_info_.get())), in PortalDetectorTest() 76 new PortalDetector(connection_.get(), &dispatcher_, in PortalDetectorTest() 79 connection_, PortalDetector::kRequestTimeoutSeconds)), in PortalDetectorTest() 86 EXPECT_CALL(*connection_.get(), IsIPv6()) in SetUp() 88 EXPECT_CALL(*connection_.get(), interface_name()) in SetUp() 93 EXPECT_CALL(*connection_.get(), dns_servers()) in SetUp() 172 scoped_refptr<MockConnection> connection_; member in shill::PortalDetectorTest
|
D | passive_link_monitor_unittest.cc | 84 connection_(new StrictMock<MockConnection>(&device_info_)), in PassiveLinkMonitorTest() 87 link_monitor_(connection_, &dispatcher_, observer_.result_callback()), in PassiveLinkMonitorTest() 96 EXPECT_CALL(*connection_, interface_name()) in SetUp() 139 scoped_refptr<MockConnection> connection_; member in shill::PassiveLinkMonitorTest
|
D | connection_diagnostics_unittest.cc | 152 connection_(new NiceMock<MockConnection>(&device_info_)), in ConnectionDiagnosticsTest() 153 connection_diagnostics_(connection_, &dispatcher_, &metrics_, in ConnectionDiagnosticsTest() 156 portal_detector_(new NiceMock<MockPortalDetector>(connection_)) {} in ConnectionDiagnosticsTest() 176 ON_CALL(*connection_.get(), interface_name()) in SetUp() 178 ON_CALL(*connection_.get(), dns_servers()) in SetUp() 180 ON_CALL(*connection_.get(), gateway()) in SetUp() 182 ON_CALL(*connection_.get(), local()) in SetUp() 218 EXPECT_CALL(*connection_.get(), gateway()) in UseIPv6Gateway() 369 EXPECT_CALL(*connection_.get(), IsIPv6()) in ExpectResolveTargetServerIPAddressStartSuccess() 455 connection_->interface_index(), _, _, in ExpectFindRouteToHostStartSuccess() [all …]
|
D | dns_server_tester.cc | 51 : connection_(connection), in DNSServerTester() 60 connection_->interface_name(), in DNSServerTester()
|
/system/connectivity/shill/vpn/ |
D | vpn_service_unittest.cc | 60 connection_(new NiceMock<MockConnection>(&device_info_)), in VPNServiceTest() 71 ON_CALL(*connection_, interface_name()) in SetUp() 73 ON_CALL(*connection_, ipconfig_rpc_identifier()) in SetUp() 126 scoped_refptr<NiceMock<MockConnection>> connection_; member in shill::VPNServiceTest 256 service_->SetConnection(connection_); in TEST_F() 258 EXPECT_EQ(connection_.get(), in TEST_F() 260 EXPECT_EQ(connection_.get(), service_->connection().get()); in TEST_F() 266 service_->SetConnection(connection_); in TEST_F() 268 connection_->OnLowerDisconnect(); in TEST_F() 365 service_->SetConnection(connection_); in TEST_F() [all …]
|
/system/connectivity/shill/cellular/ |
D | subscription_state_out_of_credits_detector_unittest.cc | 56 connection_(new NiceMock<MockConnection>(&device_info_)), in SubscriptionStateOutOfCreditsDetectorTest() 63 service_->connection_ = connection_; in SetUp() 82 scoped_refptr<NiceMock<MockConnection>> connection_; member in shill::SubscriptionStateOutOfCreditsDetectorTest
|
D | active_passive_out_of_credits_detector_unittest.cc | 66 connection_(new NiceMock<MockConnection>(&device_info_)), in ActivePassiveOutOfCreditsDetectorTest() 73 service_->connection_ = connection_; in SetUp() 76 ON_CALL(*connection_, interface_name()) in SetUp() 78 ON_CALL(*connection_, dns_servers()) in SetUp() 117 scoped_refptr<NiceMock<MockConnection>> connection_; member in shill::ActivePassiveOutOfCreditsDetectorTest
|
/system/webservd/webservd/ |
D | request.cc | 97 connection_{connection}, 156 MHD_get_connection_info(connection_, MHD_CONNECTION_INFO_CLIENT_ADDRESS); in Complete() 193 MHD_get_connection_values(connection_, MHD_HEADER_KIND, in BeginRequestData() 195 MHD_get_connection_values(connection_, MHD_COOKIE_KIND, in BeginRequestData() 197 MHD_get_connection_values(connection_, MHD_POSTDATA_KIND, in BeginRequestData() 199 MHD_get_connection_values(connection_, MHD_GET_ARGUMENT_KIND, in BeginRequestData() 237 MHD_queue_response(connection_, response_status_code_, resp)) in EndRequestData() 303 MHD_suspend_connection(connection_); in AddRawRequestData() 313 MHD_resume_connection(connection_); in AddRawRequestData() 337 MHD_suspend_connection(self->connection_); in ResponseDataCallback() [all …]
|