Home
last modified time | relevance | path

Searched refs:MockConnection (Results 1 – 20 of 20) sorted by relevance

/system/connectivity/shill/
Dmock_connection.cc23 MockConnection::MockConnection(const DeviceInfo* device_info) in MockConnection() function in shill::MockConnection
27 MockConnection::~MockConnection() {} in ~MockConnection()
Dmock_connection.h30 class MockConnection : public Connection {
32 explicit MockConnection(const DeviceInfo* device_info);
33 ~MockConnection() override;
59 DISALLOW_COPY_AND_ASSIGN(MockConnection);
Dconnection_tester_unittest.cc52 connection_(new StrictMock<MockConnection>(device_info_.get())), in ConnectionTesterTest()
111 scoped_refptr<MockConnection> connection_;
Ddns_server_tester_unittest.cc65 connection_(new StrictMock<MockConnection>(device_info_.get())), in DNSServerTesterTest()
110 scoped_refptr<MockConnection> connection_;
Dpassive_link_monitor_unittest.cc84 connection_(new StrictMock<MockConnection>(&device_info_)), in PassiveLinkMonitorTest()
139 scoped_refptr<MockConnection> connection_;
Ddevice_unittest.cc732 scoped_refptr<MockConnection> connection( in TEST_F()
733 new StrictMock<MockConnection>(&device_info_)); in TEST_F()
764 scoped_refptr<MockConnection> connection( in TEST_F()
765 new StrictMock<MockConnection>(&device_info_)); in TEST_F()
1093 scoped_refptr<MockConnection> connection( in TEST_F()
1094 new StrictMock<MockConnection>(&device_info_)); in TEST_F()
1143 scoped_refptr<MockConnection> connection( in TEST_F()
1144 new StrictMock<MockConnection>(&device_info_)); in TEST_F()
1168 scoped_refptr<MockConnection> connection( in TEST_F()
1169 new StrictMock<MockConnection>(&device_info_)); in TEST_F()
[all …]
Dlink_monitor_unittest.cc90 connection_(new StrictMock<MockConnection>(&device_info_)), in LinkMonitorTest()
152 scoped_refptr<MockConnection> connection_;
Dconnection_health_checker_unittest.cc86 connection_(new NiceMock<MockConnection>(&device_info_)), in ConnectionHealthCheckerTest()
317 scoped_refptr<NiceMock<MockConnection>> connection_;
335 scoped_refptr<NiceMock<MockConnection>> new_connection = in TEST_F()
336 new NiceMock<MockConnection>(&device_info_); in TEST_F()
Dportal_detector_unittest.cc74 connection_(new StrictMock<MockConnection>(device_info_.get())), in PortalDetectorTest()
172 scoped_refptr<MockConnection> connection_;
Dconnectivity_trial_unittest.cc72 connection_(new StrictMock<MockConnection>(device_info_.get())), in ConnectivityTrialTest()
214 scoped_refptr<MockConnection> connection_;
Dhttp_request_unittest.cc98 connection_(new StrictMock<MockConnection>(device_info_.get())) {} in HTTPRequestTest()
343 scoped_refptr<MockConnection> connection_;
Dactive_link_monitor_unittest.cc135 connection_(new StrictMock<MockConnection>(&device_info_)), in ActiveLinkMonitorTest()
356 scoped_refptr<MockConnection> connection_;
Dconnection_unittest.cc404 scoped_refptr<MockConnection> mock_connection( in TEST_F()
405 new MockConnection(device_info_.get())); in TEST_F()
1118 scoped_refptr<MockConnection> mock_connection( in TEST_F()
1119 new StrictMock<MockConnection>(device_info_.get())); in TEST_F()
Dhttp_proxy_unittest.cc118 connection_(new StrictMock<MockConnection>(device_info_.get())), in HTTPProxyTest()
473 scoped_refptr<MockConnection> connection_;
Dservice_unittest.cc1374 scoped_refptr<MockConnection> mock_connection0( in TEST_F()
1375 new NiceMock<MockConnection>(mock_device_info.get())); in TEST_F()
1376 scoped_refptr<MockConnection> mock_connection1( in TEST_F()
1377 new NiceMock<MockConnection>(mock_device_info.get())); in TEST_F()
1565 scoped_refptr<MockConnection> mock_connection( in TEST_F()
1566 new NiceMock<MockConnection>(mock_device_info.get())); in TEST_F()
Dmanager_unittest.cc2561 scoped_refptr<MockConnection> mock_connection0( in TEST_F()
2562 new NiceMock<MockConnection>(device_info_.get())); in TEST_F()
2563 scoped_refptr<MockConnection> mock_connection1( in TEST_F()
2564 new NiceMock<MockConnection>(device_info_.get())); in TEST_F()
3350 scoped_refptr<MockConnection> mock_connection( in TEST_F()
3351 new NiceMock<MockConnection>(device_info_.get())); in TEST_F()
3518 scoped_refptr<MockConnection> mock_connection( in TEST_F()
3519 new NiceMock<MockConnection>(device_info_.get())); in TEST_F()
4715 vector<scoped_refptr<MockConnection>> mock_connections; in TEST_F()
4734 new NiceMock<MockConnection>(device_info_.get())); in TEST_F()
Dconnection_diagnostics_unittest.cc152 connection_(new NiceMock<MockConnection>(&device_info_)), in ConnectionDiagnosticsTest()
826 scoped_refptr<NiceMock<MockConnection>> connection_;
/system/connectivity/shill/cellular/
Dsubscription_state_out_of_credits_detector_unittest.cc56 connection_(new NiceMock<MockConnection>(&device_info_)), in SubscriptionStateOutOfCreditsDetectorTest()
82 scoped_refptr<NiceMock<MockConnection>> connection_;
Dactive_passive_out_of_credits_detector_unittest.cc66 connection_(new NiceMock<MockConnection>(&device_info_)), in ActivePassiveOutOfCreditsDetectorTest()
117 scoped_refptr<NiceMock<MockConnection>> connection_;
/system/connectivity/shill/vpn/
Dvpn_service_unittest.cc60 connection_(new NiceMock<MockConnection>(&device_info_)), in VPNServiceTest()
126 scoped_refptr<NiceMock<MockConnection>> connection_;
378 scoped_refptr<NiceMock<MockConnection>> lower_connection_ = in TEST_F()
379 new NiceMock<MockConnection>(&device_info_); in TEST_F()
424 scoped_refptr<NiceMock<MockConnection>> lower_connection_ = in TEST_F()
425 new NiceMock<MockConnection>(&device_info_); in TEST_F()