Home
last modified time | relevance | path

Searched refs:MockService (Results 1 – 12 of 12) sorted by relevance

/system/connectivity/apmanager/
Dmock_service.cc21 MockService::MockService() : Service(nullptr, 0) {} in MockService() function in apmanager::MockService
23 MockService::~MockService() {} in ~MockService()
Dmock_service.h27 class MockService : public Service {
29 MockService();
30 ~MockService() override;
33 DISALLOW_COPY_AND_ASSIGN(MockService);
/system/connectivity/shill/
Dmock_service.cc40 MockService::MockService(ControlInterface* control_interface, in MockService() function in shill::MockService
56 MockService::~MockService() {} in ~MockService()
58 bool MockService::FauxSave(StoreInterface* store) { in FauxSave()
Dmock_service.h32 class MockService : public Service {
35 MockService(ControlInterface* control_interface,
39 ~MockService() override;
104 DISALLOW_COPY_AND_ASSIGN(MockService);
Dprofile_unittest.cc63 MockService* CreateMockService() { in CreateMockService()
64 return new StrictMock<MockService>(control_interface(), in CreateMockService()
235 scoped_refptr<MockService> service1(CreateMockService()); in TEST_F()
236 scoped_refptr<MockService> service2(CreateMockService()); in TEST_F()
239 .WillRepeatedly(Invoke(service1.get(), &MockService::FauxSave)); in TEST_F()
241 .WillRepeatedly(Invoke(service2.get(), &MockService::FauxSave)); in TEST_F()
294 scoped_refptr<MockService> service1(CreateMockService()); in TEST_F()
295 scoped_refptr<MockService> service2(CreateMockService()); in TEST_F()
306 scoped_refptr<MockService> service1(CreateMockService()); in TEST_F()
307 scoped_refptr<MockService> service2(CreateMockService()); in TEST_F()
[all …]
Dmanager_unittest.cc357 typedef scoped_refptr<MockService> MockServiceRefPtr;
473 MockServiceRefPtr service = new NiceMock<MockService>(control_interface(), in MakeAutoConnectableService()
655 scoped_refptr<MockService> mock_service( in TEST_F()
656 new NiceMock<MockService>(control_interface(), in TEST_F()
660 scoped_refptr<MockService> mock_service2( in TEST_F()
661 new NiceMock<MockService>(control_interface(), in TEST_F()
742 scoped_refptr<MockService> mock_service2( in TEST_F()
743 new NiceMock<MockService>(control_interface(), in TEST_F()
762 MockServiceRefPtr service = new NiceMock<MockService>(control_interface(), in TEST_F()
832 scoped_refptr<MockService> s2(new MockService(control_interface(), in TEST_F()
[all …]
Ddevice_unittest.cc386 scoped_refptr<MockService> service( in TEST_F()
387 new NiceMock<MockService>(control_interface(), in TEST_F()
603 scoped_refptr<MockService> service( in TEST_F()
604 new StrictMock<MockService>(control_interface(), in TEST_F()
632 scoped_refptr<MockService> service( in TEST_F()
633 new StrictMock<MockService>(control_interface(), in TEST_F()
681 scoped_refptr<MockService> service( in TEST_F()
682 new StrictMock<MockService>(control_interface(), in TEST_F()
704 scoped_refptr<MockService> service( in TEST_F()
705 new StrictMock<MockService>(control_interface(), in TEST_F()
[all …]
Ddefault_profile_unittest.cc368 scoped_refptr<MockService> unknown_service(new MockService( in TEST_F()
377 scoped_refptr<MockService> ethernet_service(new MockService( in TEST_F()
Dmetrics_unittest.cc90 service_(new MockService(&control_interface_, in MetricsTest()
143 scoped_refptr<MockService> service_;
332 scoped_refptr<MockService> wifi_service = in TEST_F()
333 new MockService(&control_interface_, &dispatcher_, &metrics_, &manager_); in TEST_F()
Dservice_unittest.cc2137 vector<scoped_refptr<MockService>> mock_services; in TEST_F()
2140 new NiceMock<MockService>(control_interface(), in TEST_F()
2145 scoped_refptr<MockService> service2 = mock_services[2]; in TEST_F()
2146 scoped_refptr<MockService> service10 = mock_services[10]; in TEST_F()
/system/connectivity/shill/ethernet/
Dethernet_unittest.cc87 mock_eap_service_(new MockService(&control_interface_, in EthernetTest()
226 scoped_refptr<MockService> mock_eap_service_;
/system/connectivity/shill/vpn/
Dopenvpn_driver_unittest.cc1397 scoped_refptr<MockService> mock_service( in TEST_F()
1398 new MockService(&control_, &dispatcher_, &metrics_, &manager_)); in TEST_F()