HomeSort by relevance Sort by last modified time
    Searched refs:MockService (Results 1 - 21 of 21) sorted by null

  /system/connectivity/apmanager/
mock_service.cc 21 MockService::MockService() : Service(nullptr, 0) {}
23 MockService::~MockService() {}
mock_service.h 27 class MockService : public Service {
29 MockService();
30 ~MockService() override;
33 DISALLOW_COPY_AND_ASSIGN(MockService);
  /cts/tests/tests/content/src/android/content/cts/
MockService.java 24 public class MockService extends Service {
29 MockService getService() {
30 return MockService.this;
BroadcastReceiverTest.java 102 Intent serviceIntent = new Intent(context, MockService.class);
278 Intent intent = new Intent(activity, MockService.class);
  /system/connectivity/shill/
mock_service.cc 40 MockService::MockService(ControlInterface* control_interface,
56 MockService::~MockService() {}
58 bool MockService::FauxSave(StoreInterface* store) {
mock_service.h 32 class MockService : public Service {
35 MockService(ControlInterface* control_interface,
39 ~MockService() override;
104 DISALLOW_COPY_AND_ASSIGN(MockService);
profile_unittest.cc 63 MockService* CreateMockService() {
64 return new StrictMock<MockService>(control_interface(),
235 scoped_refptr<MockService> service1(CreateMockService());
236 scoped_refptr<MockService> service2(CreateMockService());
239 .WillRepeatedly(Invoke(service1.get(), &MockService::FauxSave));
241 .WillRepeatedly(Invoke(service2.get(), &MockService::FauxSave));
294 scoped_refptr<MockService> service1(CreateMockService());
295 scoped_refptr<MockService> service2(CreateMockService());
306 scoped_refptr<MockService> service1(CreateMockService());
307 scoped_refptr<MockService> service2(CreateMockService())
    [all...]
manager_unittest.cc 357 typedef scoped_refptr<MockService> MockServiceRefPtr;
473 MockServiceRefPtr service = new NiceMock<MockService>(control_interface(),
655 scoped_refptr<MockService> mock_service(
656 new NiceMock<MockService>(control_interface(),
660 scoped_refptr<MockService> mock_service2(
661 new NiceMock<MockService>(control_interface(),
742 scoped_refptr<MockService> mock_service2(
743 new NiceMock<MockService>(control_interface(),
762 MockServiceRefPtr service = new NiceMock<MockService>(control_interface(),
832 scoped_refptr<MockService> s2(new MockService(control_interface()
    [all...]
device_unittest.cc 386 scoped_refptr<MockService> service(
387 new NiceMock<MockService>(control_interface(),
603 scoped_refptr<MockService> service(
604 new StrictMock<MockService>(control_interface(),
632 scoped_refptr<MockService> service(
633 new StrictMock<MockService>(control_interface(),
681 scoped_refptr<MockService> service(
682 new StrictMock<MockService>(control_interface(),
704 scoped_refptr<MockService> service(
705 new StrictMock<MockService>(control_interface()
    [all...]
default_profile_unittest.cc 368 scoped_refptr<MockService> unknown_service(new MockService(
377 scoped_refptr<MockService> ethernet_service(new MockService(
metrics_unittest.cc 90 service_(new MockService(&control_interface_,
143 scoped_refptr<MockService> service_;
332 scoped_refptr<MockService> wifi_service =
333 new MockService(&control_interface_, &dispatcher_, &metrics_, &manager_);
    [all...]
service_unittest.cc     [all...]
  /external/guice/core/test/com/google/inject/example/
ClientServiceWithDependencyInjection.java 73 MockService mock = new MockService();
79 public static class MockService implements Service {
ClientServiceWithFactories.java 64 final MockService mock = new MockService();
75 public static class MockService implements Service {
ClientServiceWithGuice.java 66 MockService mock = new MockService();
72 public static class MockService implements Service {
ClientServiceWithGuiceDefaults.java 62 MockService mock = new MockService();
68 public static class MockService implements Service {
  /cts/tests/app/app/src/android/app/stubs/
MockService.java 26 public class MockService extends Service {
38 MockService getService() {
39 return MockService.this;
127 intent.setClass(context, MockService.class);
  /cts/tests/app/src/android/app/cts/
PendingIntentTest.java 22 import android.app.stubs.MockService;
200 MockService.prepareStart();
202 mIntent.setClass(mContext, MockService.class);
208 MockService.waitForStart(WAIT_TIME);
209 assertTrue(MockService.result);
224 MockService.prepareStart();
227 mIntent.setClass(mContext, MockService.class);
233 MockService.waitForStart(WAIT_TIME);
235 assertTrue(MockService.result);
241 MockService.prepareStart()
    [all...]
ActivityManagerTest.java 32 import android.app.stubs.MockService;
48 private static final String SERVICE_NAME = "android.app.stubs.MockService";
292 intent.setClass(mInstrumentation.getTargetContext(), MockService.class);
293 intent.putExtra(MockService.EXTRA_NO_STOP, true);
295 MockService.waitForStart(WAIT_TIME);
306 MockService.prepareDestroy();
308 boolean destroyed = MockService.waitForDestroy(WAIT_TIME);
  /system/connectivity/shill/ethernet/
ethernet_unittest.cc 87 mock_eap_service_(new MockService(&control_interface_,
226 scoped_refptr<MockService> mock_eap_service_;
  /system/connectivity/shill/vpn/
openvpn_driver_unittest.cc     [all...]

Completed in 5426 milliseconds