Searched defs:connection_ (Results 1 - 25 of 30) sorted by last modified time

12

/system/connectivity/shill/
H A Dactive_link_monitor.h148 ConnectionRefPtr connection_; member in class:shill::ActiveLinkMonitor
H A Dactive_link_monitor_unittest.cc135 connection_(new StrictMock<MockConnection>(&device_info_)),
145 monitor_(connection_,
166 EXPECT_CALL(*connection_, local()).WillRepeatedly(ReturnRef(local_ip_));
168 EXPECT_CALL(*connection_, gateway()).WillRepeatedly(ReturnRef(gateway_ip_));
169 EXPECT_CALL(*connection_, technology())
171 EXPECT_CALL(*connection_, ipconfig_rpc_identifier())
173 EXPECT_CALL(*connection_, interface_name())
356 scoped_refptr<MockConnection> connection_; member in class:shill::ActiveLinkMonitorTest
H A Dconnection.h67 bool IsBound() const { return connection_ != nullptr; }
68 ConnectionRefPtr connection() const { return connection_.get(); }
74 // Invoked by |connection_|.
78 base::WeakPtr<Connection> connection_; member in class:shill::Connection::Binder
H A Dconnection_diagnostics.h207 // Starts diagnosing problems that |connection_| encounters reaching
253 // Pings all the DNS servers of |connection_|.
269 // address assigned to |connection_|.
338 ConnectionRefPtr connection_; member in class:shill::ConnectionDiagnostics
340 // Used to get the MAC address of the device associated with |connection_|.
343 // The MAC address of device associated with |connection_|.
356 // Used to ping multiple DNS servers in |connection_| in parallel.
H A Dconnection_diagnostics_unittest.cc152 connection_(new NiceMock<MockConnection>(&device_info_)),
153 connection_diagnostics_(connection_, &dispatcher_, &metrics_,
156 portal_detector_(new NiceMock<MockPortalDetector>(connection_)) {}
176 ON_CALL(*connection_.get(), interface_name())
178 ON_CALL(*connection_.get(), dns_servers())
180 ON_CALL(*connection_.get(), gateway())
182 ON_CALL(*connection_.get(), local())
218 EXPECT_CALL(*connection_.get(), gateway())
369 EXPECT_CALL(*connection_.get(), IsIPv6())
455 connection_
826 scoped_refptr<NiceMock<MockConnection>> connection_; member in class:shill::ConnectionDiagnosticsTest
[all...]
H A Dconnection_health_checker.h139 Connection* connection() const { return connection_.get(); }
193 ConnectionRefPtr connection_; member in class:shill::ConnectionHealthChecker
H A Dconnection_health_checker_unittest.cc86 connection_(new NiceMock<MockConnection>(&device_info_)),
132 EXPECT_CALL(*connection_.get(), interface_name())
134 ON_CALL(*connection_.get(), dns_servers())
140 connection_,
243 EXPECT_EQ(connection_.get(), health_checker_->connection_.get());
317 scoped_refptr<NiceMock<MockConnection>> connection_; member in class:shill::ConnectionHealthCheckerTest
H A Dconnection_tester.h70 ConnectionRefPtr connection_; member in class:shill::ConnectionTester
H A Dconnection_tester_unittest.cc52 connection_(new StrictMock<MockConnection>(device_info_.get())),
54 new ConnectionTester(connection_.get(), &dispatcher_,
57 connection_, ConnectionTester::kTrialTimeoutSeconds)) {}
60 EXPECT_CALL(*connection_.get(), IsIPv6())
111 scoped_refptr<MockConnection> connection_; member in class:shill::ConnectionTesterTest
H A Dconnection_unittest.cc84 connection_(new Connection(
99 ReplaceSingletons(connection_);
123 connection_ = nullptr;
171 connection_->local_ = local;
225 ConnectionRefPtr connection_; member in class:shill::ConnectionTest
277 EXPECT_EQ(kTestDeviceInterfaceIndex0, connection_->interface_index_);
278 EXPECT_EQ(kTestDeviceName0, connection_->interface_name_);
279 EXPECT_FALSE(connection_->is_default());
280 EXPECT_FALSE(connection_->routing_request_count_);
306 connection_
[all...]
H A Dconnectivity_trial.h174 ConnectionRefPtr connection_; member in class:shill::ConnectivityTrial
H A Dconnectivity_trial_unittest.cc72 connection_(new StrictMock<MockConnection>(device_info_.get())),
74 connection_.get(), &dispatcher_, kTrialTimeout,
83 EXPECT_CALL(*connection_.get(), IsIPv6())
85 EXPECT_CALL(*connection_.get(), interface_name())
89 EXPECT_CALL(*connection_.get(), dns_servers())
125 http_request_ = new StrictMock<MockHTTPRequest>(connection_);
214 scoped_refptr<MockConnection> connection_; member in class:shill::ConnectivityTrialTest
H A Ddevice.h238 virtual const ConnectionRefPtr& connection() const { return connection_; }
845 ConnectionRefPtr connection_; member in class:shill::Device
H A Ddevice_unittest.cc219 device_->connection_ = connection;
1905 : connection_(new StrictMock<MockConnection>(&device_info_)),
1913 portal_detector_(new StrictMock<MockPortalDetector>(connection_)) {}
1918 SetConnection(connection_.get());
1954 scoped_refptr<MockConnection> connection_; member in class:shill::DevicePortalDetectionTest
2036 EXPECT_CALL(*connection_.get(), interface_name())
2038 EXPECT_CALL(*connection_.get(), IsIPv6())
2041 EXPECT_CALL(*connection_.get(), dns_servers())
2067 EXPECT_CALL(*connection_.get(), interface_name())
2069 EXPECT_CALL(*connection_
[all...]
H A Ddns_server_tester.h88 ConnectionRefPtr connection_; member in class:shill::DNSServerTester
H A Ddns_server_tester_unittest.cc65 connection_(new StrictMock<MockConnection>(device_info_.get())),
70 EXPECT_CALL(*connection_.get(), interface_name())
73 new DNSServerTester(connection_.get(),
110 scoped_refptr<MockConnection> connection_; member in class:shill::DNSServerTesterTest
H A Dhttp_proxy.h133 ConnectionRefPtr connection_; member in class:shill::HTTPProxy
H A Dhttp_proxy_unittest.cc118 connection_(new StrictMock<MockConnection>(device_info_.get())),
119 proxy_(connection_) {}
123 EXPECT_CALL(*connection_.get(), interface_name())
125 EXPECT_CALL(*connection_.get(), dns_servers())
207 EXPECT_EQ(proxy_.connection_.get(), connection_.get());
244 EXPECT_CALL(*connection_.get(), ReleaseRouting());
357 EXPECT_CALL(*connection_.get(), RequestRouting());
360 EXPECT_CALL(*connection_.get(), ReleaseRouting());
473 scoped_refptr<MockConnection> connection_; member in class:shill::HTTPProxyTest
[all...]
H A Dhttp_request.h120 ConnectionRefPtr connection_; member in class:shill::HTTPRequest
H A Dhttp_request_unittest.cc98 connection_(new StrictMock<MockConnection>(device_info_.get())) {}
126 EXPECT_CALL(*connection_.get(), IsIPv6())
128 EXPECT_CALL(*connection_.get(), interface_name())
130 EXPECT_CALL(*connection_.get(), dns_servers())
133 request_.reset(new HTTPRequest(connection_, &dispatcher_, &sockets_));
163 EXPECT_EQ(connection_.get(), request_->connection_.get());
194 EXPECT_CALL(*connection_.get(), ReleaseRouting());
255 EXPECT_CALL(*connection_.get(), RequestRouting());
258 EXPECT_CALL(*connection_
343 scoped_refptr<MockConnection> connection_; member in class:shill::HTTPRequestTest
[all...]
H A Dlink_monitor.h100 ConnectionRefPtr connection_; member in class:shill::LinkMonitor
H A Dlink_monitor_unittest.cc90 connection_(new StrictMock<MockConnection>(&device_info_)),
93 monitor_(connection_,
110 EXPECT_CALL(*connection_, technology())
152 scoped_refptr<MockConnection> connection_; member in class:shill::LinkMonitorTest
H A Dpassive_link_monitor.h77 ConnectionRefPtr connection_; member in class:shill::PassiveLinkMonitor
/system/connectivity/shill/cellular/
H A Dactive_passive_out_of_credits_detector_unittest.cc66 connection_(new NiceMock<MockConnection>(&device_info_)),
73 service_->connection_ = connection_;
76 ON_CALL(*connection_, interface_name())
78 ON_CALL(*connection_, dns_servers())
117 scoped_refptr<NiceMock<MockConnection>> connection_; member in class:shill::ActivePassiveOutOfCreditsDetectorTest
H A Dsubscription_state_out_of_credits_detector_unittest.cc56 connection_(new NiceMock<MockConnection>(&device_info_)),
63 service_->connection_ = connection_;
82 scoped_refptr<NiceMock<MockConnection>> connection_; member in class:shill::SubscriptionStateOutOfCreditsDetectorTest

Completed in 161 milliseconds

12