Searched refs:MockService (Results 1 – 12 of 12) sorted by relevance
/system/connectivity/apmanager/ |
D | mock_service.cc | 21 MockService::MockService() : Service(nullptr, 0) {} in MockService() function in apmanager::MockService 23 MockService::~MockService() {} in ~MockService()
|
D | mock_service.h | 27 class MockService : public Service { 29 MockService(); 30 ~MockService() override; 33 DISALLOW_COPY_AND_ASSIGN(MockService);
|
/system/connectivity/shill/ |
D | mock_service.cc | 40 MockService::MockService(ControlInterface* control_interface, in MockService() function in shill::MockService 56 MockService::~MockService() {} in ~MockService() 58 bool MockService::FauxSave(StoreInterface* store) { in FauxSave()
|
D | mock_service.h | 32 class MockService : public Service { 35 MockService(ControlInterface* control_interface, 39 ~MockService() override; 104 DISALLOW_COPY_AND_ASSIGN(MockService);
|
D | profile_unittest.cc | 63 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 …]
|
D | manager_unittest.cc | 357 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 …]
|
D | device_unittest.cc | 386 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 …]
|
D | default_profile_unittest.cc | 368 scoped_refptr<MockService> unknown_service(new MockService( in TEST_F() 377 scoped_refptr<MockService> ethernet_service(new MockService( in TEST_F()
|
D | metrics_unittest.cc | 90 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()
|
D | service_unittest.cc | 2137 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/ |
D | ethernet_unittest.cc | 87 mock_eap_service_(new MockService(&control_interface_, in EthernetTest() 226 scoped_refptr<MockService> mock_eap_service_;
|
/system/connectivity/shill/vpn/ |
D | openvpn_driver_unittest.cc | 1397 scoped_refptr<MockService> mock_service( in TEST_F() 1398 new MockService(&control_, &dispatcher_, &metrics_, &manager_)); in TEST_F()
|